Official Sentry SDKs for JavaScript
MIT License
Bot releases are visible (Hide)
Published by getsentry-bot over 1 year ago
sentryHandle
(#7598)This release adds support for Performance Monitoring in our SvelteKit SDK for the client/server. We've also changed how you should initialize your SDK. Please read our updated SvelteKit README instructions for more details.
ignoreTransactions
option (#7594)You can now easily filter out certain transactions from being sent to Sentry based on their name.
Sentry.init({
ignoreTransactions: ['/api/healthcheck', '/ping'],
})
We've added an integration that automatically instruments Undici and Node server side fetch. This supports Undici v4.7.0
or higher and requires Node v16.7.0
or higher. After adding the integration outgoing requests made by Undici will have associated spans and breadcrumbs in Sentry.
Sentry.init({
integrations: [new Sentry.Integrations.Undici()],
})
In our Next.js and SvelteKit SDKs, this integration is automatically added.
We've added a new middleware for trpc that automatically adds TRPC information to Sentry transactions. This middleware is meant to be used in combination with a Sentry server integration (Next.js, Express, etc).
import { initTRPC } from '@trpc/server';
import * as Sentry from '@sentry/node';
const t = initTRPC.context().create();
const sentryMiddleware = t.middleware(
Sentry.Handlers.trpcMiddleware({
attachRpcInput: true,
}),
);
const sentrifiedProcedure = t.procedure.use(sentryMiddleware);
@sentry/tracing
packageWith 7.46.0
you no longer require the @sentry/tracing
package to use tracing and performance monitoring with the Sentry JavaScript SDKs. The @sentry/tracing
package will be removed in a future major release, but can still be used with no changes.
Please see the Migration docs for more details.
LocalVariables
integration (#7637)This fixes a memory leak in the opt-in LocalVariables
integration, which adds local variables to the stacktraces sent to Sentry. The minimum recommended version to use the LocalVariables
is now 7.46.0
.
responseStatus
, decodedBodySize
to perf entries (#7613)pageload
transaction starts at timeOrigin (#7632)abs_path
from stack trace (reverting #7167) (#7623)NEXT_NOT_FOUND
and NEXT_REDIRECT
errors (#7642)abs_path
frames (#7619)beforeFiles
in rewrites (#7649)Work in this release contributed by @aldenquimby and @bertho-zero. Thank you for your contributions!
Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 20.62 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 64.4 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.15 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 56.78 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.53 KB |
@sentry/browser - Webpack (minified) | 72 KB |
@sentry/react - Webpack (gzipped + minified) | 21.55 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 52.05 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.21 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.41 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 44.74 KB |
@sentry/replay - Webpack (gzipped + minified) | 38.86 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 63.46 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 56.49 KB |
Published by getsentry-bot over 1 year ago
replay_id
to transaction DSC (#7571)ignoreErrors
only applies to error events (#7573)Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 20.57 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 64.2 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.13 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 56.58 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.59 KB |
@sentry/browser - Webpack (minified) | 71.66 KB |
@sentry/react - Webpack (gzipped + minified) | 21.61 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 51.88 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 27.93 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.1 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 44.33 KB |
@sentry/replay - Webpack (gzipped + minified) | 38.39 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 62.54 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 56.06 KB |
Published by getsentry-bot over 1 year ago
Published by getsentry-bot over 1 year ago
Published by getsentry-bot over 1 year ago
This release introduces the first alpha version of @sentry/sveltekit
, our newest JavaScript SDK for Sveltekit. Check out the README for usage instructions and what to expect from this alpha release.
request_body_size
& response_body_size
to fetch/xhr (#7407)rrweb
and rrweb-player
(#7508)handleError
wrapper (#7411)handleError
wrapper (#7406)init
functions (#7408)Sentry.init
calls into server and client bundles (#7391)BrowserTracing
in non-tracing bundles (#7479)RewriteFrames
(#7506)window.location
for SSR environments (#7518)Replay rrweb
changes:
@sentry-internal/rrweb
was updated from 1.105.0 to 1.106.0:
Work in this release contributed by @woochanleee and @baked-dev. Thank you for your contribution!
Published by getsentry-bot over 1 year ago
profilesSampler
option to node client type (#7385)Array.findIndex()
as it is ES5 incompatible (#7400)require
call to fix monkey patching (#7430)Published by getsentry-bot over 1 year ago
cause
to send exceptions (#7350)originalException
has type unknown
(#7361)Object.values()
(#7360)normalizeDepth
(#7379)require
calls (#7377)Replay rrweb
changes:
@sentry-internal/rrweb
was updated from 1.104.1 to 1.105.0 (#7314):
Published by getsentry-bot over 1 year ago
environment
everywhere (#7327)routeLabel: 'path'
to opt-out of using name (#7326)X-Forwarded-For
Http header (#7329)Work in this release contributed by @OliverJAsh. Thank you for your contribution!
Published by getsentry-bot over 1 year ago
Published by getsentry-bot over 1 year ago
This release adds a new package, @sentry/angular-ivy
, which is our Angular SDK with full support for Angular's rendering engine, Ivy.
This release also adds a new enableTracing
option, which can be used instead of tracesSampleRate
for an easier setup.
Related to this, the hasTracingEnabled
utility function was moved from @sentry/tracing
to @sentry/core
.
The old export from @sentry/tracing
has been deprecated and will be removed in v8.
debug_meta
(#7168)VERCEL_ENV
as environment (#7227)enableTracing
option (#7238)Replay rrweb
changes:
@sentry-internal/rrweb
was updated from 1.103.0 to 1.104.1 (#7238):
typings/types
(#60)autoplay
attribute from audio/video tags (#59)modulepreload
as well (#52)maskAllInputs:false
(#61)rootShadowHost
check (#50)Published by getsentry-bot over 1 year ago
abs_path
into stack frame object (#7167)Offline
integration (#7063)PerformanceResourceTiming.renderBlockingStatus
(#7127)maxWait
(#7207, #7208)Work in this release contributed by @lucas-zimermann. Thank you for your contribution!
Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 20.05 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 62.14 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 18.68 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 55.29 KB |
@sentry/browser - Webpack (gzipped + minified) | 20.41 KB |
@sentry/browser - Webpack (minified) | 66.73 KB |
@sentry/react - Webpack (gzipped + minified) | 20.44 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 47.78 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 26.93 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 25.2 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 42.57 KB |
@sentry/replay - Webpack (gzipped + minified) | 36.78 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 60.2 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 53.8 KB |
Published by getsentry-bot over 1 year ago
This release includes changes and fixes around text masking and blocking in Replay's rrweb
dependency. See versions 1.102.0 and 1.103.0.
blockSelector
for blocking elements as wellaria-label
textarea
maskAllText
optionSDK Changes:
Published by getsentry-bot over 1 year ago
async
in stack frame urls (#7131)this
in http integration (#7135)defaultStackParser
from tracing CDN bundles (#7116)Published by getsentry-bot over 1 year ago
LocalVariables
, Improve frame matching for ESM (#7049)Work in this release contributed by @JamesHenry. Thank you for your contribution!
Published by getsentry-bot over 1 year ago
This Release re-introduces the accidentally removed but still deprecated maskInputOptions
option for Session Replay.
Furthermore, replays are now stopped instead of paused when a rate limit is encountered.
maskInputOptions
(#6981)BaseClient
integrations added after init (#7011)Published by getsentry-bot over 1 year ago
Session Replay is deprecating privacy options in favor of a more streamlined API. Please see the Replay migration guide for further information.
Additionally, the following configuration options will no longer be configurable: slimDOMOptions
, recordCanvas
, inlineStylesheet
, collectFonts
, inlineImages
.
ErrorBoundary
, withErrorBoundary
and showReportDialog
(#6987)_app
instead of main
(#7009)scope.getLastBreadcrumb
if available (#6969)Work in this release contributed by @boblauer. Thank you for your contribution!
Published by getsentry-bot over 1 year ago
This release adds automatic injection of the Next.js SDK into serverside app
directory bundles, allowing users to call the Sentry SDK in server components.
app
directory (#6927)\
(#6932)Work in this release contributed by @mdtro. Thank you for your contribution!
Published by getsentry-bot over 1 year ago
This release is a preview build to test out SDK support for the server-side Next.js app
directory.
Published by getsentry-bot over 1 year ago
With this release, the sample rate for Session Replays will default to 0. We recommend explicitly setting the sample rate via the replaysSessionSampleRate
and replaysOnErrorSampleRate
options.
Published by getsentry-bot over 1 year ago