Official Sentry SDKs for JavaScript
MIT License
Bot releases are visible (Hide)
Published by getsentry-bot almost 2 years ago
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.
beforeSendTransaction
(#6121)OnUncaughtException
integration that allows mimicking native uncaught error exit behaviour (#6137)tracePropagationTargets
option to browser routing instrumentation (#6080)onUncaughtException
integration to remain excluded (#6148)uncaughtException
-handlers are registered (#6138)Published by getsentry-bot almost 2 years ago
getServerRequestHandler
(#6072)Published by getsentry-bot almost 2 years ago
onCLS()
(#6091)Published by getsentry-bot almost 2 years ago
tracingOrigins
not applying (#6079)Published by getsentry-bot almost 2 years ago
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.
RequestData
integration for server-side requests (#6007)[Symbol.toStringTag]: 'Module'
to CJS files (#6043)tracingOrigins
when creating spans (#6039)WINDOW
from utils (#6024)RequestData
integration default (#5980)RequestData
integration in express handlers (#5990)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!
Published by getsentry-bot about 2 years ago
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.
@sentry/types
(#5982)withSentryConfig
function to wrap User Svelte Configuration (#5936)src
folder (#5984)withSentryConfig
and NextConfig
(#5967)global.ts
-> worldwide.ts
(#5969)constToVarPlugin
(#5970)pageProps
in _app
(#5945)getGlobalObject
as it's no longer used (#5949)Work in this release contributed by @jeengbe. Thank you for your contribution!
Published by getsentry-bot about 2 years ago
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.
autoInstrumentServerFunctions
per default (#5919)react-router-dom
(#5897)@sentry/hub
code to @sentry/core
(#5823)Work in this release contributed by @outsideris and @JonasKruckenberg. Thank you for your contributions!
Published by getsentry-bot about 2 years ago
Work in this release contributed by @outsideris. Thank you for your contributions!
Published by getsentry-bot about 2 years ago
DeviceContext.boot_time
if os.uptime()
is valid (#5859)resolvers
is not defined in ApolloServer
config (#5850)Published by getsentry-bot about 2 years ago
getGlobalObject
(#5809)pathname
being passed in object in instrumentServer
(#5782)nextjs.data.server
ops (#5830)react-router-dom
in Express wrapper. (#5810)connection.downlink
measurement (#5794)withSentry
in all backend wrappers (#5814)RequestData
integration for errors (#5729)@sentry/node
(#5759)Work in this release contributed by @Auspicus and @dagroe. Thank you for your contributions!
Published by getsentry-bot about 2 years ago
keepalive
flag (#5697)normalizeDepth
option when creating an event from a plain objectnormalizeDepth
when creating an event from unknown inputPublished by getsentry-bot about 2 years ago
contexts
cannot be overridden and culture
never included (#5677)Published by getsentry-bot about 2 years ago
This release adds an environment check in @sentry/nextjs
for Vercel deployments (using the VERCEL_ENV
env variable), and only enables SentryWebpackPlugin
if the environment is production
. To override this, setting disableClientWebpackPlugin
or disableServerWebpackPlugin
to false
now takes precedence over other checks, rather than being a no-op. Note: Overriding this is not recommended! It can increase build time and clog Release Health data in Sentry with inaccurate noise.
RewriteFrames
(#5625)getInitialProps
and getServerSideProps
(#5593)getInitialProps
of _app
, _document
and _error
(#5604)event.contexts
for Node.js (#5512)Work in this release contributed by @lucas-zimerman, @GJZwiers, and @mohd-akram. Thank you for your contributions!
Published by getsentry-bot about 2 years ago
Published by getsentry-bot about 2 years ago
This release introduces updates the tracingOrigins
option to not attach any headers/create an spans when supplied with an empty array ([]
). Previously, we would supply the default tracingOrigins
if an empty array was set as the tracingOrigins
option.
SentryError
isn't an error (#5562)getInitialProps
(#5587)Published by getsentry-bot about 2 years ago
This release introduces the first alpha version of @sentry/svelte
, our newest JavaScript SDK! For details on how to use it, please see the README and the tracking GitHub issue.
json
responses from root loader functions. (#5548)autoWrapDataFetchers
option into experiments
object (#5540)Work in this release contributed by @augustuswm. Thank you for your contribution!
Published by getsentry-bot about 2 years ago
This release adds the tracePropagationTargets
option to the Sentry Node SDK.
tracePropagationTargets
option (#5521):
as a part of gecko protocol regex group. (#4153)transpileClientSDK
option from correct location (#5516)sentry-trace
and baggage
via root loader. (#5509)NextConfigObject
type (#5514)Published by getsentry-bot about 2 years ago
distDir
value back into index.server.ts
(#5479)Published by getsentry-bot about 2 years ago
This release adds the transpileClientSDK
flag to the Next.JS SDK Webpack config. This option makes WebPack transpile the SDK code to the same transpilation level as the user code. By specifying this option, the Next.JS SDK works in older browsers that do not support ES6 or ES6+ (e.g. object spread) features.
captureUnderscoreErrorException
argument type (#5463)eval
when checking for sentry-cli
binary (#5447)isBuild
into an exported function (#5444)_error.js
(#5378)RewriteFrames
helper value (#5445)Work in this release contributed by @mitchheddles. Thank you for your contribution!