Releases: getsentry/sentry-javascript
7.110.0
Important Changes
- feat(tracing): Add interactions sample rate to browser tracing integrations (#11382)
You can now use a interactionsSampleRate to control the sample rate of INP spans. interactionsSampleRate is applied
on top of the global tracesSampleRate. Therefore if interactionsSampleRate is 0.5 and tracesSampleRate is 0.1,
then the actual sample rate for interactions is 0.05.
Sentry.init({
tracesSampleRate: 0.1,
integrations: [
Sentry.browserTracingIntegration({
interactionsSampleRate: 0.5,
}),
],
});- Deprecations
This release deprecates the Hub class, as well as the addRequestDataToTransaction method. The trpcMiddleware
method is no longer on the Handlers export, but instead is a standalone export.
Please see the detailed Migration docs on how to migrate to the new APIs.
- feat: Deprecate and relocate
trpcMiddleware(#11389) - feat(core): Deprecate
Hubclass (#11528) - feat(types): Deprecate
Hubinterface (#11530) - ref: Deprecate
addRequestDataToTransaction(#11368)
Other Changes
- feat(core): Update metric normalization (#11519)
- feat(feedback): Customize feedback placeholder text color (#11521)
- feat(remix): Skip span creation for
OPTIONSandHEADrequest. (#11485) - feat(utils): Add metric buckets rate limit (#11506)
- fix(core): unref timer to not block node exit (#11483)
- fix(metrics): Map
statsdtometric_bucket(#11505) - fix(spans): Allow zero exclusive time for INP spans (#11408)
- ref(feedback): Configure feedback fonts (#11520)
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.58 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 71.55 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 75.57 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.18 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 35.49 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 35.37 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.57 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.58 KB |
| @sentry/browser - Webpack (gzipped) | 22.78 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 78.76 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 70.12 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 35.9 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.27 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 220.72 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 108.53 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.79 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 39.17 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 72.03 KB |
| @sentry/react - Webpack (gzipped) | 22.81 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 89.87 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 54.01 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.32 KB |
8.0.0-alpha.9
This is the eighth alpha release of Sentry JavaScript SDK v8, which includes a variety of breaking changes.
Read the in-depth migration guide to find out how to address any breaking changes in your code.
Important Changes
- feat: Add @sentry-internal/browser-utils (#11381)
A big part of the browser-runtime specific exports of the internal @sentry/utils package were moved into a new package
@sentry-internal/browser-utils. If you imported any API from @sentry/utils (which is generally not recommended but
necessary for some workarounds), please check that your import statements still point to existing exports after
upgrading.
- feat: Add loader file to node-based SDKs to support ESM monkeypatching (#11338)
When using ESM, it is necessary to use a "loader" to be able to instrument certain third-party packages and Node.js API.
The server-side SDKs now ship with a set of ESM loader hooks, that should be used when using ESM. Use them as follows:
# For Node.js <= 18.18.2
node --experimental-loader=@sentry/node/hook your-app.js
# For Node.js >= 18.19.0
node --import=@sentry/node/register your-app.jsPlease note that due to an upstream bug, these loader hooks will currently crash or simply not work. We are planning to
fix this in upcoming versions of the SDK - definitely before a stable version 8 release.
The Sentry SDK now exports integrations and error middlewares for Koa (koaIntegration(), setupKoaErrorHandler()) and
NestJS (setupNestErrorHandler()) that can be used to instrument your Koa and NestJS applications with error
monitoring.
Removal/Refactoring of deprecated functionality
- feat(core): Remove hub check in isSentryRequestUrl (#11407)
- feat(opentelemetry): Remove top level startActiveSpan (#11380)
- feat(types):
beforeSendandbeforeSendTransactionbreaking changes (#11354) - feat(v8): Remove all class based integrations (#11345)
- feat(v8/core): Remove span.attributes top level field (#11378)
- ref: Remove convertIntegrationFnToClass (#11343)
- ref(node): Remove the old
nodepackage (#11322) - ref(tracing): Remove
span.startChild()(#11376) - ref(v8): Remove
addRequestDataToTransactionutil (#11369) - ref(v8): Remove
argsonHandlerDataXhr(#11373) - ref(v8): Remove
getGlobalObjectutility method (#11372) - ref(v8): Remove
metadataon transaction (#11397) - ref(v8): Remove
pushScope,popScope,isOlderThan,shouldSendDefaultPiifrom hub (#11404) - ref(v8): Remove
shouldCreateSpanForRequestfrom vercel edge options (#11371) - ref(v8): Remove deprecated
_reportAllChangesoption (#11393) - ref(v8): Remove deprecated
scope.getTransaction()(#11365) - ref(v8): Remove deprecated methods on scope (#11366)
- ref(v8): Remove deprecated span & transaction properties (#11400)
- ref(v8): Remove Transaction concept (#11422)
Other Changes
- feat: Add
trpcMiddlewareback to serverside SDKs (#11374) - feat: Implement timed events & remove
transaction.measurements(#11398) - feat(browser): Bump web-vitals to 3.5.2 (#11391)
- feat(feedback): Add
getFeedbackutility to get typed feedback instance (#11331) - feat(otel): Do not sample
optionsandheadrequests (#11467) - feat(remix): Update scope
transactionNamewhen resolving route (#11420) - feat(replay): Bump
rrwebto 2.12.0 (#11314) - feat(replay): Use data sentry element as fallback for the component name (#11383)
- feat(sveltekit): Update scope
transactionNamewhen pageload route name is updated (#11406) - feat(tracing-internal): Reset propagation context on navigation (#11401)
- feat(types): Add View Hierarchy types (#11409)
- feat(utils): Use
globalThis(#11351) - feat(vue): Update scope's
transactionNamewhen resolving a route (#11423) - fix(core): unref timer to not block node exit (#11430)
- fix(node): Fix baggage propagation (#11363)
- fix(web-vitals): Check for undefined navigation entry (#11311)
- ref: Set preserveModules to true for browser packages (#11452)
- ref(core): Remove duplicate logic in scope.update (#11384)
- ref(feedback): Add font family style to actor (#11432)
- ref(feedback): Add font family to buttons (#11414)
- ref(gcp-serverless): Remove setting
.__sentry_transaction(#11346) - ref(nextjs): Replace multiplexer with conditional exports (#11442)
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) | 75.65 KB |
| @sentry/browser (incl. Tracing, Replay) | 66.86 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 70.73 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 60.44 KB |
| @sentry/browser (incl. Tracing) | 31.75 KB |
| @sentry/browser (incl. browserTracingIntegration) | 31.75 KB |
| @sentry/browser (incl. feedbackIntegration) | 30.88 KB |
| @sentry/browser (incl. feedbackModalIntegration) | 30.9 KB |
| @sentry/browser (incl. feedbackScreenshotIntegration) | 30.9 KB |
| @sentry/browser (incl. sendFeedback) | 26.89 KB |
| @sentry/browser | 22.1 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 71.27 KB |
| CDN Bundle (incl. Tracing, Replay) | 66.03 KB |
| CDN Bundle (incl. Tracing) | 32.33 KB |
| CDN Bundle | 23.76 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 205.79 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 96.4 KB |
| CDN Bundle - uncompressed | 70.17 KB |
| @sentry/react (incl. Tracing, Replay) | 66.99 KB |
| @sentry/react | 22.12 KB |
7.109.0
This release deprecates some exports from the @sentry/replay package. These exports have been moved to the browser SDK
(or related framework SDKs like @sentry/react).
- feat(feedback): Make "required" text for input elements configurable (#11287)
- feat(node): Add scope to ANR events (#11267)
- feat(replay): Bump
rrwebto 2.12.0 (#11317) - fix(node): Local variables skipped after Promise (#11248)
- fix(node): Skip capturing Hapi Boom error responses (#11324)
- fix(web-vitals): Check for undefined navigation entry (#11312)
- ref(replay): Deprecate
@sentry/replayexports (#11242)
Work in this release contributed by @soerface. Thank you for your contribution!
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.48 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 71.47 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 75.49 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.11 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 35.41 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 35.29 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.52 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.53 KB |
| @sentry/browser - Webpack (gzipped) | 22.74 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 78.59 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 69.97 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 35.77 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.17 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 220.31 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 108.12 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.48 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 39 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 71.97 KB |
| @sentry/react - Webpack (gzipped) | 22.77 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 89.81 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 53.95 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.3 KB |
8.0.0-alpha.7
This is the seventh alpha release of Sentry JavaScript SDK v8, which includes a variety of breaking changes.
Read the in-depth migration guide to find out how to address any breaking changes in your code.
Important Changes
- feat(nextjs): Use OpenTelemetry for performance monitoring and tracing (#11016)
We now use OpenTelemetry under the hood to power performance monitoring and tracing in the Next.js SDK.
- feat(v8/gatsby): Update SDK initialization for gatsby (#11292)
In v8, you cannot initialize the SDK anymore via Gatsby plugin options. Instead, you have to configure the SDK in a
sentry.config.js file.
We also removed the automatic initialization of browserTracingIntegration. You now have to add this integration
yourself.
Removal/Refactoring of deprecated functionality
- feat(v8): Remove addGlobalEventProcessor (#11255)
- feat(v8): Remove deprecated span id fields (#11180)
- feat(v8): Remove makeMain export (#11278)
- feat(v8/core): Remove deprecated span.sampled (#11274)
- feat(v8/core): Remove getActiveTransaction (#11280)
- feat(v8/core): Remove spanMetadata field (#11271)
- feat(v8/ember): Remove deprecated StartTransactionFunction (#11270)
- feat(v8/replay): Remove deprecated replay options (#11268)
- feat(v8/svelte): Remove deprecated componentTrackingPreprocessor export (#11277)
- ref: Remove more usages of getCurrentHub in the codebase (#11281)
- ref(core): Remove
scope.setSpan()andscope.getSpan()methods (#11051) - ref(profiling-node): Remove usage of getCurrentHub (#11275)
- ref(v8): change integration.setupOnce signature (#11238)
- ref: remove node-experimental references (#11290)
Other Changes
- feat(feedback): Make "required" text for input elements configurable (#11152) (#11153)
- feat(feedback): Update user feedback screenshot and cropping to align with designs (#11227)
- feat(nextjs): Remove
runtimeandverceltags (#11291) - feat(node): Add scope to ANR events (#11256)
- feat(node): Do not include
prismaIntegrationby default (#11265) - feat(node): Ensure
tracePropagationTargetsare respected (#11285) - feat(node): Simplify
SentrySpanProcessor(#11273) - feat(profiling): Use OTEL powered node package (#11239)
- feat(utils): Allow text encoder/decoder polyfill from global SENTRY (#11283)
- fix(nextjs): Show misconfiguration warning (no
instrumentation.ts) (#11266) - fix(node): Add logs when node-fetch cannot be instrumented (#11289)
- fix(node): Skip capturing Hapi Boom error responses. (#11151)
- fix(node): Use
suppressTracingto avoid capturing otel spans (#11288) - fix(opentelemetry): Do not stomp span status when
startSpancallback throws (#11170)
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) | 80.54 KB |
| @sentry/browser (incl. Tracing, Replay) | 71.88 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 75.68 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 65.44 KB |
| @sentry/browser (incl. Tracing) | 36.71 KB |
| @sentry/browser (incl. browserTracingIntegration) | 36.71 KB |
| @sentry/browser (incl. feedbackIntegration) | 31.38 KB |
| @sentry/browser (incl. feedbackModalIntegration) | 31.5 KB |
| @sentry/browser (incl. feedbackScreenshotIntegration) | 31.51 KB |
| @sentry/browser (incl. sendFeedback) | 27.45 KB |
| @sentry/browser | 22.61 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 74.98 KB |
| CDN Bundle (incl. Tracing, Replay) | 69.8 KB |
| CDN Bundle (incl. Tracing) | 36.35 KB |
| CDN Bundle | 23.97 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 219.11 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 109.67 KB |
| CDN Bundle - uncompressed | 70.94 KB |
| @sentry/react (incl. Tracing, Replay) | 71.86 KB |
| @sentry/react | 22.63 KB |
8.0.0-alpha.5
This is the fifth alpha release of Sentry JavaScript SDK v8, which includes a variety of breaking changes.
Read the in-depth migration guide to find out how to address any breaking changes in your code.
Important Changes
- feat(nextjs): Remove
client.(server|client).config.tsfunctionality in favor ofinstrumentation.ts(#11059)- feat(nextjs): Bump minimum required Next.js version to
13.2.0(#11097)
- feat(nextjs): Bump minimum required Next.js version to
With version 8 of the SDK we will no longer support the use of sentry.server.config.ts and sentry.edge.config.ts
files. Instead, please initialize the Sentry Next.js SDK for the serverside in a
Next.js instrumentation hook.
sentry.client.config.ts|js is still supported and encouraged for initializing the clientside SDK. Please see the
Migration Guide for more details.
In addition, the Next.js SDK now requires a minimum Next.js version of 13.2.0.
- feat(v8/angular): Merge angular and angular-ivy packages and start Angular support at v14 (#11091)
The @sentry/angular-ivy package has been removed. The @sentry/angular package now supports Ivy by default and
requires at least Angular 14. See the Migration Guide for more
details.
Removal/Refactoring of deprecated functionality
- feat(aws-serverless): Remove deprecated
rethrowAfterCaptureoption (#11126) - feat(node): Remove deprecated/duplicate/unused definitions (#11120)
- feat(v8): Remove deprecated integration methods on client (#11134)
- feat(v8/browser): Remove class export for linked errors (#11129)
- feat(v8/browser): Remove deprecated wrap export (#11127)
- feat(v8/core): Remove deprecated client.setupIntegrations method (#11179)
- feat(v8/core): Remove deprecated integration classes (#11132)
- feat(v8/ember): Remove InitSentryForEmber export (#11202)
- feat(v8/nextjs): Remove usage of class integrations (#11182)
- feat(v8/replay): Delete deprecated types (#11177)
- feat(v8/utils): Remove deprecated util functions (#11143)
- ref(node): Remove class based export for local variable integration (#11128)
Other Changes
- feat(browser): Make fetch the default transport for offline (#11209)
- feat(core): Filter out noisy GoogleTag error by default (#11208)
- feat(deps): Bump @sentry/cli from 2.30.0 to 2.30.2 (#11168)
- feat(nextjs): Prefix webpack plugin log messages with runtime (#11173)
- feat(node-profiling): Output ESM and remove Sentry deps from output (#11135)
- feat(node): Allow Anr worker to be stopped and restarted (#11214)
- feat(node): Support
tunneloption for ANR (#11163) - feat(opentelemetry): Do not capture exceptions for timed events (#11221)
- feat(serverless): Add Node.js 20 to compatible runtimes (#11103)
- feat(sveltekit): Switch to Otel-based
@sentry/nodepackage (#11075) - fix(attachments): Add missing
view_hierarchyattachment type (#11197) - fix(build): Ensure tree shaking works properly for ESM output (#11122)
- fix(feedback): Only allow screenshots in secure contexts (#11188)
- fix(feedback): Reduce force layout in screenshots (#11181)
- fix(feedback): Smoother cropping experience and better UI (#11165)
- fix(feedback): Fix screenshot black bars in Safari (#11233)
- fix(metrics): use correct statsd data category (#11184)
- fix(metrics): use web-vitals ttfb calculation (#11185)
- fix(node): Export
initOpenTelemetry(#11158) - fix(node): Clear ANR timer on stop (#11229)
- fix(node): Time zone handling for
cron(#11225) - fix(node): Use unique variable for ANR context transfer (#11161)
- fix(opentelemetry): Do not stomp span error status (#11169)
- fix(types): Fix incorrect
sampledtype onTransaction(#11115)
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) | 80.9 KB |
| @sentry/browser (incl. Tracing, Replay) | 72.24 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 76.04 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 65.81 KB |
| @sentry/browser (incl. Tracing) | 36.83 KB |
| @sentry/browser (incl. browserTracingIntegration) | 36.83 KB |
| @sentry/browser (incl. feedbackIntegration) | 31.35 KB |
| @sentry/browser (incl. feedbackModalIntegration) | 31.47 KB |
| @sentry/browser (incl. feedbackScreenshotIntegration) | 31.48 KB |
| @sentry/browser (incl. sendFeedback) | 27.43 KB |
| @sentry/browser | 22.6 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 75.21 KB |
| CDN Bundle (incl. Tracing, Replay) | 70.05 KB |
| CDN Bundle (incl. Tracing) | 36.41 KB |
| CDN Bundle | 23.97 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 220.04 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 109.98 KB |
| CDN Bundle - uncompressed | 71 KB |
| @sentry/react (incl. Tracing, Replay) | 72.22 KB |
| @sentry/react | 22.63 KB |
7.108.0
This release fixes issues with Time to First Byte (TTFB) calculation in the SDK that was introduced with 7.95.0. It
also fixes some bugs with Interaction to First Paint (INP) instrumentation. This may impact your Sentry Performance
Score calculation.
- feat(serverless): Add Node.js 20 to compatible runtimes (#11104)
- feat(core): Backport
ResizeObserverandgoogletagdefault filters (#11210) - feat(webvitals): Adds event entry names for INP handler. Also guard against empty metric value
- fix(metrics): use correct statsd data category (#11187)
- fix(node): Record local variables with falsy values (v7) (#11190)
- fix(node): Use unique variable for ANR context transfer (v7) (#11162)
- fix(node): Time zone handling for
cron(#11225) - fix(tracing): use web-vitals ttfb calculation (#11231)
- fix(types): Fix incorrect
sampledtype onTransaction(#11146) - fix(webvitals): Fix mapping not being maintained properly and sometimes not sending INP spans (#11183)
Work in this release contributed by @quisido and @joshkel. Thank you for your contributions!
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.45 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 71.47 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 75.47 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.1 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 35.4 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 35.29 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.49 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.5 KB |
| @sentry/browser - Webpack (gzipped) | 22.74 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 78.55 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 69.97 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 35.77 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.17 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 220.29 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 108.1 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.48 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 38.99 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 71.96 KB |
| @sentry/react - Webpack (gzipped) | 22.77 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 89.81 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 53.95 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.28 KB |
7.107.0
This release fixes issues with INP instrumentation with the Next.js SDK and adds support for the enableInp option in
the deprecated BrowserTracing integration for backwards compatibility.
- feat(performance): Port INP span instrumentation to old browser tracing (#11085)
- fix(ember): Ensure browser tracing is correctly lazy loaded (#11027)
- fix(node): Do not assert in vendored proxy code (v7 backport) (#11009)
- fix(react): Set
handledvalue in ErrorBoundary depending on fallback [v7] (#11037)
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 79.95 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 71.06 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 75.04 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 64.7 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 35.02 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 34.9 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.44 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.45 KB |
| @sentry/browser - Webpack (gzipped) | 22.68 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 78.18 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 69.57 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 35.34 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.11 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 219.07 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 106.88 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.38 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 38.62 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 71.53 KB |
| @sentry/react - Webpack (gzipped) | 22.71 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 89.35 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 53.51 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.28 KB |
7.106.1
- fix(nextjs/v7): Use passthrough
createReduxEnhanceron server (#11010)
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 78.71 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.87 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 73.83 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 63.48 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.84 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 34.88 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.44 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.45 KB |
| @sentry/browser - Webpack (gzipped) | 22.68 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 76.98 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 68.4 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 34.2 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.11 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 215.54 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 103.35 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.38 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 37.38 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 70.25 KB |
| @sentry/react - Webpack (gzipped) | 22.71 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 89.13 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 53.3 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.28 KB |
7.106.0
- feat(nextjs): Support Hybrid Cloud DSNs with
tunnelRouteoption (#10958) - feat(remix): Add Vite dev-mode support to Express instrumentation (#10811)
- fix(core): Undeprecate
setTransactionName - fix(browser): Don't use chrome variable name (#10874)
- fix(nextjs): Client code should not use Node
global(#10925) - fix(node): support undici headers as strings or arrays (#10938)
- fix(types): Add
AttachmentTypeand use for envelopeattachment_typeproperty (#10946) - ref(ember): Avoid namespace import to hopefully resolve minification issue (#10885)
- chore(sveltekit): Fix punctuation in a console.log (#10895)
Work in this release contributed by @jessezhang91 and @bfontaine. Thank you for your contributions!
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 78.71 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 69.87 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 73.83 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 63.48 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 33.84 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 34.88 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.44 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.45 KB |
| @sentry/browser - Webpack (gzipped) | 22.68 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 76.98 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 68.4 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 34.2 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 25.11 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 215.54 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 103.35 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.38 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 37.38 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 70.25 KB |
| @sentry/react - Webpack (gzipped) | 22.71 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 89.13 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 53.3 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.28 KB |
8.0.0-alpha.2
This alpha release fixes a build problem that prevented 8.0.0-alpha.1 from being properly released.
Important Changes
- feat: Remove
@sentry/opentelemetry-nodepackage (#10906)
The @sentry/opentelemetry-node package has been removed. Instead, you can either use @sentry/node with built-in
OpenTelemetry support, or use @sentry/opentelemetry to manually connect Sentry with OpenTelemetry.
Removal/Refactoring of deprecated functionality
- ref: Refactor some deprecated
startSpanoptions (#10825) - feat(v8/core): remove void from transport return (#10794)
- ref(integrations): Delete deprecated class integrations (#10887)
Other Changes
- feat(core): Use serialized spans in transaction event (#10912)
- feat(deps): bump @sentry/cli from 2.28.6 to 2.29.1 (#10908)
- feat(node): Allow to configure
skipOpenTelemetrySetup(#10907) - feat(esm): Import rather than require
inspector(#10910) - fix(browser): Don't use chrome variable name (#10874)
- chore(sveltekit): Fix punctuation in a console.log (#10895)
- fix(opentelemetry): Ensure DSC propagation works correctly (#10904)
- feat(browser): Exclude span exports from non-performance CDN bundles (#10879)
- ref: Refactor span status handling to be OTEL compatible (#10871)
- feat(core): Fix span scope handling & transaction setting (#10886)
- ref(ember): Avoid namespace import to hopefully resolve minification issue (#10885)
Work in this release contributed by @harish-talview & @bfontaine. Thank you for your contributions!
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 77.16 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 68.39 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 72.32 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 61.94 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 32.65 KB |
| @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 32.65 KB |
| @sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.01 KB |
| @sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.02 KB |
| @sentry/browser - Webpack (gzipped) | 22.25 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 75.31 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 66.96 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 32.85 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 23.83 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 210.15 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 99.01 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 71.03 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 35.94 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 68.68 KB |
| @sentry/react - Webpack (gzipped) | 22.28 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 85.1 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 49.51 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 17.1 KB |