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';

packages/deno/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/deno",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"description": "Official Sentry SDK for Deno",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/deno",
@@ -17,10 +17,10 @@
1717
"index.d.ts"
1818
],
1919
"dependencies": {
20-
"@sentry/browser": "7.90.0",
21-
"@sentry/core": "7.90.0",
22-
"@sentry/types": "7.90.0",
23-
"@sentry/utils": "7.90.0"
20+
"@sentry/browser": "7.91.0",
21+
"@sentry/core": "7.91.0",
22+
"@sentry/types": "7.91.0",
23+
"@sentry/utils": "7.91.0"
2424
},
2525
"devDependencies": {
2626
"@rollup/plugin-typescript": "^11.1.5",

packages/e2e-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/e2e-tests",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"license": "MIT",
55
"private": true,
66
"scripts": {

packages/ember/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/ember",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"description": "Official Sentry SDK for Ember.js",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/ember",
@@ -32,9 +32,9 @@
3232
},
3333
"dependencies": {
3434
"@embroider/macros": "^1.9.0",
35-
"@sentry/browser": "7.90.0",
36-
"@sentry/types": "7.90.0",
37-
"@sentry/utils": "7.90.0",
35+
"@sentry/browser": "7.91.0",
36+
"@sentry/types": "7.91.0",
37+
"@sentry/utils": "7.91.0",
3838
"ember-auto-import": "^1.12.1 || ^2.4.3",
3939
"ember-cli-babel": "^7.26.11",
4040
"ember-cli-htmlbars": "^6.1.1",

packages/eslint-config-sdk/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/eslint-config-sdk",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"description": "Official Sentry SDK eslint config",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/eslint-config-sdk",
@@ -19,8 +19,8 @@
1919
"access": "public"
2020
},
2121
"dependencies": {
22-
"@sentry-internal/eslint-plugin-sdk": "7.90.0",
23-
"@sentry-internal/typescript": "7.90.0",
22+
"@sentry-internal/eslint-plugin-sdk": "7.91.0",
23+
"@sentry-internal/typescript": "7.91.0",
2424
"@typescript-eslint/eslint-plugin": "^5.48.0",
2525
"@typescript-eslint/parser": "^5.48.0",
2626
"eslint-config-prettier": "^6.11.0",

packages/eslint-plugin-sdk/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/eslint-plugin-sdk",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"description": "Official Sentry SDK eslint plugin",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/eslint-plugin-sdk",

packages/feedback/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/feedback",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"description": "Sentry SDK integration for user feedback",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/feedback",
@@ -23,9 +23,9 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"@sentry/core": "7.90.0",
27-
"@sentry/types": "7.90.0",
28-
"@sentry/utils": "7.90.0"
26+
"@sentry/core": "7.91.0",
27+
"@sentry/types": "7.91.0",
28+
"@sentry/utils": "7.91.0"
2929
},
3030
"scripts": {
3131
"build": "run-p build:transpile build:types build:bundle",

packages/gatsby/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/gatsby",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"description": "Official Sentry SDK for Gatsby.js",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/gatsby",
@@ -27,10 +27,10 @@
2727
"access": "public"
2828
},
2929
"dependencies": {
30-
"@sentry/core": "7.90.0",
31-
"@sentry/react": "7.90.0",
32-
"@sentry/types": "7.90.0",
33-
"@sentry/utils": "7.90.0",
30+
"@sentry/core": "7.91.0",
31+
"@sentry/react": "7.91.0",
32+
"@sentry/types": "7.91.0",
33+
"@sentry/utils": "7.91.0",
3434
"@sentry/webpack-plugin": "1.19.0"
3535
},
3636
"peerDependencies": {

packages/hub/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/hub",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"description": "Sentry hub which handles global state managment.",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/hub",
@@ -23,9 +23,9 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"@sentry/core": "7.90.0",
27-
"@sentry/types": "7.90.0",
28-
"@sentry/utils": "7.90.0"
26+
"@sentry/core": "7.91.0",
27+
"@sentry/types": "7.91.0",
28+
"@sentry/utils": "7.91.0"
2929
},
3030
"scripts": {
3131
"build": "run-p build:transpile build:types",

packages/integration-shims/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/integration-shims",
3-
"version": "7.90.0",
3+
"version": "7.91.0",
44
"description": "Shims for integrations in Sentry SDK.",
55
"main": "build/cjs/index.js",
66
"module": "build/esm/index.js",
@@ -39,8 +39,8 @@
3939
"url": "https://github.com/getsentry/sentry-javascript/issues"
4040
},
4141
"dependencies": {
42-
"@sentry/types": "7.90.0",
43-
"@sentry/utils": "7.90.0"
42+
"@sentry/types": "7.91.0",
43+
"@sentry/utils": "7.91.0"
4444
},
4545
"engines": {
4646
"node": ">=12"

0 commit comments

Comments
 (0)