Releases: getsentry/sentry-javascript
7.27.0
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
- 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
- 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
withrecordingMode
(#6489) - ref(replay): Inline lodash dependency into build (#6483)
- build(core): Do not mangle private methods used by Replay (#6493)
7.24.2
7.24.1
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
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
forassetPrefix
if needed (#6424) - fix(node): Move
profilesSampleRate
intoBaseNodeOptions
(#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
- 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
- feat(core): Pass
event
as third argument torecordDroppedEvent
(#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
7.21.0
- 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
toinstrumentOutgoingRequests
(#6259)