Skip to content

Releases: getsentry/sentry-javascript

9.0.0-alpha.0

22 Jan 16:09
035022b
Compare
Choose a tag to compare
9.0.0-alpha.0 Pre-release
Pre-release

This is an alpha release of the upcoming major release of version 9.
This release does not yet entail a comprehensive changelog as version 9 is not yet stable.

For this release's iteration of the migration guide, see the Migration Guide as per 9.0.0-alpha.0.
Please note that the migration guide is work in progress and subject to change.

Bundle size πŸ“¦

Path Size
@sentry/browser 23.03 KB
@sentry/browser - with treeshaking flags 22.92 KB
@sentry/browser (incl. Tracing) 35.76 KB
@sentry/browser (incl. Tracing, Replay) 72.54 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.09 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 76.8 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.29 KB
@sentry/browser (incl. Feedback) 39.71 KB
@sentry/browser (incl. sendFeedback) 27.66 KB
@sentry/browser (incl. FeedbackAsync) 32.44 KB
@sentry/react 25.7 KB
@sentry/react (incl. Tracing) 38.53 KB
@sentry/vue 27.13 KB
@sentry/vue (incl. Tracing) 37.48 KB
@sentry/svelte 23.15 KB
CDN Bundle 24.25 KB
CDN Bundle (incl. Tracing) 35.89 KB
CDN Bundle (incl. Tracing, Replay) 70.51 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 75.65 KB
CDN Bundle - uncompressed 70.87 KB
CDN Bundle (incl. Tracing) - uncompressed 106.5 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 217.36 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 229.92 KB
@sentry/nextjs (client) 38.63 KB
@sentry/sveltekit (client) 36.27 KB
@sentry/node 156.36 KB
@sentry/node - without tracing 97.44 KB
@sentry/aws-serverless 106.9 KB

8.51.0

22 Jan 16:48
Compare
Choose a tag to compare

