Skip to content

Releases: getsentry/sentry-javascript

7.30.0

10 Jan 13:13
Compare
Choose a tag to compare
  • feat(core): Add addIntegration method to client (#6651)
  • feat(core): Add replay_event type for events (#6481)
  • feat(gatsby): Support Gatsby v5 (#6635)
  • feat(integrations): Add HTTPClient integration (#6500)
  • feat(node): Add LocalVariables integration to capture local variables to stack frames (#6478)
  • feat(node): Check for invalid url in node transport (#6623)
  • feat(replay): Remove replayType from tags and into replay_event (#6658)
  • feat(transport): Return result through Transport send (#6626)
  • fix(nextjs): Don't wrap res.json and res.send (#6674)
  • fix(nextjs): Don't write to res.end to fix next export (#6682)
  • fix(nextjs): Exclude SDK from Edge runtime bundles (#6683)
  • fix(replay): Allow Replay to be used in Electron renderers with nodeIntegration enabled (#6644)
  • fix(utils): Ignore stack frames over 1kb (#6627)
  • ref(angular) Add error-like objects handling (#6446)
  • ref(nextjs): Remove instrumentSever (#6592)

Work in this release contributed by @rjoonas, @Naddiseo, and @theofidry. Thank you for your contributions!

7.29.0

04 Jan 13:59
Compare
Choose a tag to compare

This update includes a change to the @sentry/nextjs SDK that may increase response times of requests in applications
deployed to Vercel or AWS lambdas to ensure that error events are sent consistently.
Additionally, Next.js applications deployed to Vercel or AWS lambdas may also see an uptick in sent transactions. (for
more information see #6578)

  • feat(core): Add getSdkMetadata to Client (#6643)
  • feat(nextjs): Send events consistently on platforms that don't support streaming (#6578)
  • feat(replay): Use new prepareEvent util & ensure dropping replays works (#6522)
  • feat(types): Upstream some replay types (#6506)
  • fix(replay): Envelope send should be awaited in try/catch (#6625)
  • fix(replay): Improve handling of maskAllText selector (#6637)
  • fix(tracing): Don't finish React Router 6 pageload transactions early (#6609)

7.28.1

22 Dec 09:08
Compare
Choose a tag to compare
  • fix(replay): Do not mangle _metadata in client options (#6600)
  • fix(replay): Cater for event processor returning null (#6576)

7.28.0

20 Dec 14:44
Compare
Choose a tag to compare
  • feat(nextjs): Check for Vercel Edge Function GA (#6565)
  • feat(utils): Improved envelope parser (#6580)
  • fix(nextjs): Export Replay from index.server.ts to avoid TS error (#6577)
  • fix(nextjs): Pass this through wrappers (#6572)
  • ref(types): Add undefined as possible event type (#6584)

7.27.0

16 Dec 12:23
Compare
Choose a tag to compare

This release exports the Session Replay integration via @sentry/browser and all framework SDKs building on top of it.
Going forward, the @sentry/replay package doesn't have to be installed explicitly to use Replay.
Furthermore, this release increases the maximim replay session duration from 30 minutes to 1 hour.

  • feat(browser): Export Replay integration from Browser SDK (#6508)
  • feat(replay): Change MAX_SESSION_LIFE to 1 hour (#6561)
  • feat(replay): Do not capture errors originating from rrweb (#6521)
  • feat(replay): Flush immediately on DOM checkouts (#6463)
  • fix(core): Make beforeSend handling defensive for different event types (#6507)
  • fix(replay): Ensure lodash.debounce does not trigger next.js warning (#6551)
  • fix(replay): Make maskAllText selector more specific (#6544)
  • fix(replay): Send dsn in envelope header if tunneling is active (#6568)
  • fix(utils): Don't attach context lines to stack frames without line number (#6549)
  • ref(replay): Send SDK's name in replay event (#6514)

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

7.26.0

13 Dec 16:03
Compare
Choose a tag to compare
  • feat(browser): Export event builder methods for use in other SDKs (#6515)
  • feat(types): Add threads to Event (#6516)
  • feat(nextjs): Add option to automatically tunnel events (#6425)
  • fix(nextjs): Fix automatic release value discovery (#6513)
  • ref(nextjs): Use generic loader to inject global values (#6484)

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

7.25.0

12 Dec 12:21
Compare
Choose a tag to compare
  • feat(core): Add scope.getLastBreadcrumb() (#6495)
  • feat(replay): Allow to opt-in to capture replay exceptions (#6482)
  • feat(tracing): Add interaction transaction as an experiment (#6210)
  • feat(types): Add profile envelope item type (#6468)
  • fix(replay): Replace _waitForError with recordingMode (#6489)
  • ref(replay): Inline lodash dependency into build (#6483)
  • build(core): Do not mangle private methods used by Replay (#6493)

7.24.2

07 Dec 19:02
Compare
Choose a tag to compare
  • fix(replay): Add missing rrweb type declarations (#6464)
  • fix(tracing): Check for otel before loading db module (#6461)
  • fix(tracing): Deprecate and remove reportAllChanges option (#6456)
  • ref(replay): Extract integration to clarify public API (#6457)

7.24.1

07 Dec 12:58
Compare
Choose a tag to compare

This patch corrects an oversight on our end which caused the Sentry Replay integration CDN bundles to be ignored when uploading bundles to our CDN.
If you want to use the Replay CDN bundles, please use version 7.24.1 or newer.

  • fix(react): Add type for React Router's encodeLocation method (#6439)
  • fix(replay): Add CDN bundle path to release artifacts (#6452)
  • fix(tracing): Instrument cursors returned from MongoDB operations. (#6437)
  • ref(angular): Extract zonejs error unwrapper into a dedicated function (#6443)

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

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!