Skip to content

Commit 673af4a

Browse files
committed
meta: Update changelog for 9.9.0
1 parent 0cf8ec2 commit 673af4a

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

CHANGELOG.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,63 @@
1010

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

13+
## 9.9.0
14+
15+
### Important Changes
16+
17+
- **feat(browser): Add `previous_trace` span links ([#15569](https://github.com/getsentry/sentry-javascript/pull/15569))**
18+
19+
The `@sentry/browser` SDK and SDKs based on `@sentry/browser` now emits a link from the first root span of a newly started trace to the root span of a previously started trace. You can control this feature via an option in `browserTracingIntegration()`:
20+
21+
```js
22+
Sentry.init({
23+
dsn: 'your-dsn-here'
24+
integrations: [
25+
Sentry.browserTracingIntegration({
26+
// Available settings:
27+
// - 'in-memory' (default): Stores previous trace information in memory
28+
// - 'session-storage': Stores previous trace information in the browser's `sessionStorage`
29+
// - 'off': Disable storing and sending previous trace information
30+
linkPreviousTrace: 'in-memory',
31+
}),
32+
],
33+
});
34+
```
35+
36+
- **feat(browser): Add `logger.X` methods to browser SDK ([#15763](https://github.com/getsentry/sentry-javascript/pull/15763))**
37+
38+
For Sentry's [upcoming logging product](https://github.com/getsentry/sentry/discussions/86804), the SDK now supports sending logs via dedicated
39+
40+
```js
41+
Sentry.init({
42+
dsn: 'your-dsn-here',
43+
_experiments: {
44+
enableLogs: true, // This is required to use the logging features
45+
},
46+
});
47+
48+
Sentry.logger.info('This is a trace message', { userId: 123 });
49+
// See PR for better documentation
50+
```
51+
52+
Please note that the logs product is still in early access. See the link above for more information.
53+
54+
- **feat(nextjs): Support `instrumentation-client.ts` ([#15705](https://github.com/getsentry/sentry-javascript/pull/15705))**
55+
56+
TODO
57+
58+
### Other Changes
59+
60+
- feat(browser): Attach host as part of error message to "Failed to fetch" errors ([#15729](https://github.com/getsentry/sentry-javascript/pull/15729))
61+
- feat(core): Add `parseStringToURL` method ([#15768](https://github.com/getsentry/sentry-javascript/pull/15768))
62+
- feat(core): Optimize `dropUndefinedKeys` ([#15760](https://github.com/getsentry/sentry-javascript/pull/15760))
63+
- feat(node): Add fastify `shouldHandleError` ([#15771](https://github.com/getsentry/sentry-javascript/pull/15771))
64+
- fix(nuxt): Delete no longer needed Nitro 'close' hook ([#15790](https://github.com/getsentry/sentry-javascript/pull/15790))
65+
- perf(nestjs): Remove usage of `addNonEnumerableProperty` ([#15766](https://github.com/getsentry/sentry-javascript/pull/15766))
66+
- ref: Avoid some usage of `dropUndefinedKeys()` ([#15757](https://github.com/getsentry/sentry-javascript/pull/15757))
67+
- ref: Remove some usages of `dropUndefinedKeys()` ([#15781](https://github.com/getsentry/sentry-javascript/pull/15781))
68+
- ref(nextjs): Fix Next.js vercel-edge runtime package information ([#15789](https://github.com/getsentry/sentry-javascript/pull/15789))
69+
1370
## 9.8.0
1471

1572
- feat(node): Implement new continuous profiling API spec ([#15635](https://github.com/getsentry/sentry-javascript/pull/15635))

0 commit comments

Comments
 (0)