66
77## 8.0.0-rc.0
88
9- This is the first release candidate of Sentry JavaScript SDK v8.
9+ This is the first release candidate of Sentry JavaScript SDK v8. Except for missing ESM support, this version is
10+ considered stable.
1011
11- We also recommend, reading the detailed
12- [ migration guide ] ( https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/ ) in the docs.
12+ We recommend to read the detailed [ migration guide ] ( https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/ ) in
13+ the docs.
1314
1415### Version Support
1516
@@ -21,87 +22,26 @@ The browser SDKs now require ES2018+ compatible browsers. New minimum browser ve
2122Chrome 63 Edge 79 Safari/iOS Safari 12 Firefox 58 Opera 50 Samsung Internet 8.2
2223
2324For more details, please see the
24- [ version support section in migration guide] ( https://github.com/getsentry/sentry-javascript/blob/8.0.0-beta.1 /MIGRATION.md#1-version-support-changes ) .
25+ [ version support section in migration guide] ( https://github.com/getsentry/sentry-javascript/blob/develop /MIGRATION.md#1-version-support-changes ) .
2526
2627### Important Changes
2728
28- - ** feat(svelte ): Add Svelte 5 support ( # 11807 )** :
29+ - ** feat(node ): Support hapi v21 & fix E2E test ( # 11906 )**
2930
30- We now officially support Svelte 5.
31-
32- - ** feat(node): Support Node 22 (#11871 )** :
33-
34- We now officially support Node 22.
35-
36- - ** fix(node): Fix nest.js error handler (#11874 )**
37-
38- Errors in Nest.js were sent to Sentry, but the application itself was not working as expected anymore. Now you'll have
39- to pass the Nest.js ` BaseExceptionFilter ` like this:
40-
41- ``` typescript
42- import { BaseExceptionFilter , HttpAdapterHost } from ' @nestjs/core' ;
43-
44- const { httpAdapter } = app .get (HttpAdapterHost );
45- Sentry .setupNestErrorHandler (app , new BaseExceptionFilter (httpAdapter ));
46- ```
47-
48- - ** feat(browser): Send standalone fetch and XHR spans if there's no active parent span (#11783 )**
49-
50- Starting with this version, spans for outgoing fetch/xhr requests will be captured even if no pageload/navigation span
51- is ongoing. This means that you will be able to have a more complete trace, especially for web applications that make a
52- lot of HTTP requests on longer-lived pages.
31+ We now support hapi v21 and added tests for it.
5332
54- - ** feat(browser): Add INP support for v8 (#11650 )**
55-
56- INP web vital support was now forward-ported to version 8. Recording of INP data is enabled by default.
57-
58- - ** feat(core): Increase default transport buffer size from 30 to 64 (#11764 )**
59-
60- The default limit of queued events to be sent was increased from 30 to 64 events. You may observe a higher memory
61- footprint of the SDK. You can override this limit by setting the ` transportOptions.bufferSize ` option in
62- ` Sentry.init() ` .
33+ - ** feat(node): Warn if ESM mode is detected (#11914 )**
6334
64- - ** feat(replay): Add "maxCanvasSize" option for replay canvases (#11617 )** :
65-
66- A ` maxCanvasSize ` option was added to the ` replayCanvasIntegration ` to disallow capturing of canvases larger than a
67- certain size. This value defaults to ` 1280 ` which will not capture canvases bigger than 1280x1280 pixels.
68-
69- - ** feat(opentelemetry): Add ` addOpenTelemetryInstrumentation ` (#11667 )**
70-
71- A utility function ` addOpenTelemetryInstrumentation ` was added that allows for the registration of instrumentations that
72- conform to the OpenTelemetry JS API without having to specify ` @opentelemetry/instrumentation ` as a dependency.
73-
74- - ** ref(core): Don't start transaction for trpc middleware (#11697 )**
75-
76- Going forward, the Sentry ` trpcMiddleware ` will only create spans. Previously it used to always create a transaction.
77- This change was made to integrate more nicely with the HTTP instrumentation added in earlier versions to avoid creating
78- unnecessary transactions.
79-
80- - ** feat(browser): Update ` propagationContext ` on ` spanEnd ` to keep trace consistent**
81-
82- To ensure consistency throughout a route's duration, we update the scope's propagation context when the initial page
83- load or navigation span ends. This keeps span-specific attributes like the sampled decision and dynamic sampling context
84- on the scope, even after the transaction has ended.
85-
86- - ** fix(browser): Don't assume window.document is available (#11602 )**
87-
88- We won't assume ` window.document ` is available in the browser SDKs anymore. This should prevent errors in environments
89- where ` window.document ` is not available (such as web workers).
90-
91- ### Package Removal
92-
93- The following packages will no longer be published:
94-
95- - [ @sentry/hub ] ( ./MIGRATION.md#sentryhub )
96- - [ @sentry/tracing ] ( ./MIGRATION.md#sentrytracing )
97- - [ @sentry/integrations ] ( ./MIGRATION.md#sentryintegrations )
98- - [ @sentry/serverless ] ( ./MIGRATION.md#sentryserverless )
99- - [ @sentry/replay ] ( ./MIGRATION.md#sentryreplay )
35+ When running Sentry in ESM mode, you will get a warning about that. Consider transpiling your application to CJS
36+ (CommonJS) in your production build.
10037
10138### Other Changes
10239
103- This release also includes numerous other features, fixes, and improvements. For a complete list, please refer to the
104- individual beta release notes.
40+ - dev: Upgrade to ` jsdom@21.1.2 ` (#11900 )
41+ - docs: fix typo in doc for ` reactRouterV6BrowserTracingIntegration ` (#11896 )
42+ - feat(feedback): Iterate on css for better scrolling & resizing when browser is small (#11893 )
43+ - fix(node): Ensure prisma integration creates valid DB spans (#11908 )
44+ - fix(node): Include loader hook files in package.json (#11911 )
10545
10646## 8.0.0-beta.6
10747
0 commit comments