Skip to content

Commit 2b3735a

Browse files
authored
Merge branch 'getsentry:develop' into feature/redux-state-attachment
2 parents 2172be8 + 3487fa3 commit 2b3735a

File tree

148 files changed

+1878
-678
lines changed

Some content is hidden

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

148 files changed

+1878
-678
lines changed

CHANGELOG.md

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

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

7+
## 7.67.0
8+
9+
### Important Changes
10+
11+
- **feat: Mark errors caught by the SDK as unhandled**
12+
- feat(browser): Mark errors caught from `TryCatch` integration as unhandled (#8890)
13+
- feat(integrations): Mark errors caught from `HttpClient` and `CaptureConsole` integrations as unhandled (#8891)
14+
- feat(nextjs): Mark errors caught from NextJS wrappers as unhandled (#8893)
15+
- feat(react): Mark errors captured from ErrorBoundary as unhandled (#8914)
16+
- feat(remix): Add debugid injection and map deletion to sourcemaps script (#8814)
17+
- feat(remix): Mark errors caught from Remix instrumentation as unhandled (#8894)
18+
- feat(serverless): Mark errors caught in Serverless handlers as unhandled (#8907)
19+
- feat(vue): Mark errors caught by Vue wrappers as unhandled (#8905)
20+
21+
This release fixes inconsistent behaviour of when our SDKs classify captured errors as unhandled.
22+
Previously, some of our instrumentations correctly set unhandled, while others set handled.
23+
Going forward, all errors caught automatically from our SDKs will be marked as unhandled.
24+
If you manually capture errors (e.g. by calling `Sentry.captureException`), your errors will continue to be reported as handled.
25+
26+
This change might lead to a decrease in reported crash-free sessions and consequently in your release health score.
27+
If you have concerns about this, feel free to open an issue.
28+
29+
### Other Changes
30+
31+
- feat(node-experimental): Implement new performance APIs (#8911)
32+
- feat(node-experimental): Sync OTEL context with Sentry AsyncContext (#8797)
33+
- feat(replay): Allow to configure `maxReplayDuration` (#8769)
34+
- fix(browser): Add replay and profiling options to `BrowserClientOptions` (#8921)
35+
- fix(browser): Check for existence of instrumentation targets (#8939)
36+
- fix(nextjs): Don't re-export default in route handlers (#8924)
37+
- fix(node): Improve mysql integration (#8923)
38+
- fix(remix): Guard against missing default export for server instrument (#8909)
39+
- ref(browser): Deprecate top-level `wrap` function (#8927)
40+
- ref(node-otel): Avoid exporting internals & refactor attribute adding (#8920)
41+
42+
Work in this release contributed by @SorsOps. Thank you for your contribution!
43+
744
## 7.66.0
845

946
- fix: Defer tracing decision to downstream SDKs when using SDK without performance (#8839)

MIGRATION.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Deprecations in 7.x
22

3+
You can use [@sentry/migr8](https://www.npmjs.com/package/@sentry/migr8) to automatically update your SDK usage and fix most deprecations:
4+
5+
```bash
6+
npx @sentry/migr8@latest
7+
```
8+
9+
This will let you select which updates to run, and automatically update your code. Make sure to still review all code changes!
10+
311
## Deprecate `timestampWithMs` export - #7878
412

513
The `timestampWithMs` util is deprecated in favor of using `timestampInSeconds`.

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.66.0",
3+
"version": "7.67.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.66.0",
3+
"version": "7.67.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.66.0",
25-
"@sentry/types": "7.66.0",
26-
"@sentry/utils": "7.66.0",
24+
"@sentry/browser": "7.67.0",
25+
"@sentry/types": "7.67.0",
26+
"@sentry/utils": "7.67.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.66.0",
3+
"version": "7.67.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.66.0",
25-
"@sentry/types": "7.66.0",
26-
"@sentry/utils": "7.66.0",
24+
"@sentry/browser": "7.67.0",
25+
"@sentry/types": "7.67.0",
26+
"@sentry/utils": "7.67.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.66.0",
3+
"version": "7.67.0",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {

packages/browser-integration-tests/suites/integrations/httpclient/axios/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ sentryTest(
3838
value: 'HTTP Client Error with status code: 500',
3939
mechanism: {
4040
type: 'http.client',
41-
handled: true,
41+
handled: false,
4242
},
4343
},
4444
],

packages/browser-integration-tests/suites/integrations/httpclient/fetch/simple/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ sentryTest(
3838
value: 'HTTP Client Error with status code: 500',
3939
mechanism: {
4040
type: 'http.client',
41-
handled: true,
41+
handled: false,
4242
},
4343
},
4444
],

packages/browser-integration-tests/suites/integrations/httpclient/fetch/withRequest/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ sentryTest('works with a Request passed in', async ({ getLocalTestPath, page })
3636
value: 'HTTP Client Error with status code: 500',
3737
mechanism: {
3838
type: 'http.client',
39-
handled: true,
39+
handled: false,
4040
},
4141
},
4242
],

packages/browser-integration-tests/suites/integrations/httpclient/fetch/withRequestAndBodyAndOptions/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ sentryTest(
3838
value: 'HTTP Client Error with status code: 500',
3939
mechanism: {
4040
type: 'http.client',
41-
handled: true,
41+
handled: false,
4242
},
4343
},
4444
],

0 commit comments

Comments
 (0)