Bump @sentry/nextjs from 8.39.0 to 8.42.0
Bumps @sentry/nextjs from 8.39.0 to 8.42.0.
Release notes
Sourced from @sentry/nextjs
's releases.
8.42.0
Important Changes
feat(react): React Router v7 support (library) (#14513)
This release adds support for React Router v7 (library mode). Check out the docs on how to set up the integration: Sentry React Router v7 Integration Docs
Deprecations
feat: Warn about source-map generation (#14533)
In the next major version of the SDK we will change how source maps are generated when the SDK is added to an application. Currently, the implementation varies a lot between different SDKs and can be difficult to understand. Moving forward, our goal is to turn on source maps for every framework, unless we detect that they are explicitly turned off. Additionally, if we end up enabling source maps, we will emit a log message that we did so.
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.
feat(nuxt): Deprecate
tracingOptions
in favor ofvueIntegration
(#14530)Currently it is possible to configure tracing options in two places in the Sentry Nuxt SDK:
- In
Sentry.init()
- Inside
tracingOptions
inSentry.init()
For tree-shaking purposes and alignment with the Vue SDK, it is now recommended to instead use the newly exported
vueIntegration()
and itstracingOptions
option to configure tracing options in the Nuxt SDK:// sentry.client.config.ts import * as Sentry from '@sentry/nuxt'; Sentry.init({ // ... integrations: [ Sentry.vueIntegration({ tracingOptions: { trackComponents: true, }, }), ], });
Other Changes
... (truncated)
Changelog
Sourced from @sentry/nextjs
's changelog.
8.42.0
Important Changes
feat(react): React Router v7 support (library) (#14513)
This release adds support for React Router v7 (library mode). Check out the docs on how to set up the integration: Sentry React Router v7 Integration Docs
Deprecations
feat: Warn about source-map generation (#14533)
In the next major version of the SDK we will change how source maps are generated when the SDK is added to an application. Currently, the implementation varies a lot between different SDKs and can be difficult to understand. Moving forward, our goal is to turn on source maps for every framework, unless we detect that they are explicitly turned off. Additionally, if we end up enabling source maps, we will emit a log message that we did so.
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.
feat(nuxt): Deprecate
tracingOptions
in favor ofvueIntegration
(#14530)Currently it is possible to configure tracing options in two places in the Sentry Nuxt SDK:
- In
Sentry.init()
- Inside
tracingOptions
inSentry.init()
For tree-shaking purposes and alignment with the Vue SDK, it is now recommended to instead use the newly exported
vueIntegration()
and itstracingOptions
option to configure tracing options in the Nuxt SDK:// sentry.client.config.ts import * as Sentry from '@sentry/nuxt'; Sentry.init({ // ... integrations: [ Sentry.vueIntegration({ tracingOptions: { trackComponents: true, }, }), ], });
Other Changes
... (truncated)
Commits
-
faa64d0
release: 8.42.0 -
da3a72c
Merge pull request #14538 from getsentry/prepare-release/8.42.0 -
e695a5e
meta(changelog): Update changelog for 8.42.0 -
0b349eb
ci(deps): Bump codecov/codecov-action from 4 to 5 (#14537) -
146bafc
feat(nuxt): DeprecatetracingOptions
in favor ofvueIntegration
(#14530) -
87b789c
feat(browser-utils): Updateweb-vitals
to v4.2.4 (#14439) -
9b9ec77
feat(nuxt): ExposevueIntegration
(#14526) -
44477df
fix(feeback): Handle css correctly in screenshot mode (#14535) -
3fdab04
feat: Warn about source-map generation (#14533) -
e17bd91
chore: Dedupe@sentry/core
imports (#14529) - Additional commits viewable in compare view