Skip to content

Commit 0c4c12d

Browse files
author
Luca Forstner
committed
meta(changelog): Update changelog for 8.42.0
1 parent 0b349eb commit 0c4c12d

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

CHANGELOG.md

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

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

13+
## 8.42.0
14+
15+
### Important Changes
16+
17+
- **feat(react): React Router v7 support (library) ([#14513](https://github.com/getsentry/sentry-javascript/pull/14513))**
18+
19+
This release adds support for [React Router v7 (library mode)](https://reactrouter.com/home#react-router-as-a-library).
20+
Check out the docs on how to set up the integration: [Sentry React Router v7 Integration Docs](https://docs.sentry.io/platforms/javascript/guides/react/features/react-router/v7/)
21+
22+
Note that support for React Router v7 in framework mode is still being worked on.
23+
Full support is planned to release early 2025.
24+
25+
### Deprecations
26+
27+
- **feat: Warn about source-map generation ([#14533](https://github.com/getsentry/sentry-javascript/pull/14533))**
28+
29+
In the next major version of the SDK we will change how source maps are generated when the SDK is added to an application.
30+
Currently, the implementation is a bit all over the place and whether we turn on source map generation in applications depends on the specific SDK.
31+
32+
Moving forward, our goal is to turn on source maps for every framework, unless we detect that they are explicitly turned off.
33+
Additionally, if we end up enabling source maps, we will emit a log message that we did so.
34+
35+
With this particular release, we are emitting warnings that source map generation will change in the future and we print instructions on how to prepare for the next major.
36+
37+
- **feat(nuxt): Deprecate `tracingOptions` in favor of `vueIntegration` ([#14530](https://github.com/getsentry/sentry-javascript/pull/14530))**
38+
39+
Currently it is possible to configure tracing options in two places in the Sentry Nuxt SDK:
40+
41+
- In `Sentry.init()`
42+
- Inside `tracingOptions` in `Sentry.init()`
43+
44+
For tree-shaking purposes and alignment with the Vue SDK, it is now recommended to instead use the newly exported `vueIntegration()` and its `tracingOptions` option to configure tracing options in the Nuxt SDK:
45+
46+
```ts
47+
// sentry.client.config.ts
48+
import * as Sentry from '@sentry/nuxt';
49+
50+
Sentry.init({
51+
// ...
52+
integrations: [
53+
Sentry.vueIntegration({
54+
tracingOptions: {
55+
trackComponents: true,
56+
},
57+
}),
58+
],
59+
});
60+
```
61+
62+
### Other Changes
63+
64+
- feat(browser-utils): Update `web-vitals` to v4.2.4 ([#14439](https://github.com/getsentry/sentry-javascript/pull/14439))
65+
- feat(nuxt): Expose `vueIntegration` ([#14526](https://github.com/getsentry/sentry-javascript/pull/14526))
66+
- fix(feedback): Handle css correctly in screenshot mode ([#14535](https://github.com/getsentry/sentry-javascript/pull/14535))
67+
1368
## 8.41.0
1469

1570
### Important Changes

0 commit comments

Comments
 (0)