Skip to content

Commit 409ca77

Browse files
mydeaLms24
authored andcommitted
meta(changelog): Add changelog for v8.0.0-beta.0
1 parent 3d34752 commit 409ca77

File tree

1 file changed

+127
-0
lines changed

1 file changed

+127
-0
lines changed

CHANGELOG.md

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

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

7+
## 8.0.0-beta.0
8+
9+
This is the first beta release of Sentry JavaScript SDK v8. With this release, there are no more planned breaking
10+
changes for the v8 cycle.
11+
12+
Read the [in-depth migration guide](./MIGRATION.md) to find out how to address any breaking changes in your code. All
13+
deprecations from the v7 cycle, with the exception of `getCurrentHub()`, have been removed and can no longer be used in
14+
v8.
15+
16+
### Version Support
17+
18+
The Sentry JavaScript SDK v8 now supports Node.js 14.8.0 or higher. This applies to `@sentry/node` and all of our
19+
node-based server-side sdks (`@sentry/nextjs`, `@sentry/remix`, etc.).
20+
21+
The browser SDKs now require
22+
[ES2018+](https://caniuse.com/?feats=mdn-javascript_builtins_regexp_dotall,js-regexp-lookbehind,mdn-javascript_builtins_regexp_named_capture_groups,mdn-javascript_builtins_regexp_property_escapes,mdn-javascript_builtins_symbol_asynciterator,mdn-javascript_functions_method_definitions_async_generator_methods,mdn-javascript_grammar_template_literals_template_literal_revision,mdn-javascript_operators_destructuring_rest_in_objects,mdn-javascript_operators_destructuring_rest_in_arrays,promise-finally)
23+
compatible browsers. New minimum browser versions:
24+
25+
- Chrome 63
26+
- Edge 79
27+
- Safari/iOS Safari 12
28+
- Firefox 58
29+
- Opera 50
30+
- Samsung Internet 8.2
31+
32+
For more details, please see the [version support section in migration guide](./MIGRATION.md#1-version-support-changes).
33+
34+
### Package removal
35+
36+
The following packages will no longer be published
37+
38+
- [@sentry/hub](./MIGRATION.md#sentryhub)
39+
- [@sentry/tracing](./MIGRATION.md#sentrytracing)
40+
- [@sentry/integrations](./MIGRATION.md#sentryintegrations)
41+
- [@sentry/serverless](./MIGRATION.md#sentryserverless)
42+
- [@sentry/replay](./MIGRATION.md#sentryreplay)
43+
44+
### Important Changes
45+
46+
- **feat(browser): Create spans as children of root span by default (#10986)**
47+
48+
Because execution context isolation in browser environments does not work reliably, we deciced to keep a flat span
49+
hierarchy by default in v8.
50+
51+
- **feat(core): Deprecate `addTracingExtensions` (#11579)**
52+
53+
Instead of calling `Sentry.addTracingExtensions()` if you want to use performance in a browser SDK without using
54+
`browserTracingIntegration()`, you should now call `Sentry.registerSpanErrorInstrumentation()`.
55+
56+
- **feat(core): Implement `suppressTracing` (#11468)**
57+
58+
You can use the new `suppressTracing` API to ensure a given callback will not generate any spans:
59+
60+
```js
61+
return Sentry.suppressTracing(() => {
62+
// Ensure this fetch call does not generate a span
63+
return fetch('/my-url');
64+
});
65+
```
66+
67+
- **feat: Rename ESM loader hooks to `import` and `loader` (#11498)**
68+
69+
We renamed the loader hooks for better clarity:
70+
71+
```sh
72+
# For Node.js <= 18.18.2
73+
node --loader=@sentry/node/loader app.js
74+
75+
# For Node.js >= 18.19.0
76+
node --import=@sentry/node/import app.js
77+
```
78+
79+
- **feat(node): Do not exit process by default when other `onUncaughtException` handlers are registered in
80+
`onUncaughtExceptionIntegration` (#11532)**
81+
82+
In v8, we will no longer exit the node process by default if other uncaught exception handlers have been registered by
83+
the user.
84+
85+
- **Better handling of transaction name for errors**
86+
87+
We improved the way we keep the transaction name for error events, even when spans are not sampled or performance is
88+
disabled.
89+
90+
- feat(fastify): Update scope `transactionName` when handling request (#11447)
91+
- feat(hapi): Update scope `transactionName` when handling request (#11448)
92+
- feat(koa): Update scope `transactionName` when creating router span (#11476)
93+
- feat(sveltekit): Update scope transactionName when handling server-side request (#11511)
94+
- feat(nestjs): Update scope transaction name with parameterized route (#11510)
95+
96+
### Removal/Refactoring of deprecated functionality
97+
98+
- feat(core): Remove `getCurrentHub` from `AsyncContextStrategy` (#11581)
99+
- feat(core): Remove `getGlobalHub` export (#11565)
100+
- feat(core): Remove `Hub` class export (#11560)
101+
- feat(core): Remove most Hub class exports (#11536)
102+
- feat(nextjs): Remove webpack 4 support (#11605)
103+
- feat(vercel-edge): Stop using hub (#11539)
104+
105+
### Other Changes
106+
107+
- feat: Hoist `getCurrentHub` shim to core as `getCurrentHubShim` (#11537)
108+
- feat(core): Add default behaviour for `rewriteFramesIntegration` in browser (#11535)
109+
- feat(core): Ensure replay envelopes are sent in order when offline (#11413)
110+
- feat(core): Extract errors from props in unkown inputs (#11526)
111+
- feat(core): Update metric normalization (#11518)
112+
- feat(feedback): Customize feedback placeholder text color (#11417)
113+
- feat(feedback): Maintain v7 compat in the @sentry-internal/feedback package (#11461)
114+
- feat(next): Handle existing root spans for isolation scope (#11479)
115+
- feat(node): Ensure tracing without performance (TWP) works (#11564)
116+
- feat(opentelemetry): Export `getRequestSpanData` (#11508)
117+
- feat(opentelemetry): Remove otel.attributes in context (#11604)
118+
- feat(ratelimit): Add metrics rate limit (#11538)
119+
- feat(remix): Skip span creation for `OPTIONS` and `HEAD` requests. (#11149)
120+
- feat(replay): Merge packages together & ensure bundles are built (#11552)
121+
- feat(tracing): Adds span envelope and datacategory (#11534)
122+
- fix(browser): Ensure pageload trace remains active after pageload span finished (#11600)
123+
- fix(browser): Ensure tracing without performance (TWP) works (#11561)
124+
- fix(nextjs): Fix `tunnelRoute` matching logic for hybrid cloud (#11576)
125+
- fix(nextjs): Remove Http integration from Next.js (#11304)
126+
- fix(node): Ensure isolation scope is correctly cloned for non-recording spans (#11503)
127+
- fix(node): Make fastify types more broad (#11544)
128+
- fix(node): Send ANR events without scope if event loop blocked indefinitely (#11578)
129+
- fix(tracing): Fixes latest route name and source not updating correctly (#11533)
130+
- ref(browser): Move browserTracing into browser pkg (#11484)
131+
- ref(feedback): Configure font size (#11437)
132+
- ref(feedback): Refactor Feedback types into @sentry/types and reduce the exported surface area (#11355)
133+
7134
## 8.0.0-alpha.9
8135

9136
This is the eighth alpha release of Sentry JavaScript SDK v8, which includes a variety of breaking changes.

0 commit comments

Comments
 (0)