Skip to content

Commit 087819c

Browse files
Merge pull request #8419 from getsentry/master
[Gitflow] Merge master into develop
2 parents c89c54a + 3f7bacf commit 087819c

File tree

35 files changed

+281
-142
lines changed

35 files changed

+281
-142
lines changed

CHANGELOG.md

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

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

7+
## 7.57.0
8+
9+
### Important Changes
10+
11+
- **build: Update typescript from 3.8.3 to 4.9.5 (#8255)**
12+
13+
This release version [bumps the internally used typescript version from 3.8.x to 4.9.x](https://github.com/getsentry/sentry-javascript/pull/8255).
14+
We use ds-downlevel to generate two versions of our types, one for >=3.8, one for >=4.9.
15+
This means that this change should be fully backwards compatible and not have any noticable user impact,
16+
but if you still encounter issues please let us know.
17+
18+
- **feat(types): Add tracePropagationTargets to top level options (#8395)**
19+
20+
Instead of passing `tracePropagationTargets` to the `BrowserTracing` integration, you can now define them on the top level:
21+
22+
```js
23+
Sentry.init({
24+
tracePropagationTargets: ['api.site.com'],
25+
});
26+
```
27+
28+
- **fix(angular): Filter out `TryCatch` integration by default (#8367)**
29+
30+
The Angular and Angular-ivy SDKs will not install the TryCatch integration anymore by default.
31+
This integration conflicted with the `SentryErrorHander`, sometimes leading to duplicated errors and/or missing data on events.
32+
33+
- **feat(browser): Better event name handling for non-Error objects (#8374)**
34+
35+
When capturing non-errors via `Sentry.captureException()`, e.g. `Sentry.captureException({ prop: "custom object" })`,
36+
we now generate a more helpful value for the synthetic exception. Instead of e.g. `Non-Error exception captured with keys: currentTarget, isTrusted, target, type`, you'll now get messages like:
37+
38+
```
39+
Object captured as exception with keys: prop1, prop2
40+
Event `MouseEvent` (type=click) captured as exception
41+
Event `ErrorEvent` captured as exception with message `Script error.`
42+
```
43+
44+
### Other Changes
45+
46+
- feat(browser): Send profiles in same envelope as transactions (#8375)
47+
- feat(profiling): Collect timings on profiler stop calls (#8409)
48+
- feat(replay): Do not capture replays < 5 seconds (GA) (#8277)
49+
- feat(tracing): Add experiment to capture http timings (#8371)
50+
- feat(tracing): Add `http.response.status_code` to `span.data` (#8366)
51+
- fix(angular): Stop routing spans on navigation cancel and error events (#8369)
52+
- fix(core): Only start spans in `trace` if tracing is enabled (#8357)
53+
- fix(nextjs): Inject init calls via loader instead of via entrypoints (#8368)
54+
- fix(replay): Mark ui.slowClickDetected `clickCount` as optional (#8376)
55+
- fix(serverless): Export `autoDiscoverNodePerformanceMonitoringIntegrations` from SDK (#8382)
56+
- fix(sveltekit): Check for cached requests in client-side fetch instrumentation (#8391)
57+
- fix(sveltekit): Only instrument SvelteKit `fetch` if the SDK client is valid (#8381)
58+
- fix(tracing): Instrument Prisma client in constructor of integration (#8383)
59+
- ref(replay): More graceful `sessionStorage` check (#8394)
60+
- ref(replay): Remove circular dep in replay eventBuffer (#8389)
61+
762
## 7.56.0
863

964
- feat(replay): Rework slow click & multi click detection (#8322)

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "7.56.0",
3+
"version": "7.57.0",
44
"npmClient": "yarn",
55
"useWorkspaces": true
66
}

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.56.0",
3+
"version": "7.57.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.56.0",
25-
"@sentry/types": "7.56.0",
26-
"@sentry/utils": "7.56.0",
24+
"@sentry/browser": "7.57.0",
25+
"@sentry/types": "7.57.0",
26+
"@sentry/utils": "7.57.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.56.0",
3+
"version": "7.57.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.56.0",
25-
"@sentry/types": "7.56.0",
26-
"@sentry/utils": "7.56.0",
24+
"@sentry/browser": "7.57.0",
25+
"@sentry/types": "7.57.0",
26+
"@sentry/utils": "7.57.0",
2727
"tslib": "^2.4.1"
2828
},
2929
"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.56.0",
3+
"version": "7.57.0",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {

packages/browser/package.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/browser",
3-
"version": "7.56.0",
3+
"version": "7.57.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",
@@ -13,21 +13,25 @@
1313
"module": "build/npm/esm/index.js",
1414
"types": "build/npm/types/index.d.ts",
1515
"typesVersions": {
16-
"<4.9": { "build/npm/types/index.d.ts": ["build/npm/types-ts3.8/index.d.ts"] }
16+
"<4.9": {
17+
"build/npm/types/index.d.ts": [
18+
"build/npm/types-ts3.8/index.d.ts"
19+
]
20+
}
1721
},
1822
"publishConfig": {
1923
"access": "public"
2024
},
2125
"dependencies": {
22-
"@sentry-internal/tracing": "7.56.0",
23-
"@sentry/core": "7.56.0",
24-
"@sentry/replay": "7.56.0",
25-
"@sentry/types": "7.56.0",
26-
"@sentry/utils": "7.56.0",
26+
"@sentry-internal/tracing": "7.57.0",
27+
"@sentry/core": "7.57.0",
28+
"@sentry/replay": "7.57.0",
29+
"@sentry/types": "7.57.0",
30+
"@sentry/utils": "7.57.0",
2731
"tslib": "^2.4.1 || ^1.9.3"
2832
},
2933
"devDependencies": {
30-
"@sentry-internal/integration-shims": "7.56.0",
34+
"@sentry-internal/integration-shims": "7.57.0",
3135
"@types/md5": "2.1.33",
3236
"btoa": "^1.2.1",
3337
"chai": "^4.1.2",

packages/core/package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/core",
3-
"version": "7.56.0",
3+
"version": "7.57.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",
@@ -13,14 +13,18 @@
1313
"module": "build/esm/index.js",
1414
"types": "build/types/index.d.ts",
1515
"typesVersions": {
16-
"<4.9": { "build/types/index.d.ts": ["build/types-ts3.8/index.d.ts"] }
16+
"<4.9": {
17+
"build/types/index.d.ts": [
18+
"build/types-ts3.8/index.d.ts"
19+
]
20+
}
1721
},
1822
"publishConfig": {
1923
"access": "public"
2024
},
2125
"dependencies": {
22-
"@sentry/types": "7.56.0",
23-
"@sentry/utils": "7.56.0",
26+
"@sentry/types": "7.57.0",
27+
"@sentry/utils": "7.57.0",
2428
"tslib": "^2.4.1 || ^1.9.3"
2529
},
2630
"scripts": {

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.56.0';
1+
export const SDK_VERSION = '7.57.0';

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.56.0",
3+
"version": "7.57.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=10"

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.56.0",
3+
"version": "7.57.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",
@@ -29,9 +29,9 @@
2929
},
3030
"dependencies": {
3131
"@embroider/macros": "^1.9.0",
32-
"@sentry/browser": "7.56.0",
33-
"@sentry/types": "7.56.0",
34-
"@sentry/utils": "7.56.0",
32+
"@sentry/browser": "7.57.0",
33+
"@sentry/types": "7.57.0",
34+
"@sentry/utils": "7.57.0",
3535
"ember-auto-import": "^1.12.1 || ^2.4.3",
3636
"ember-cli-babel": "^7.26.11",
3737
"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.56.0",
3+
"version": "7.57.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.56.0",
23-
"@sentry-internal/typescript": "7.56.0",
22+
"@sentry-internal/eslint-plugin-sdk": "7.57.0",
23+
"@sentry-internal/typescript": "7.57.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.56.0",
3+
"version": "7.57.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/gatsby/package.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/gatsby",
3-
"version": "7.56.0",
3+
"version": "7.57.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",
@@ -17,16 +17,20 @@
1717
"module": "build/esm/index.js",
1818
"types": "build/types/index.d.ts",
1919
"typesVersions": {
20-
"<4.9": { "build/types/index.d.ts": ["build/types-ts3.8/index.d.ts"] }
20+
"<4.9": {
21+
"build/types/index.d.ts": [
22+
"build/types-ts3.8/index.d.ts"
23+
]
24+
}
2125
},
2226
"publishConfig": {
2327
"access": "public"
2428
},
2529
"dependencies": {
26-
"@sentry/core": "7.56.0",
27-
"@sentry/react": "7.56.0",
28-
"@sentry/types": "7.56.0",
29-
"@sentry/utils": "7.56.0",
30+
"@sentry/core": "7.57.0",
31+
"@sentry/react": "7.57.0",
32+
"@sentry/types": "7.57.0",
33+
"@sentry/utils": "7.57.0",
3034
"@sentry/webpack-plugin": "1.19.0"
3135
},
3236
"peerDependencies": {

packages/hub/package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/hub",
3-
"version": "7.56.0",
3+
"version": "7.57.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",
@@ -13,15 +13,19 @@
1313
"module": "build/esm/index.js",
1414
"types": "build/types/index.d.ts",
1515
"typesVersions": {
16-
"<4.9": { "build/types/index.d.ts": ["build/types-ts3.8/index.d.ts"] }
16+
"<4.9": {
17+
"build/types/index.d.ts": [
18+
"build/types-ts3.8/index.d.ts"
19+
]
20+
}
1721
},
1822
"publishConfig": {
1923
"access": "public"
2024
},
2125
"dependencies": {
22-
"@sentry/core": "7.56.0",
23-
"@sentry/types": "7.56.0",
24-
"@sentry/utils": "7.56.0",
26+
"@sentry/core": "7.57.0",
27+
"@sentry/types": "7.57.0",
28+
"@sentry/utils": "7.57.0",
2529
"tslib": "^2.4.1 || ^1.9.3"
2630
},
2731
"scripts": {

packages/integration-shims/package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
{
22
"name": "@sentry-internal/integration-shims",
3-
"version": "7.56.0",
3+
"version": "7.57.0",
44
"description": "Shims for integrations in Sentry SDK.",
55
"main": "build/cjs/index.js",
66
"module": "build/esm/index.js",
77
"types": "build/types/index.d.ts",
88
"typesVersions": {
9-
"<4.9": { "build/types/index.d.ts": ["build/types-ts3.8/index.d.ts"] }
9+
"<4.9": {
10+
"build/types/index.d.ts": [
11+
"build/types-ts3.8/index.d.ts"
12+
]
13+
}
1014
},
1115
"sideEffects": false,
1216
"private": true,
@@ -39,7 +43,7 @@
3943
"url": "https://github.com/getsentry/sentry-javascript/issues"
4044
},
4145
"dependencies": {
42-
"@sentry/types": "7.56.0"
46+
"@sentry/types": "7.57.0"
4347
},
4448
"engines": {
4549
"node": ">=12"

packages/integrations/package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/integrations",
3-
"version": "7.56.0",
3+
"version": "7.57.0",
44
"description": "Pluggable integrations that can be used to enhance JS SDKs",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/integrations",
@@ -16,16 +16,20 @@
1616
"module": "build/npm/esm/index.js",
1717
"types": "build/npm/types/index.d.ts",
1818
"typesVersions": {
19-
"<4.9": { "build/npm/types/index.d.ts": ["build/npm/types-ts3.8/index.d.ts"] }
19+
"<4.9": {
20+
"build/npm/types/index.d.ts": [
21+
"build/npm/types-ts3.8/index.d.ts"
22+
]
23+
}
2024
},
2125
"dependencies": {
22-
"@sentry/types": "7.56.0",
23-
"@sentry/utils": "7.56.0",
26+
"@sentry/types": "7.57.0",
27+
"@sentry/utils": "7.57.0",
2428
"localforage": "^1.8.1",
2529
"tslib": "^2.4.1 || ^1.9.3"
2630
},
2731
"devDependencies": {
28-
"@sentry/browser": "7.56.0",
32+
"@sentry/browser": "7.57.0",
2933
"chai": "^4.1.2"
3034
},
3135
"scripts": {

0 commit comments

Comments
 (0)