Skip to content

Commit 0820d41

Browse files
committed
meta(changelog): Add changelog for v8.0.0-beta.0
1 parent dc5aafc commit 0820d41

File tree

1 file changed

+98
-0
lines changed

1 file changed

+98
-0
lines changed

CHANGELOG.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,104 @@
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+
### Important Changes
17+
18+
- **feat(browser): Create spans as children of root span by default (#10986)**
19+
20+
Because execution context isolation in browser environments does not work reliably, we deciced to keep a flat span
21+
hierarchy by default in v9.
22+
23+
- **feat(core): Deprecate `addTracingExtensions` (#11579)**
24+
25+
Instead of calling `Sentry.addTracingExtensions()` if you want to use performance in a browser SDK without using
26+
`browserTracingIntegration()`, you should now call `Sentry.registerSpanErrorInstrumentation()`.
27+
28+
- **feat(core): Implement `suppressTracing` (#11468)**
29+
30+
You can use the new `suppressTracing` API to ensure a given callback will not generate any spans:
31+
32+
```js
33+
return Sentry.suppressTracing(() => {
34+
// Ensure this fetch call does not generate a span
35+
return fetch('/my-url');
36+
});
37+
```
38+
39+
- **feat: Rename ESM loader hooks to `import` and `loader` (#11498)**
40+
41+
We renamed the loader hooks for better clarity:
42+
43+
```sh
44+
# For Node.js <= 18.18.2
45+
node --loader=@sentry/node/loader app.js
46+
47+
# For Node.js >= 18.19.0
48+
node --import=@sentry/node/import app.js
49+
```
50+
51+
- **feat(node): Do not exit process by default when other `onUncaughtException` handlers are registered in
52+
`onUncaughtExceptionIntegration` (#11532)**
53+
54+
In v8, we will no longer exit the node process by default if other uncaught exception handlers have been registered by
55+
the user.
56+
57+
- **Better handling of transaction name for errors**
58+
59+
We improved the way we keep the transaction name for error events, even when spans are not sampled or performance is
60+
disabled.
61+
62+
- feat(fastify): Update scope `transactionName` when handling request (#11447)
63+
- feat(hapi): Update scope `transactionName` when handling request (#11448)
64+
- feat(koa): Update scope `transactionName` when creating router span (#11476)
65+
- feat(sveltekit): Update scope transactionName when handling server-side request (#11511)
66+
- feat(nestjs): Update scope transaction name with parameterized route (#11510)
67+
68+
### Removal/Refactoring of deprecated functionality
69+
70+
- feat(core): Remove `getCurrentHub` from `AsyncContextStrategy` (#11581)
71+
- feat(core): Remove `getGlobalHub` export (#11565)
72+
- feat(core): Remove `Hub` class export (#11560)
73+
- feat(core): Remove most Hub class exports (#11536)
74+
- feat(nextjs): Remove webpack 4 support (#11605)
75+
- feat(vercel-edge): Stop using hub (#11539)
76+
77+
### Other Changes
78+
79+
- feat: Hoist `getCurrentHub` shim to core as `getCurrentHubShim` (#11537)
80+
- feat(core): Add default behaviour for `rewriteFramesIntegration` in browser (#11535)
81+
- feat(core): Ensure replay envelopes are sent in order when offline (#11413)
82+
- feat(core): Extract errors from props in unkown inputs (#11526)
83+
- feat(core): Update metric normalization (#11518)
84+
- feat(feedback): Customize feedback placeholder text color (#11417)
85+
- feat(feedback): Maintain v7 compat in the @sentry-internal/feedback package (#11461)
86+
- feat(next): Handle existing root spans for isolation scope (#11479)
87+
- feat(node): Ensure tracing without performance (TWP) works (#11564)
88+
- feat(opentelemetry): Export `getRequestSpanData` (#11508)
89+
- feat(opentelemetry): Remove otel.attributes in context (#11604)
90+
- feat(ratelimit): Add metrics rate limit (#11538)
91+
- feat(remix): Skip span creation for `OPTIONS` and `HEAD` requests. (#11149)
92+
- feat(replay): Merge packages together & ensure bundles are built (#11552)
93+
- feat(tracing): Adds span envelope and datacategory (#11534)
94+
- fix(browser): Ensure tracing without performance (TWP) works (#11561)
95+
- fix(nextjs): Fix `tunnelRoute` matching logic for hybrid cloud (#11576)
96+
- fix(nextjs): Remove Http integration from Next.js (#11304)
97+
- fix(node): Ensure isolation scope is correctly cloned for non-recording spans (#11503)
98+
- fix(node): Make fastify types more broad (#11544)
99+
- fix(node): Send ANR events without scope if event loop blocked indefinitely (#11578)
100+
- fix(tracing): Fixes latest route name and source not updating correctly (#11533)
101+
- ref(browser): Move browserTracing into browser pkg (#11484)
102+
- ref(feedback): Configure font size (#11437)
103+
- ref(feedback): Refactor Feedback types into @sentry/types and reduce the exported surface area (#11355)
104+
7105
## 8.0.0-alpha.9
8106

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

0 commit comments

Comments
 (0)