Important Changes

  • feat(v8/node): Add prismaInstrumentation option to Prisma integration as escape hatch for all Prisma versions (#15128)

    This release adds a compatibility API to add support for Prisma version 6.
    To capture performance data for Prisma version 6:

    1. Install the @prisma/instrumentation package on version 6.

    2. Pass a new PrismaInstrumentation() instance as exported from @prisma/instrumentation to the prismaInstrumentation option:

      import { PrismaInstrumentation } from '@prisma/instrumentation';
      
      Sentry.init({
        integrations: [
          prismaIntegration({
            // Override the default instrumentation that Sentry uses
            prismaInstrumentation: new PrismaInstrumentation(),
          }),
        ],
      });

      The passed instrumentation instance will override the default instrumentation instance the integration would use, while the prismaIntegration will still ensure data compatibility for the various Prisma versions.

    3. Remove the previewFeatures = ["tracing"] option from the client generator block of your Prisma schema.

Other Changes

  • feat(v8/browser): Add multiplexedtransport.js CDN bundle (#15046)
  • feat(v8/browser): Add Unleash integration (#14948)
  • feat(v8/deno): Deprecate Deno SDK as published on deno.land (#15121)
  • feat(v8/sveltekit): Deprecate fetchProxyScriptNonce option (#15011)
  • fix(v8/aws-lambda): Avoid overwriting root span name (#15054)
  • fix(v8/core): fatal events should set session as crashed (#15073)
  • fix(v8/node/nestjs): Use method on current fastify request (#15104)

Work in this release was contributed by @tjhiggins, and @nwalters512. Thank you for your contributions!

Bundle size πŸ“¦

Path Size
@sentry/browser 23.29 KB
@sentry/browser - with treeshaking flags 23.17 KB
@sentry/browser (incl. Tracing) 35.85 KB
@sentry/browser (incl. Tracing, Replay) 73.2 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.66 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 77.51 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.44 KB
@sentry/browser (incl. Feedback) 39.5 KB
@sentry/browser (incl. sendFeedback) 27.9 KB
@sentry/browser (incl. FeedbackAsync) 32.7 KB
@sentry/react 25.97 KB
@sentry/react (incl. Tracing) 38.68 KB
@sentry/vue 27.57 KB
@sentry/vue (incl. Tracing) 37.71 KB
@sentry/svelte 23.46 KB
CDN Bundle 24.5 KB
CDN Bundle (incl. Tracing) 37.56 KB
CDN Bundle (incl. Tracing, Replay) 72.85 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.21 KB
CDN Bundle - uncompressed 71.94 KB
CDN Bundle (incl. Tracing) - uncompressed 111.44 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.69 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.79 KB
@sentry/nextjs (client) 38.93 KB
@sentry/sveltekit (client) 36.36 KB
@sentry/node 162.83 KB
@sentry/node - without tracing 99.14 KB
@sentry/aws-serverless 126.65 KB

8.50.0

15 Jan 15:58
Compare
Choose a tag to compare
  • feat(v8/react): Add support for React Router createMemoryRouter (#14985)

Bundle size πŸ“¦

Path Size
@sentry/browser 23.29 KB
@sentry/browser - with treeshaking flags 21.96 KB
@sentry/browser (incl. Tracing) 35.85 KB
@sentry/browser (incl. Tracing, Replay) 73.19 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.58 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 77.5 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.43 KB
@sentry/browser (incl. Feedback) 39.5 KB
@sentry/browser (incl. sendFeedback) 27.89 KB
@sentry/browser (incl. FeedbackAsync) 32.69 KB
@sentry/react 25.97 KB
@sentry/react (incl. Tracing) 38.67 KB
@sentry/vue 27.57 KB
@sentry/vue (incl. Tracing) 37.71 KB
@sentry/svelte 23.45 KB
CDN Bundle 24.49 KB
CDN Bundle (incl. Tracing) 37.56 KB
CDN Bundle (incl. Tracing, Replay) 72.84 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.2 KB
CDN Bundle - uncompressed 71.93 KB
CDN Bundle (incl. Tracing) - uncompressed 111.42 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.68 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.78 KB
@sentry/nextjs (client) 38.92 KB
@sentry/sveltekit (client) 36.35 KB
@sentry/node 162.82 KB
@sentry/node - without tracing 98.95 KB
@sentry/aws-serverless 126.65 KB

8.49.0

15 Jan 09:38
Compare
Choose a tag to compare
  • feat(v8/browser): Flush offline queue on flush and browser online event (#14969)
  • feat(v8/react): Add a handled prop to ErrorBoundary (#14978)
  • fix(profiling/v8): Don't put require, __filename and __dirname on global object (#14952)
  • fix(v8/node): Enforce that ContextLines integration does not leave open file handles (#14997)
  • fix(v8/replay): Disable mousemove sampling in rrweb for iOS browsers (#14944)
  • fix(v8/sveltekit): Ensure source maps deletion is called after source ma… (#14963)
  • fix(v8/vue): Re-throw error when no errorHandler exists (#14943)

Work in this release was contributed by @HHK1 and @mstrokin. Thank you for your contribution!

Bundle size πŸ“¦

Path Size
@sentry/browser 23.29 KB
@sentry/browser - with treeshaking flags 21.96 KB
@sentry/browser (incl. Tracing) 35.85 KB
@sentry/browser (incl. Tracing, Replay) 73.19 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.58 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 77.5 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.44 KB
@sentry/browser (incl. Feedback) 39.5 KB
@sentry/browser (incl. sendFeedback) 27.89 KB
@sentry/browser (incl. FeedbackAsync) 32.69 KB
@sentry/react 25.97 KB
@sentry/react (incl. Tracing) 38.67 KB
@sentry/vue 27.57 KB
@sentry/vue (incl. Tracing) 37.71 KB
@sentry/svelte 23.45 KB
CDN Bundle 24.49 KB
CDN Bundle (incl. Tracing) 37.56 KB
CDN Bundle (incl. Tracing, Replay) 72.84 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.2 KB
CDN Bundle - uncompressed 71.93 KB
CDN Bundle (incl. Tracing) - uncompressed 111.42 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.68 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.78 KB
@sentry/nextjs (client) 38.92 KB
@sentry/sveltekit (client) 36.36 KB
@sentry/node 162.82 KB
@sentry/node - without tracing 98.95 KB
@sentry/aws-serverless 126.65 KB

7.120.3

10 Jan 08:47
Compare
Choose a tag to compare
  • fix(v7/publish): Ensure discontinued packages are published with latest tag (#14926)

Bundle size πŸ“¦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.96 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.9 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.15 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.53 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 35.78 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.67 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.71 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.73 KB
@sentry/browser - Webpack (gzipped) 22.92 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.18 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.5 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.17 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 25.42 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.94 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.54 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 76.26 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.45 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.4 KB
@sentry/react - Webpack (gzipped) 22.95 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.16 KB
@sentry/nextjs Client - Webpack (gzipped) 54.28 KB
@sentry-internal/feedback - Webpack (gzipped) 17.34 KB

8.48.0

07 Jan 12:23
Compare
Choose a tag to compare

Deprecations

  • feat(v8/core): Deprecate getDomElement method (#14799)

    Deprecates getDomElement. There is no replacement.

Other changes

  • fix(nestjs/v8): Use correct main/module path in package.json (#14791)
  • fix(v8/core): Use consistent continueTrace implementation in core (#14819)
  • fix(v8/node): Correctly resolve debug IDs for ANR events with custom appRoot (#14823)
  • fix(v8/node): Ensure NODE_OPTIONS is not passed to worker threads (#14825)
  • fix(v8/angular): Fall back to element tagName when name is not provided to TraceDirective (#14828)
  • fix(aws-lambda): Remove version suffix from lambda layer (#14843)
  • fix(v8/node): Ensure express requests are properly handled (#14851)
  • feat(v8/node): Add openTelemetrySpanProcessors option (#14853)
  • fix(v8/react): Use Set as the allRoutes container. (#14878) (#14884)
  • fix(v8/react): Improve handling of routes nested under path="/" (#14897)
  • feat(v8/core): Add normalizedRequest to samplingContext (#14903)
  • fix(v8/feedback): Avoid lazy loading code for syncFeedbackIntegration (#14918)

Work in this release was contributed by @arturovt. Thank you for your contribution!

Bundle size πŸ“¦

Path Size
@sentry/browser 23.29 KB
@sentry/browser - with treeshaking flags 21.96 KB
@sentry/browser (incl. Tracing) 35.85 KB
@sentry/browser (incl. Tracing, Replay) 73.09 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.48 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 77.4 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.34 KB
@sentry/browser (incl. Feedback) 39.5 KB
@sentry/browser (incl. sendFeedback) 27.89 KB
@sentry/browser (incl. FeedbackAsync) 32.69 KB
@sentry/react 25.96 KB
@sentry/react (incl. Tracing) 38.66 KB
@sentry/vue 27.56 KB
@sentry/vue (incl. Tracing) 37.69 KB
@sentry/svelte 23.45 KB
CDN Bundle 24.49 KB
CDN Bundle (incl. Tracing) 37.56 KB
CDN Bundle (incl. Tracing, Replay) 72.75 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.11 KB
CDN Bundle - uncompressed 71.93 KB
CDN Bundle (incl. Tracing) - uncompressed 111.42 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.5 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.6 KB
@sentry/nextjs (client) 38.92 KB
@sentry/sveltekit (client) 36.36 KB
@sentry/node 162.8 KB
@sentry/node - without tracing 98.94 KB
@sentry/aws-serverless 126.63 KB

8.47.0

18 Dec 16:03
Compare
Choose a tag to compare
  • feat(v8/core): Add updateSpanName helper function (#14736)
  • feat(v8/node): Do not overwrite prisma db.system in newer Prisma versions (#14772)
  • feat(v8/node/deps): Bump @prisma/instrumentation from 5.19.1 to 5.22.0 (#14755)
  • feat(v8/replay): Mask srcdoc iframe contents per default (#14779)
  • ref(v8/nextjs): Fix typo in source maps deletion warning (#14776)

Work in this release was contributed by @aloisklink and @benjick. Thank you for your contributions!

Bundle size πŸ“¦

Path Size
@sentry/browser 23.29 KB
@sentry/browser - with treeshaking flags 21.96 KB
@sentry/browser (incl. Tracing) 35.81 KB
@sentry/browser (incl. Tracing, Replay) 73.06 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.45 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 77.37 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.85 KB
@sentry/browser (incl. Feedback) 40.04 KB
@sentry/browser (incl. sendFeedback) 27.89 KB
@sentry/browser (incl. FeedbackAsync) 32.68 KB
@sentry/react 25.96 KB
@sentry/react (incl. Tracing) 38.64 KB
@sentry/vue 27.52 KB
@sentry/vue (incl. Tracing) 37.67 KB
@sentry/svelte 23.45 KB
CDN Bundle 24.47 KB
CDN Bundle (incl. Tracing) 37.51 KB
CDN Bundle (incl. Tracing, Replay) 72.71 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.1 KB
CDN Bundle - uncompressed 71.85 KB
CDN Bundle (incl. Tracing) - uncompressed 111.23 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.3 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.52 KB
@sentry/nextjs (client) 38.9 KB
@sentry/sveltekit (client) 36.32 KB
@sentry/node 162.7 KB
@sentry/node - without tracing 98.87 KB
@sentry/aws-serverless 126.53 KB

8.46.0

17 Dec 12:41
Compare
Choose a tag to compare
  • feat: Allow capture of more than 1 ANR event [v8] (#14713)
  • feat(node): Detect Railway release name [v8] (#14714)
  • fix: Normalise ANR debug image file paths if appRoot was supplied [v8] (#14709)
  • fix(nuxt): Remove build config from tsconfig (#14737)

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

Bundle size πŸ“¦

Path Size
@sentry/browser 23.29 KB
@sentry/browser - with treeshaking flags 21.96 KB
@sentry/browser (incl. Tracing) 35.79 KB
@sentry/browser (incl. Tracing, Replay) 73.01 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.41 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 77.32 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.81 KB
@sentry/browser (incl. Feedback) 40.04 KB
@sentry/browser (incl. sendFeedback) 27.89 KB
@sentry/browser (incl. FeedbackAsync) 32.68 KB
@sentry/react 25.96 KB
@sentry/react (incl. Tracing) 38.6 KB
@sentry/vue 27.49 KB
@sentry/vue (incl. Tracing) 37.63 KB
@sentry/svelte 23.45 KB
CDN Bundle 24.43 KB
CDN Bundle (incl. Tracing) 37.46 KB
CDN Bundle (incl. Tracing, Replay) 72.64 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.01 KB
CDN Bundle - uncompressed 71.74 KB
CDN Bundle (incl. Tracing) - uncompressed 111.05 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.1 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.32 KB
@sentry/nextjs (client) 38.88 KB
@sentry/sveltekit (client) 36.29 KB
@sentry/node 162.53 KB
@sentry/node - without tracing 98.72 KB
@sentry/aws-serverless 126.4 KB

8.45.1

16 Dec 12:41
Compare
Choose a tag to compare
  • fix(feedback): Return when the sendFeedback promise resolves (#14683)

Work in this release was contributed by @antonis. Thank you for your contribution!

Bundle size πŸ“¦

Path Size
@sentry/browser 23.29 KB
@sentry/browser - with treeshaking flags 21.96 KB
@sentry/browser (incl. Tracing) 35.79 KB
@sentry/browser (incl. Tracing, Replay) 73.01 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.41 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 77.32 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.81 KB
@sentry/browser (incl. Feedback) 40.04 KB
@sentry/browser (incl. sendFeedback) 27.89 KB
@sentry/browser (incl. FeedbackAsync) 32.68 KB
@sentry/react 25.96 KB
@sentry/react (incl. Tracing) 38.6 KB
@sentry/vue 27.49 KB
@sentry/vue (incl. Tracing) 37.63 KB
@sentry/svelte 23.45 KB
CDN Bundle 24.43 KB
CDN Bundle (incl. Tracing) 37.46 KB
CDN Bundle (incl. Tracing, Replay) 72.64 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.01 KB
CDN Bundle - uncompressed 71.74 KB
CDN Bundle (incl. Tracing) - uncompressed 111.05 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.1 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.32 KB
@sentry/nextjs (client) 38.88 KB
@sentry/sveltekit (client) 36.29 KB
@sentry/node 162.52 KB
@sentry/node - without tracing 98.71 KB
@sentry/aws-serverless 126.39 KB

8.45.0

13 Dec 11:50
Compare
Choose a tag to compare
  • feat(core): Add handled option to captureConsoleIntegration (#14664)
  • feat(browser): Attach virtual stack traces to HttpClient events (#14515)
  • feat(replay): Upgrade rrweb packages to 2.31.0 (#14689)
  • fix(aws-serverless): Remove v8 layer as it overwrites the current layer for docs (#14679)
  • fix(browser): Mark stack trace from captureMessage with attachStacktrace: true as synthetic (#14668)
  • fix(core): Mark stack trace from captureMessage with attatchStackTrace: true as synthetic (#14670)
  • fix(core): Set level in server runtime captureException (#10587)
  • fix(profiling-node): Guard invocation of native profiling methods (#14676)
  • fix(nuxt): Inline nitro-utils function (#14680)
  • fix(profiling-node): Ensure profileId is added to transaction event (#14681)
  • fix(react): Add React Router Descendant Routes support (#14304)
  • fix: Disable ANR and Local Variables if debugger is enabled via CLI args (#14643)

Work in this release was contributed by @anonrig and @Zih0. Thank you for your contributions!

Bundle size πŸ“¦

Path Size
@sentry/browser 23.29 KB
@sentry/browser - with treeshaking flags 21.96 KB
@sentry/browser (incl. Tracing) 35.79 KB
@sentry/browser (incl. Tracing, Replay) 73.01 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.41 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 77.32 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.81 KB
@sentry/browser (incl. Feedback) 40.04 KB
@sentry/browser (incl. sendFeedback) 27.89 KB
@sentry/browser (incl. FeedbackAsync) 32.69 KB
@sentry/react 25.96 KB
@sentry/react (incl. Tracing) 38.6 KB
@sentry/vue 27.49 KB
@sentry/vue (incl. Tracing) 37.63 KB
@sentry/svelte 23.45 KB
CDN Bundle 24.43 KB
CDN Bundle (incl. Tracing) 37.46 KB
CDN Bundle (incl. Tracing, Replay) 72.64 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.01 KB
CDN Bundle - uncompressed 71.74 KB
CDN Bundle (incl. Tracing) - uncompressed 111.05 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.1 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.32 KB
@sentry/nextjs (client) 38.89 KB
@sentry/sveltekit (client) 36.29 KB
@sentry/node 162.52 KB
@sentry/node - without tracing 98.71 KB
@sentry/aws-serverless 126.38 KB