Skip to content

Releases: getsentry/sentry-javascript

7.24.0

07 Dec 10:29
Compare
Choose a tag to compare

This release bumps the @sentry/replay package from version 0.x to 7.24.0.
Along with this version bump, we're introducing a few breaking changes.
Take a look at the Replay migration guide for further information.
Furthermore, we're now also publishing CDN bundles for the Replay integration.
The Replay version bump is the result of moving the package into the Sentry JavaScript SDK monorepo which aligns the version with our other JS SDK packages.

  • feat(browser): Support dom.maxStringLength configuration (#6311)
  • feat(nextjs): Don't init SDK on Vercel Edge Runtime (#6408)
  • feat(nextjs): Parameterize prefix loader values (#6377)
  • feat(nextjs): Support assetPrefix option (#6388)
  • fix(nextjs): Inject SDK in dev mode (#6368)
  • fix(nextjs): Use basePath for assetPrefix if needed (#6424)
  • fix(node): Move profilesSampleRate into BaseNodeOptions (#6409)
  • ref(nextjs): Clean up client-side integrations code (#6382)
  • ref(nextjs): Use loader for rather than webpack plugin for injecting release (#6404)
  • ref(remix): Do not fail silently if getClientIpAddress throws error. (#6400)

Work in this release contributed by @tomgrossman and @ZachGawlik. Thank you for your contributions!

7.23.0

01 Dec 16:53
Compare
Choose a tag to compare
  • feat(browser): Add __SENTRY_RELEASE__ magic string (#6322)
  • fix(node): Add profilesSampleRate (#6318)
  • fix(otel): Account for number status code (#6345)
  • fix(otel): Add trace info to error events (#6364)
  • fix(otel): Set root transaction name to be route (#6334)
  • ref(core): Move sentry breadcrumb logic into integration (#6195)
  • ref(tracing): Remove sentry_reportAllChanges tag (#6360)

Work in this release contributed by @zhiyan114. Thank you for your contributions!

7.22.0

29 Nov 13:39
Compare
Choose a tag to compare
  • feat(core): Pass event as third argument to recordDroppedEvent (#6289)
  • fix(nextjs): Apply Webpack configuration in dev mode (#6291)
  • fix(react): Relax React Router 6 RouteObject typing. (#6274)
  • fix(remix): Prevent crashes from failed normalizeRemixRequest calls. (#6296)
  • fix(remix): Attempt to extract user IP from request headers. (#6263)
  • fix(remix): Pass transaction name as route to RequestData. (#6276)

7.21.1

23 Nov 11:53
Compare
Choose a tag to compare
  • fix(nextjs): Stop excluding withSentryConfig from serverless bundles (#6267)

7.21.0

22 Nov 19:04
Compare
Choose a tag to compare
  • feat(react): Add tracing support for React Router 6.4 createBrowserRouter. (#6172)
  • fix(core): Add guard against scope.getAttachments (#6258)
  • fix(core): Only generate eventIds in client (#6247)
  • fix(express): Support multiple routers with common paths. (#6253)
  • fix(tracing): Pass tracePropagationTargets to instrumentOutgoingRequests (#6259)

7.20.1

21 Nov 12:53
Compare
Choose a tag to compare
  • fix(angular): Set <unknown> component name default in TraceDirective (#6222)
  • fix(core): Include _sdkProcessingMetadata when cloning scope (#6218)
  • fix(tracing): Make shouldAttachHeaders not fall back to default values (#6238)
  • ref(vue): Check if SDK is initialized before app is mounted (#6227)

7.20.0

17 Nov 11:57
Compare
Choose a tag to compare
  • feat(angular): Add Angular 15 Peer Dependencies (#6220)
  • feat(nextjs): Add excludeServerRoutes config option (#6207)
  • feat(node): Move tracing options to Http integration (#6191)
  • fix(nextjs): Use absolute path for distDir in webpack plugin options (#6214)
  • fix(remix): Resolve Remix Request API compatibility issues. (#6215)
  • ref(nextjs): Invert serverside injection criteria (#6206)

7.19.0

10 Nov 15:50
Compare
Choose a tag to compare

This release adds a new SDK, @sentry/opentelemetry-node,
which is available as an alpha release to integrate OpenTelemetry performance tracing with Sentry.
Give it a try and let us know if you have any feedback or problems with using it. (#6000)

This release also deprecates the tracingOrigins option in favor of using shouldCreateSpanForRequest and tracePropagationTargets.
See #6176 for details.

  • feat(node): Allow keepAlive override (#6161)
  • feat(tracing): Add transaction.setContext method (#6154)
  • feat(tracing): Allow to set instrumenter on Span & Transaction (#6136)
  • fix(integrations): Remove erroneous WINDOW exports (#6185)
  • fix(react): Guard against non-error obj in ErrorBoundary (#6181)
  • perf(core): Prevent creation of new contexts object on scope (#6156)
  • ref(tracing): Deprecate tracingOrigins (#6176)

7.18.0

08 Nov 09:59
Compare
Choose a tag to compare

This release adds the beforeSendTransaction callback to all JS SDKs, letting you make changes to or drop transactions before they're sent to Sentry. This callback works identically to beforeSend, just for transactions.

  • feat(core): Add beforeSendTransaction (#6121)
  • feat(node): Add option to OnUncaughtException integration that allows mimicking native uncaught error exit behaviour (#6137)
  • feat(tracing): Add tracePropagationTargets option to browser routing instrumentation (#6080)
  • fix(nextjs): Allow onUncaughtException integration to remain excluded (#6148)
  • fix(nextjs): Do not exit process when errors bubble up while additional uncaughtException-handlers are registered (#6138)
  • fix(remix): Prevent capturing pending promises as exceptions. (#6129)

7.17.4

03 Nov 10:35
Compare
Choose a tag to compare
  • fix(aws): Move relay to port 5333 to avoid collisions (#6093)
  • fix(nextjs): Await Next.js server in patched getServerRequestHandler (#6072)
  • fix(nextjs): CLI binary not found on Windows (#6096)
  • fix(nextjs): Escape Windows paths when writing wrapper templates (#6101)