Skip to content

Commit fd728be

Browse files
Merge pull request #9971 from getsentry/master
[Gitflow] Merge master into develop
2 parents cf412d9 + 2597e37 commit fd728be

File tree

43 files changed

+224
-162
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+224
-162
lines changed

CHANGELOG.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,68 @@
44

55
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
66

7+
## 7.91.0
8+
9+
### Important Changes
10+
11+
- **feat: Add server runtime metrics aggregator (#9894)**
12+
13+
The release adds alpha support for [Sentry developer metrics](https://github.com/getsentry/sentry/discussions/58584) in the server runtime SDKs (`@sentry/node`, `@sentry/deno`, `@sentry/nextjs` server-side, etc.). Via the newly introduced APIs, you can now flush metrics directly to Sentry.
14+
15+
To enable capturing metrics, you first need to add the `metricsAggregator` experiment to your `Sentry.init` call.
16+
17+
```js
18+
Sentry.init({
19+
dsn: '__DSN__',
20+
_experiments: {
21+
metricsAggregator: true,
22+
},
23+
});
24+
```
25+
26+
Then you'll be able to add `counters`, `sets`, `distributions`, and `gauges` under the `Sentry.metrics` namespace.
27+
28+
```js
29+
// Add 4 to a counter named `hits`
30+
Sentry.metrics.increment('hits', 4);
31+
32+
// Add 2 to gauge named `parallel_requests`, tagged with `type: "a"`
33+
Sentry.metrics.gauge('parallel_requests', 2, { tags: { type: 'a' } });
34+
35+
// Add 4.6 to a distribution named `response_time` with unit seconds
36+
Sentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' });
37+
38+
// Add 2 to a set named `valuable.ids`
39+
Sentry.metrics.set('valuable.ids', 2);
40+
```
41+
42+
- **feat(node): Rework ANR to use worker script via an integration (#9945)**
43+
44+
The [ANR tracking integration for Node](https://docs.sentry.io/platforms/node/configuration/application-not-responding/) has been reworked to use an integration. ANR tracking now requires a minimum Node version of 16 or higher. Previously you had to call `Sentry.enableANRDetection` before running your application, now you can simply add the `Anr` integration to your `Sentry.init` call.
45+
46+
```js
47+
import * as Sentry from '@sentry/node';
48+
49+
Sentry.init({
50+
dsn: 'https://[email protected]/1337',
51+
integrations: [new Sentry.Integrations.Anr({ captureStackTrace: true, anrThreshold: 200 })],
52+
});
53+
```
54+
55+
### Other Changes
56+
57+
- feat(breadcrumbs): Send component names on UI breadcrumbs (#9946)
58+
- feat(core): Add `getGlobalScope()` method (#9920)
59+
- feat(core): Add `getIsolationScope()` method (#9957)
60+
- feat(core): Add `span.end()` to replace `span.finish()` (#9954)
61+
- feat(core): Ensure `startSpan` & `startSpanManual` fork scope (#9955)
62+
- feat(react): Send component name on spans (#9949)
63+
- feat(replay): Send component names in replay breadcrumbs (#9947)
64+
- feat(sveltekit): Add options to configure fetch instrumentation script for CSP (#9969)
65+
- feat(tracing): Send component name on interaction spans (#9948)
66+
- feat(utils): Add function to extract relevant component name (#9921)
67+
- fix(core): Rethrow caught promise rejections in `startSpan`, `startSpanManual`, `trace` (#9958)
68+
769
## 7.90.0
870

971
- feat(replay): Change to use preset quality values (#9903)

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"npmClient": "yarn"
55
}

packages/angular-ivy/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/angular-ivy",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"description": "Official Sentry SDK for Angular with full Ivy Support",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/angular-ivy",
@@ -21,9 +21,9 @@
2121
"rxjs": "^6.5.5 || ^7.x"
2222
},
2323
"dependencies": {
24-
"@sentry/browser": "7.90.0",
25-
"@sentry/types": "7.90.0",
26-
"@sentry/utils": "7.90.0",
24+
"@sentry/browser": "7.91.0",
25+
"@sentry/types": "7.91.0",
26+
"@sentry/utils": "7.91.0",
2727
"tslib": "^2.4.1"
2828
},
2929
"devDependencies": {

packages/angular/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/angular",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"description": "Official Sentry SDK for Angular",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/angular",
@@ -21,9 +21,9 @@
2121
"rxjs": "^6.5.5 || ^7.x"
2222
},
2323
"dependencies": {
24-
"@sentry/browser": "7.90.0",
25-
"@sentry/types": "7.90.0",
26-
"@sentry/utils": "7.90.0",
24+
"@sentry/browser": "7.91.0",
25+
"@sentry/types": "7.91.0",
26+
"@sentry/utils": "7.91.0",
2727
"tslib": "^2.4.1"
2828
},
2929
"devDependencies": {

packages/astro/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/astro",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"description": "Official Sentry SDK for Astro",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/astro",
@@ -43,11 +43,11 @@
4343
"astro": ">=3.x || >=4.0.0-beta"
4444
},
4545
"dependencies": {
46-
"@sentry/browser": "7.90.0",
47-
"@sentry/core": "7.90.0",
48-
"@sentry/node": "7.90.0",
49-
"@sentry/types": "7.90.0",
50-
"@sentry/utils": "7.90.0",
46+
"@sentry/browser": "7.91.0",
47+
"@sentry/core": "7.91.0",
48+
"@sentry/node": "7.91.0",
49+
"@sentry/types": "7.91.0",
50+
"@sentry/utils": "7.91.0",
5151
"@sentry/vite-plugin": "^2.8.0"
5252
},
5353
"devDependencies": {

packages/browser-integration-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/browser-integration-tests",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {

packages/browser/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/browser",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"description": "Official Sentry SDK for browsers",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/browser",
@@ -23,15 +23,15 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"@sentry-internal/feedback": "7.90.0",
27-
"@sentry-internal/tracing": "7.90.0",
28-
"@sentry/core": "7.90.0",
29-
"@sentry/replay": "7.90.0",
30-
"@sentry/types": "7.90.0",
31-
"@sentry/utils": "7.90.0"
26+
"@sentry-internal/feedback": "7.91.0",
27+
"@sentry-internal/tracing": "7.91.0",
28+
"@sentry/core": "7.91.0",
29+
"@sentry/replay": "7.91.0",
30+
"@sentry/types": "7.91.0",
31+
"@sentry/utils": "7.91.0"
3232
},
3333
"devDependencies": {
34-
"@sentry-internal/integration-shims": "7.90.0",
34+
"@sentry-internal/integration-shims": "7.91.0",
3535
"@types/md5": "2.1.33",
3636
"btoa": "^1.2.1",
3737
"chai": "^4.1.2",

packages/bun/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/bun",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"description": "Official Sentry SDK for bun",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/bun",
@@ -23,10 +23,10 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"@sentry/core": "7.90.0",
27-
"@sentry/node": "7.90.0",
28-
"@sentry/types": "7.90.0",
29-
"@sentry/utils": "7.90.0"
26+
"@sentry/core": "7.91.0",
27+
"@sentry/node": "7.91.0",
28+
"@sentry/types": "7.91.0",
29+
"@sentry/utils": "7.91.0"
3030
},
3131
"devDependencies": {
3232
"bun-types": "latest"

packages/core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/core",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"description": "Base implementation for all Sentry JavaScript SDKs",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/core",
@@ -23,8 +23,8 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"@sentry/types": "7.90.0",
27-
"@sentry/utils": "7.90.0"
26+
"@sentry/types": "7.91.0",
27+
"@sentry/utils": "7.91.0"
2828
},
2929
"scripts": {
3030
"build": "run-p build:transpile build:types",

packages/core/src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = '7.90.0';
1+
export const SDK_VERSION = '7.91.0';

0 commit comments

Comments
 (0)