Skip to content

Commit df794c2

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

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,66 @@
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+
Next.js recently added a feature to support [client-side (browser) instrumentation via the `experimental.clientInstrumentationHook` flag and the `instrumentation-client.ts` file](https://nextjs.org/docs/app/api-reference/config/next-config-js/clientInstrumentationHook).
57+
58+
To be forwards compatible, the Sentry Next.js SDK will now pick up `instrumentation-client.ts` files even on older Next.js versions and add them to your client bundles.
59+
It is suggested that you either rename your `sentry.client.config.ts` file to `instrumentation-client.ts`, or if you already happen to have a `instrumentation-client.ts` file move the contents of `sentry.client.config.ts` to `instrumentation-client.ts`.
60+
61+
### Other Changes
62+
63+
- feat(browser): Attach host as part of error message to "Failed to fetch" errors ([#15729](https://github.com/getsentry/sentry-javascript/pull/15729))
64+
- feat(core): Add `parseStringToURL` method ([#15768](https://github.com/getsentry/sentry-javascript/pull/15768))
65+
- feat(core): Optimize `dropUndefinedKeys` ([#15760](https://github.com/getsentry/sentry-javascript/pull/15760))
66+
- feat(node): Add fastify `shouldHandleError` ([#15771](https://github.com/getsentry/sentry-javascript/pull/15771))
67+
- fix(nuxt): Delete no longer needed Nitro 'close' hook ([#15790](https://github.com/getsentry/sentry-javascript/pull/15790))
68+
- perf(nestjs): Remove usage of `addNonEnumerableProperty` ([#15766](https://github.com/getsentry/sentry-javascript/pull/15766))
69+
- ref: Avoid some usage of `dropUndefinedKeys()` ([#15757](https://github.com/getsentry/sentry-javascript/pull/15757))
70+
- ref: Remove some usages of `dropUndefinedKeys()` ([#15781](https://github.com/getsentry/sentry-javascript/pull/15781))
71+
- ref(nextjs): Fix Next.js vercel-edge runtime package information ([#15789](https://github.com/getsentry/sentry-javascript/pull/15789))
72+
1373
## 9.8.0
1474

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

0 commit comments

Comments
 (0)