Skip to content

Releases: getsentry/sentry-javascript

10.1.0

04 Aug 11:26
Compare
Choose a tag to compare
  • feat(nuxt): Align build-time options to follow bundler plugins structure (#17255)
  • fix(browser-utils): Ensure web vital client hooks unsubscribe correctly (#17272)
  • fix(browser): Ensure request from diagnoseSdkConnectivity doesn't create span (#17280)

Bundle size πŸ“¦

Path Size
@sentry/browser 23.21 KB
@sentry/browser - with treeshaking flags 21.82 KB
@sentry/browser (incl. Tracing) 38.51 KB
@sentry/browser (incl. Tracing, Replay) 75.7 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.81 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 80.29 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 92.14 KB
@sentry/browser (incl. Feedback) 39.5 KB
@sentry/browser (incl. sendFeedback) 27.78 KB
@sentry/browser (incl. FeedbackAsync) 32.56 KB
@sentry/react 24.9 KB
@sentry/react (incl. Tracing) 40.43 KB
@sentry/vue 27.54 KB
@sentry/vue (incl. Tracing) 40.27 KB
@sentry/svelte 23.23 KB
CDN Bundle 24.69 KB
CDN Bundle (incl. Tracing) 38.38 KB
CDN Bundle (incl. Tracing, Replay) 73.62 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.92 KB
CDN Bundle - uncompressed 72.13 KB
CDN Bundle (incl. Tracing) - uncompressed 113.62 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.16 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 237.67 KB
@sentry/nextjs (client) 42.44 KB
@sentry/sveltekit (client) 38.93 KB
@sentry/node-core 46.41 KB
@sentry/node 142.76 KB
@sentry/node - without tracing 89.48 KB
@sentry/aws-serverless 100.67 KB

9.44.2

04 Aug 14:43
Compare
Choose a tag to compare

This release is publishing the AWS Lambda Layer under SentryNodeServerlessSDKv9. The previous release 9.44.1 accidentally published the layer under SentryNodeServerlessSDKv10.

Bundle size πŸ“¦

Path Size
@sentry/browser 23.24 KB
@sentry/browser - with treeshaking flags 21.83 KB
@sentry/browser (incl. Tracing) 38.73 KB
@sentry/browser (incl. Tracing, Replay) 75.95 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.98 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 80.53 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 92.34 KB
@sentry/browser (incl. Feedback) 39.53 KB
@sentry/browser (incl. sendFeedback) 27.81 KB
@sentry/browser (incl. FeedbackAsync) 32.59 KB
@sentry/react 24.95 KB
@sentry/react (incl. Tracing) 40.64 KB
@sentry/vue 27.58 KB
@sentry/vue (incl. Tracing) 40.48 KB
@sentry/svelte 23.25 KB
CDN Bundle 24.59 KB
CDN Bundle (incl. Tracing) 38.49 KB
CDN Bundle (incl. Tracing, Replay) 73.63 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.97 KB
CDN Bundle - uncompressed 71.73 KB
CDN Bundle (incl. Tracing) - uncompressed 114.12 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.6 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.11 KB
@sentry/nextjs (client) 42.64 KB
@sentry/sveltekit (client) 39.14 KB
@sentry/node 165.21 KB
@sentry/node - without tracing 97.96 KB
@sentry/aws-serverless 125.46 KB

9.44.1

04 Aug 09:14
Compare
Choose a tag to compare
  • fix(replay/v9): Call sendBufferedReplayOrFlush when opening/sending feedback (#17270)

Bundle size πŸ“¦

Path Size
@sentry/browser 23.24 KB
@sentry/browser - with treeshaking flags 21.83 KB
@sentry/browser (incl. Tracing) 38.73 KB
@sentry/browser (incl. Tracing, Replay) 75.94 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.98 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 80.53 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 92.34 KB
@sentry/browser (incl. Feedback) 39.53 KB
@sentry/browser (incl. sendFeedback) 27.81 KB
@sentry/browser (incl. FeedbackAsync) 32.59 KB
@sentry/react 24.95 KB
@sentry/react (incl. Tracing) 40.64 KB
@sentry/vue 27.58 KB
@sentry/vue (incl. Tracing) 40.48 KB
@sentry/svelte 23.25 KB
CDN Bundle 24.59 KB
CDN Bundle (incl. Tracing) 38.49 KB
CDN Bundle (incl. Tracing, Replay) 73.63 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.97 KB
CDN Bundle - uncompressed 71.73 KB
CDN Bundle (incl. Tracing) - uncompressed 114.12 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.6 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.11 KB
@sentry/nextjs (client) 42.64 KB
@sentry/sveltekit (client) 39.14 KB
@sentry/node 165.21 KB
@sentry/node - without tracing 97.96 KB
@sentry/aws-serverless 125.46 KB

10.0.0

31 Jul 15:32
Compare
Choose a tag to compare

Version 10.0.0 marks a release of the Sentry JavaScript SDKs that contains breaking changes. The goal of this release is to primarily upgrade the underlying OpenTelemetry dependencies to v2 with minimal breaking changes.

How To Upgrade

Please carefully read through the migration guide in the Sentry docs on how to upgrade from version 9 to version 10. Make sure to select your specific platform/framework in the top left corner: https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/

A comprehensive migration guide outlining all changes can be found within the Sentry JavaScript SDK Repository: https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.md

Breaking Changes

  • feat!: Bump to OpenTelemetry v2 (#16872)
  • feat(browser)!: Remove FID web vital collection (#17076)
  • feat(core)!: Remove BaseClient (#17071)
  • feat(core)!: Remove enableLogs and beforeSendLog experimental options (#17063)
  • feat(core)!: Remove hasTracingEnabled (#17072)
  • feat(core)!: Remove deprecated logger (#17061)
  • feat(replay)!: Promote _experiments.autoFlushOnFeedback option as default (#17220)
  • chore(deps)!: Bump bundler plugins to v4 (#17089)

Other Changes

  • feat(astro): Implement Request Route Parametrization for Astro 5 (#17105)
  • feat(astro): Parametrize routes on client-side (#17133)
  • feat(aws): Add SentryNodeServerlessSDKv10 v10 AWS Lambda Layer (#17069)
  • feat(aws): Create unified lambda layer for ESM and CJS (#17012)
  • feat(aws): Detect SDK source for AWS Lambda layer (#17128)
  • feat(core): Add missing openai tool calls attributes (#17226)
  • feat(core): Add shared flushIfServerless function (#17177)
  • feat(core): Implement strictTraceContinuation (#16313)
  • feat(core): MCP server instrumentation without breaking Miniflare (#16817)
  • feat(deps): bump @prisma/instrumentation from 6.11.1 to 6.12.0 (#17117)
  • feat(meta): Unify detection of serverless environments and add Cloud Run (#17168)
  • feat(nestjs): Switch to OTel core instrumentation (#17068)
  • feat(node-native): Upgrade @sentry-internal/node-native-stacktrace to 0.2.2 (#17207)
  • feat(node): Add shouldHandleError option to fastifyIntegration (#16845)
  • feat(node): Add firebase integration (#16719)
  • feat(node): Instrument stream responses for openai (#17110)
  • feat(react-router): Add createSentryHandleError (#17235)
  • feat(react-router): Automatically flush on serverless for loaders/actions (#17234)
  • feat(react-router): Automatically flush on Vercel for request handlers (#17232)
  • fix(astro): Construct parametrized route during runtime (#17190)
  • fix(aws): Add layer build output to nx cache (#17148)
  • fix(aws): Fix path to packages directory (#17112)
  • fix(aws): Resolve all Sentry packages to local versions in layer build (#17106)
  • fix(aws): Use file link in dependency version (#17111)
  • fix(cloudflare): Allow non uuid workflow instance IDs (#17121)
  • fix(cloudflare): Avoid turning DurableObject sync methods into async (#17184)
  • fix(core): Fix OpenAI SDK private field access by binding non-instrumented fns (#17163)
  • fix(core): Fix operation name for openai responses API (#17206)
  • fix(core): Update ai.response.object to gen_ai.response.object (#17153)
  • fix(nextjs): Flush in route handlers (#17223)
  • fix(nextjs): Handle async params in url extraction (#17162)
  • fix(nextjs): Update stackframe calls for next v15.5 (#17156)
  • fix(node): Add mechanism to fastifyIntegration error handler (#17208)
  • fix(node): Ensure tool errors for vercelAiIntegration have correct trace connected (#17132)
  • fix(node): Fix exports for openai instrumentation (#17238)
  • fix(node): Handle stack traces with data URI filenames (#17218)
  • fix(react): Memoize wrapped component to prevent rerenders (#17230)
  • fix(remix): Ensure source maps upload fails silently if Sentry CLI fails (#17082)
  • fix(replay): Fix re-sampled sessions after a click (#17008)
  • fix(svelte): Do not insert preprocess code in script module in Svelte 5 (#17114)
  • fix(sveltekit): Align error status filtering and mechanism in handleErrorWithSentry (#17157)

Work in this release was contributed by @richardjelinek-fastest. Thank you for your contribution!

Bundle size πŸ“¦

Path Size
@sentry/browser 23.21 KB
@sentry/browser - with treeshaking flags 21.82 KB
@sentry/browser (incl. Tracing) 38.49 KB
@sentry/browser (incl. Tracing, Replay) 75.68 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.78 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 80.27 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 92.11 KB
@sentry/browser (incl. Feedback) 39.5 KB
@sentry/browser (incl. sendFeedback) 27.78 KB
@sentry/browser (incl. FeedbackAsync) 32.56 KB
@sentry/react 24.9 KB
@sentry/react (incl. Tracing) 40.41 KB
@sentry/vue 27.54 KB
@sentry/vue (incl. Tracing) 40.25 KB
@sentry/svelte 23.23 KB
CDN Bundle 24.69 KB
CDN Bundle (incl. Tracing) 38.37 KB
CDN Bundle (incl. Tracing, Replay) 73.61 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.91 KB
CDN Bundle - uncompressed 72.13 KB
CDN Bundle (incl. Tracing) - uncompressed 113.57 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.11 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 237.62 KB
@sentry/nextjs (client) 42.42 KB
@sentry/sveltekit (client) 38.91 KB
@sentry/node-core 46.41 KB
@sentry/node 142.76 KB
@sentry/node - without tracing 89.48 KB
@sentry/aws-serverless 100.67 KB

9.44.0

31 Jul 14:36
Compare
Choose a tag to compare
  • feat(replay/v9): Deprecate _experiments.autoFlushOnFeedback (#17219)
  • feat(v9/core): Add shared flushIfServerless function (#17239)
  • feat(v9/node-native): Upgrade @sentry-internal/node-native-stacktrace to 0.2.2 (#17256)
  • feat(v9/react-router): Add createSentryHandleError (#17244)
  • feat(v9/react-router): Automatically flush on serverless for loaders/actions (#17243)
  • feat(v9/react-router): Automatically flush on serverless for request handler (#17242)
  • fix(v9/astro): Construct parametrized route during runtime (#17227)
  • fix(v9/nextjs): Flush in route handlers (#17245)
  • fix(v9/node): Fix exports for openai instrumentation (#17238) (#17241)

Bundle size πŸ“¦

Path Size
@sentry/browser 23.24 KB
@sentry/browser - with treeshaking flags 21.83 KB
@sentry/browser (incl. Tracing) 38.73 KB
@sentry/browser (incl. Tracing, Replay) 75.94 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.98 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 80.53 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 92.34 KB
@sentry/browser (incl. Feedback) 39.53 KB
@sentry/browser (incl. sendFeedback) 27.81 KB
@sentry/browser (incl. FeedbackAsync) 32.59 KB
@sentry/react 24.95 KB
@sentry/react (incl. Tracing) 40.64 KB
@sentry/vue 27.58 KB
@sentry/vue (incl. Tracing) 40.48 KB
@sentry/svelte 23.25 KB
CDN Bundle 24.59 KB
CDN Bundle (incl. Tracing) 38.49 KB
CDN Bundle (incl. Tracing, Replay) 73.62 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.97 KB
CDN Bundle - uncompressed 71.73 KB
CDN Bundle (incl. Tracing) - uncompressed 114.12 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.56 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.07 KB
@sentry/nextjs (client) 42.64 KB
@sentry/sveltekit (client) 39.14 KB
@sentry/node 165.21 KB
@sentry/node - without tracing 97.96 KB
@sentry/aws-serverless 125.46 KB

10.0.0-beta.0

30 Jul 09:52
Compare
Choose a tag to compare
10.0.0-beta.0 Pre-release
Pre-release

This is a beta release of the upcoming major release of version 10.
This release does not yet entail a comprehensive changelog as version 10 is not yet stable.

For this release's iteration of the migration guide, see the Migration Guide as per 10.0.0-beta.0.

Please note that the migration guide is work in progress and subject to change.

Bundle size πŸ“¦

Path Size
@sentry/browser 23.21 KB
@sentry/browser - with treeshaking flags 21.83 KB
@sentry/browser (incl. Tracing) 38.49 KB
@sentry/browser (incl. Tracing, Replay) 75.72 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.82 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 80.31 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 92.15 KB
@sentry/browser (incl. Feedback) 39.5 KB
@sentry/browser (incl. sendFeedback) 27.78 KB
@sentry/browser (incl. FeedbackAsync) 32.56 KB
@sentry/react 24.9 KB
@sentry/react (incl. Tracing) 40.42 KB
@sentry/vue 27.54 KB
@sentry/vue (incl. Tracing) 40.25 KB
@sentry/svelte 23.23 KB
CDN Bundle 24.69 KB
CDN Bundle (incl. Tracing) 38.37 KB
CDN Bundle (incl. Tracing, Replay) 73.64 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.94 KB
CDN Bundle - uncompressed 72.13 KB
CDN Bundle (incl. Tracing) - uncompressed 113.57 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.2 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 237.71 KB
@sentry/nextjs (client) 42.42 KB
@sentry/sveltekit (client) 38.91 KB
@sentry/node-core 46.35 KB
@sentry/node 142.36 KB
@sentry/node - without tracing 89.42 KB
@sentry/aws-serverless 100.6 KB

9.43.0

29 Jul 15:57
Compare
Choose a tag to compare
  • feat(v9/core): add MCP server instrumentation (#17196)
  • feat(v9/meta): Unify detection of serverless environments and add Cloud Run (#17204)
  • fix(v9/node): Add mechanism to fastifyIntegration error handler (#17211)
  • fix(v9/replay): Fix re-sampled sessions after a click (#17195)

Bundle size πŸ“¦

Path Size
@sentry/browser 23.24 KB
@sentry/browser - with treeshaking flags 21.83 KB
@sentry/browser (incl. Tracing) 38.73 KB
@sentry/browser (incl. Tracing, Replay) 75.98 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.02 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 80.57 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 92.38 KB
@sentry/browser (incl. Feedback) 39.53 KB
@sentry/browser (incl. sendFeedback) 27.81 KB
@sentry/browser (incl. FeedbackAsync) 32.59 KB
@sentry/react 24.95 KB
@sentry/react (incl. Tracing) 40.64 KB
@sentry/vue 27.58 KB
@sentry/vue (incl. Tracing) 40.48 KB
@sentry/svelte 23.25 KB
CDN Bundle 24.59 KB
CDN Bundle (incl. Tracing) 38.49 KB
CDN Bundle (incl. Tracing, Replay) 73.66 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 79 KB
CDN Bundle - uncompressed 71.73 KB
CDN Bundle (incl. Tracing) - uncompressed 114.12 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.65 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.16 KB
@sentry/nextjs (client) 42.64 KB
@sentry/sveltekit (client) 39.14 KB
@sentry/node 165.2 KB
@sentry/node - without tracing 97.96 KB
@sentry/aws-serverless 125.46 KB

7.120.4

29 Jul 15:00
Compare
Choose a tag to compare
  • fix(v7/cdn): Stop using Object.assign to be ES5 compatible (#17080)

7.120.4-alpha.1

29 Jul 12:59
Compare
Choose a tag to compare
7.120.4-alpha.1 Pre-release
Pre-release

No user-facing changes, only internal changes.

9.42.1

28 Jul 12:20
Compare
Choose a tag to compare
  • fix(v9/astro): Revert Astro v5 storing route data to globalThis (#17185)
  • fix(v9/cloudflare): Avoid turning DurableObject sync methods into async (#17187)
  • fix(v9/nextjs): Handle async params in url extraction (#17176)
  • fix(v9/sveltekit): Align error status filtering and mechanism in handleErrorWithSentry (#17174)

Bundle size πŸ“¦

Path Size
@sentry/browser 23.24 KB
@sentry/browser - with treeshaking flags 21.83 KB
@sentry/browser (incl. Tracing) 38.73 KB
@sentry/browser (incl. Tracing, Replay) 75.97 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.01 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 80.56 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 92.38 KB
@sentry/browser (incl. Feedback) 39.53 KB
@sentry/browser (incl. sendFeedback) 27.81 KB
@sentry/browser (incl. FeedbackAsync) 32.59 KB
@sentry/react 24.95 KB
@sentry/react (incl. Tracing) 40.64 KB
@sentry/vue 27.58 KB
@sentry/vue (incl. Tracing) 40.48 KB
@sentry/svelte 23.25 KB
CDN Bundle 24.59 KB
CDN Bundle (incl. Tracing) 38.49 KB
CDN Bundle (incl. Tracing, Replay) 73.65 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.99 KB
CDN Bundle - uncompressed 71.73 KB
CDN Bundle (incl. Tracing) - uncompressed 114.12 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.59 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.1 KB
@sentry/nextjs (client) 42.64 KB
@sentry/sveltekit (client) 39.14 KB
@sentry/node 165.18 KB
@sentry/node - without tracing 97.96 KB
@sentry/aws-serverless 125.46 KB