Important CHanges
- feat(nuxt): Add
piniaIntegration
(#14138)
The Nuxt SDK now allows you to track Pinia state for captured errors. To enable the Pinia plugin, add the piniaIntegration
to your client config:
// sentry.client.config.ts
import { usePinia } from '#imports';
Sentry.init({
integrations: [
Sentry.piniaIntegration(usePinia(), {
/* optional Pinia plugin options */
}),
],
});
- feat: Deprecate metrics API (#14157)
The Sentry Metrics beta has ended in favour of revisiting metrics in another form at a later date.
This new approach will include different APIs, making the current metrics API unnecessary. This release
deprecates the metrics API with the plan to remove in the next SDK major version. If you currently use the
metrics API in your code, you can safely continue to do so but sent data will no longer be processed by Sentry.
Learn more about the end of the Metrics beta.
Other Changes
- feat(browser): Add
http.response_delivery_type
attribute to resource spans (#14056) - feat(browser): Add
skipBrowserExtensionCheck
escape hatch option (#14147) - feat(deps): Bump @opentelemetry/instrumentation from 0.53.0 to 0.54.0 (#14174)
- feat(deps): Bump @opentelemetry/instrumentation-fastify from 0.40.0 to 0.41.0 (#14175)
- feat(deps): Bump @opentelemetry/instrumentation-graphql from 0.43.0 to 0.44.0 (#14173)
- feat(deps): Bump @opentelemetry/instrumentation-mongodb from 0.47.0 to 0.48.0 (#14171)
- feat(deps): Bump @opentelemetry/propagator-aws-xray from 1.25.1 to 1.26.0 (#14172)
- feat(nuxt): Add
asyncFunctionReExports
to define re-exported server functions (#14104) - feat(nuxt): Add
piniaIntegration
(#14138) - fix(browser): Avoid recording long task spans starting before their parent span (#14183)
- fix(core): Ensure errors thrown in async cron jobs bubble up (#14182)
- fix(core): Silently fail
maybeInstrument
(#14140) - fix(nextjs): Resolve path for dynamic webpack import (#13751)
- fix(node): Make sure
modulesIntegration
does not crash esm apps (#14169)
Work in this release was contributed by @rexxars. Thank you for your contribution!
Bundle size 📦
Path | Size |
---|---|
@sentry/browser | 22.76 KB |
@sentry/browser - with treeshaking flags | 21.54 KB |
@sentry/browser (incl. Tracing) | 35.18 KB |
@sentry/browser (incl. Tracing, Replay) | 71.9 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 62.33 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) | 76.22 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) | 89.02 KB |
@sentry/browser (incl. Feedback) | 39.9 KB |
@sentry/browser (incl. sendFeedback) | 27.4 KB |
@sentry/browser (incl. FeedbackAsync) | 32.2 KB |
@sentry/react | 25.51 KB |
@sentry/react (incl. Tracing) | 38.15 KB |
@sentry/vue | 26.9 KB |
@sentry/vue (incl. Tracing) | 37.07 KB |
@sentry/svelte | 22.89 KB |
CDN Bundle | 24.11 KB |
CDN Bundle (incl. Tracing) | 37 KB |
CDN Bundle (incl. Tracing, Replay) | 71.66 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) | 77 KB |
CDN Bundle - uncompressed | 70.66 KB |
CDN Bundle (incl. Tracing) - uncompressed | 109.79 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.31 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.52 KB |
@sentry/nextjs (client) | 38.23 KB |
@sentry/sveltekit (client) | 35.78 KB |
@sentry/node | 131.52 KB |
@sentry/node - without tracing | 95.64 KB |
@sentry/aws-serverless | 105.91 KB |