Releases: getsentry/sentry-javascript
7.20.0
- 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
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
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
7.17.3
7.17.2
7.17.1
This release standardizes our SDKs to use the MIT License, which is our standard license for Sentry SDKs. We were previously using the BSD 3-Clause License in @sentry/browser
,@sentry/core
, @sentry/gatsby
, @sentry/hub
, @sentry/integrations
, @sentry/node
, @sentry/react
, @sentry/types
, @sentry/typescript
, and @sentry/utils
.
This release also updates the behaviour of tracingOrigins
to no longer affect span creation. tracingOrigins
will only affect if sentry-trace
and baggage
headers are attached to outgoing requests. To control span creation, use the shouldCreateSpanForRequest
option.
- chore: Standardize SDKs on MIT License (#5993)
- feat(nextjs): Add Next 13 to peer dependencies and integration tests (#6042)
- feat(remix): Enable
RequestData
integration for server-side requests (#6007) - feat(tracing): Update to Web Vitals v3 (#5987)
- feat(tracing): Allow for spanId to be passed into startChild (#6028)
- fix(browser): Handle case where fetch can be undefined (#5973)
- fix(build): Prevent Rollup from adding
[Symbol.toStringTag]: 'Module'
to CJS files (#6043) - fix(nextjs): Match loader files exactly (#6013)
- fix(react): Update types to match react router 6.4 updates (#5992)
- fix(tracing): Align missing express span operation names (#6036)
- fix(tracing): Don't consider
tracingOrigins
when creating spans (#6039) - fix(utils): Remove
WINDOW
from utils (#6024) - fix(vue): Fix vue3 render warning loop (#6014)
- fix(vue): Don't overwrite custom transaction names of pageload transactions (#6060)
- ref(node): Make
RequestData
integration default (#5980) - ref(node): Use
RequestData
integration in express handlers (#5990) - ref(serverless): Use RequestData integration in GCP wrapper (#5991)
Work in this release contributed by @philipatkinson, @Rockergmail, @ys-zhifu, and @koenpunt. Thank you for your contributions!
Special shoutout to @Tofandel who helped fix a bug in Jest that was affecting the Sentry JavaScript SDKs!
7.17.0
7.16.0
This release adds the withSentryConfig
feature to the Svelte SDK. It replaces the now deprecated Svelte componentTrackingPreprocessor
which will be removed in the next major release.
- feat(node): Export Span type from
@sentry/types
(#5982) - feat(svelte): Add
withSentryConfig
function to wrap User Svelte Configuration (#5936) - fix(nextjs): Correctly apply auto-instrumentation to pages in
src
folder (#5984) - fix(nextjs): Fix typing issue with
withSentryConfig
andNextConfig
(#5967) - fix(react): Support root and wildcard routes in react router v6 (#5971)
- fix(remix): Add yargs dependency for uploading sourcemaps (#5926)
- fix(svelte): Track components without script tags (#5957)
- fix(utils): Rename
global.ts
->worldwide.ts
(#5969) - fix(vue): Start pageload transaction earlier to capture missing spans (#5983)
- ref(build): Remove
constToVarPlugin
(#5970) - ref(nextjs): Don't assert existance of
pageProps
in_app
(#5945) - ref(utils): Deprecate
getGlobalObject
as it's no longer used (#5949)
Work in this release contributed by @jeengbe. Thank you for your contribution!
7.15.0
This release deprecates @sentry/hub
and all of it's exports. All of the @sentry/hub
exports have moved to @sentry/core
. @sentry/hub
will be removed in the next major release.
- feat(ember): Add ember-engine-router support (#5905)
- feat(nextjs): Enable
autoInstrumentServerFunctions
per default (#5919) - feat(tracing): Make BrowserTracing heartbeat interval configurable (#5867)
- fix(node): Remove Cookie header from requestdata.headers if cookies should not be sent to Sentry (#5898)
- fix(remix): Rework dynamic imports of
react-router-dom
(#5897) - fix(utils): Accept DSN URLs with empty password (#5902)
- fix(vue): Finish spans in component tracking before starting new ones for same operation (#5918)
- ref(hub): Move
@sentry/hub
code to@sentry/core
(#5823)
Work in this release contributed by @outsideris and @JonasKruckenberg. Thank you for your contributions!