Update sentry-javascript monorepo
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@sentry/react (source) | dependencies | minor | 7.108.0 -> 7.116.0 |
@sentry/tracing (source) | dependencies | minor | 7.108.0 -> 7.114.0 |
Release Notes
getsentry/sentry-javascript (@sentry/react)
v7.116.0
This release publishes a new AWS Lambda layer under the name SentryNodeServerlessSDKv7
that users still running v7 can
use instead of pinning themselves to SentryNodeServerlessSDK:235
.
📦
Bundle size Path | Size |
---|---|
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.83 KB |
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 71.77 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 76.02 KB |
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.38 KB |
@sentry/browser (incl. Tracing) - Webpack (gzipped) | 35.64 KB |
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 35.53 KB |
@sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.6 KB |
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.61 KB |
@sentry/browser - Webpack (gzipped) | 22.78 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 79.04 KB |
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 70.37 KB |
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 36.05 KB |
@sentry/browser - ES6 CDN Bundle (gzipped) | 25.28 KB |
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 221.49 KB |
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 109.08 KB |
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.81 KB |
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 39.33 KB |
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 72.27 KB |
@sentry/react - Webpack (gzipped) | 22.81 KB |
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 90.03 KB |
@sentry/nextjs Client - Webpack (gzipped) | 54.15 KB |
@sentry-internal/feedback - Webpack (gzipped) | 17.34 KB |
v7.115.0
- feat(v7): Add support for global onUnhandled Error/Promise for Bun (#11959)
- fix(replay/v7): Fix user activity not being updated in
start()
(#12003) - ref(api): Remove
lastEventId
deprecation warnings (#12042)
📦
Bundle size Path | Size |
---|---|
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.83 KB |
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 71.77 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 76.02 KB |
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.38 KB |
@sentry/browser (incl. Tracing) - Webpack (gzipped) | 35.64 KB |
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) | 35.53 KB |
@sentry/browser (incl. Feedback) - Webpack (gzipped) | 31.6 KB |
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) | 31.61 KB |
@sentry/browser - Webpack (gzipped) | 22.78 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 79.04 KB |
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 70.37 KB |
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 36.05 KB |
@sentry/browser - ES6 CDN Bundle (gzipped) | 25.28 KB |
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 221.49 KB |
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 109.08 KB |
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 75.81 KB |
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 39.33 KB |
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 72.27 KB |
@sentry/react - Webpack (gzipped) | 22.81 KB |
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 90.03 KB |
@sentry/nextjs Client - Webpack (gzipped) | 54.15 KB |
@sentry-internal/feedback - Webpack (gzipped) | 17.34 KB |
v7.114.0
Important Changes
- fix(browser/v7): Continuously record CLS (#11935)
This release fixes a bug that caused the cumulative layout shift (CLS) web vital not to be reported in a majority of the cases where it should have been reported. With this change, the CLS web vital should now always be reported for pageloads with layout shift. If a pageload did not have layout shift, no CLS web vital should be reported.
Please note that upgrading the SDK to this version may cause data in your dashboards to drastically change.
Other Changes
- build(aws-lambda/v7): Turn off lambda layer publishing (#11875)
- feat(v7): Add
tunnel
support to multiplexed transport (#11851) - fix(opentelemetry-node): support
HTTP_REQUEST_METHOD
attribute (#11929) - fix(react/v7): Fix react router v4/v5 span names (#11940)
v7.113.0
Important Changes
- feat(node): Support Node 22 (#11754)
This release adds support for Node 22!
It also adds prebuilt-binaries for Node 22 to @sentry/profiling-node
.
Other Changes
- feat(feedback): [v7] New feedback button design (#11841)
- feat(replay/v7): Upgrade rrweb packages to 2.15.0 (#11752)
- fix(ember/v7): Ensure unnecessary spans are avoided (#11848)
v7.112.2
- fix(nextjs|sveltekit): Ensure we can pass
browserTracingIntegration
(#11765)
v7.112.1
- fix(ember/v7): Do not create rendering spans without transaction (#11750)
v7.112.0
Important Changes
- feat: Export pluggable integrations from SDK packages (#11723)
Instead of installing @sentry/integrations
, you can now import the pluggable integrations directly from your SDK
package:
// Before
import * as Sentry fromv '@​sentry/browser';
import { dedupeIntegration } from '@​sentry/integrations';
Sentry.init({
integrations: [dedupeIntegration()],
});
// After
import * as Sentry from '@​sentry/browser';
Sentry.init({
integrations: [Sentry.dedupeIntegration()],
});
Note that only the functional integrations (e.g. xxxIntegration()
) are re-exported.
Other Changes
- feat(replay): Add "maxCanvasSize" option for replay canvases (#11732)
- fix(serverless): [v7] Check if cloud event callback is a function (#11734)
v7.111.0
- feat(core): Add
server.address
to browserhttp.client
spans (#11663) - fix: Ensure next & sveltekit correctly handle
browserTracingIntegration
(#11647) - fix(browser): Don't assume window.document is available (#11598)
v7.110.1
- fix(nextjs): Fix
tunnelRoute
matching logic for hybrid cloud (#11577)
v7.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
Hub
class (#11528) - feat(types): Deprecate
Hub
interface (#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
OPTIONS
andHEAD
request. (#11485) - feat(utils): Add metric buckets rate limit (#11506)
- fix(core): unref timer to not block node exit (#11483)
- fix(metrics): Map
statsd
tometric_bucket
(#11505) - fix(spans): Allow zero exclusive time for INP spans (#11408)
- ref(feedback): Configure feedback fonts (#11520)
v7.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
rrweb
to 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/replay
exports (#11242)
Work in this release contributed by @soerface. Thank you for your contribution!
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.