Releases: getsentry/sentry-javascript
Releases Β· getsentry/sentry-javascript
9.31.0
Important Changes
- feat(nextjs): Add option for auto-generated random tunnel route (#16626)
Adds an option to automatically generate a random tunnel route for the Next.js SDK. This helps prevent ad blockers and other tools from blocking Sentry requests by using a randomized path instead of the predictable /monitoring
endpoint.
- feat(core): Allow to pass
scope
& client
to getTraceData
(#16633)
Adds the ability to pass custom scope
and client
parameters to the getTraceData
function, providing more flexibility when generating trace data for distributed tracing.
Other Changes
- feat(core): Add support for
x-forwarded-host
and x-forwarded-proto
headers (#16687)
- deps: Remove unused
@sentry/opentelemetry
dependency (#16677)
- deps: Update all bundler plugin instances to latest & allow caret ranges (#16641)
- feat(deps): Bump @prisma/instrumentation from 6.8.2 to 6.9.0 (#16608)
- feat(flags): add node support for generic featureFlagsIntegration and move utils to core (#16585)
- feat(flags): capture feature flag evaluations on spans (#16485)
- feat(pino): Add initial package for
@sentry/pino-transport
(#16652)
- fix: Wait for the correct clientWidth/clientHeight when showing Feedback Screenshot previews (#16648)
- fix(browser): Remove usage of Array.at() method (#16647)
- fix(core): Improve
safeJoin
usage in console logging integration (#16658)
- fix(google-cloud-serverless): Make
CloudEvent
type compatible (#16661)
- fix(nextjs): Fix lookup of
instrumentation-client.js
file (#16637)
- fix(node): Ensure graphql errors result in errored spans (#16678)
Bundle size π¦
Path |
Size |
@sentry/browser |
23.42 KB |
@sentry/browser - with treeshaking flags |
23.2 KB |
@sentry/browser (incl. Tracing) |
37.89 KB |
@sentry/browser (incl. Tracing, Replay) |
75.13 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags |
68.38 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) |
79.78 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) |
91.58 KB |
@sentry/browser (incl. Feedback) |
39.79 KB |
@sentry/browser (incl. sendFeedback) |
28.02 KB |
@sentry/browser (incl. FeedbackAsync) |
32.8 KB |
@sentry/react |
25.16 KB |
@sentry/react (incl. Tracing) |
39.84 KB |
@sentry/vue |
27.69 KB |
@sentry/vue (incl. Tracing) |
39.71 KB |
@sentry/svelte |
23.45 KB |
CDN Bundle |
24.9 KB |
CDN Bundle (incl. Tracing) |
37.97 KB |
CDN Bundle (incl. Tracing, Replay) |
73.03 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) |
78.38 KB |
CDN Bundle - uncompressed |
72.75 KB |
CDN Bundle (incl. Tracing) - uncompressed |
112.63 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed |
224.01 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed |
236.53 KB |
@sentry/nextjs (client) |
41.44 KB |
@sentry/sveltekit (client) |
38.37 KB |
@sentry/node |
147.29 KB |
@sentry/node - without tracing |
96.27 KB |
@sentry/aws-serverless |
121.42 KB |
9.30.0
- feat(nextjs): Add URL to tags of server components and generation functions issues (#16500)
- feat(nextjs): Ensure all packages we auto-instrument are externalized (#16552)
- feat(node): Automatically enable
vercelAiIntegration
when ai
module is detected (#16565)
- feat(node): Ensure
modulesIntegration
works in more environments (#16566)
- feat(core): Don't gate user on logs with
sendDefaultPii
(#16527)
- feat(browser): Add detail to measure spans and add regression tests (#16557)
- feat(node): Update Vercel AI span attributes (#16580)
- fix(opentelemetry): Ensure only orphaned spans of sent spans are sent (#16590)
Bundle size π¦
Path |
Size |
@sentry/browser |
23.43 KB |
@sentry/browser - with treeshaking flags |
23.2 KB |
@sentry/browser (incl. Tracing) |
37.88 KB |
@sentry/browser (incl. Tracing, Replay) |
75.08 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags |
68.33 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) |
79.74 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) |
91.52 KB |
@sentry/browser (incl. Feedback) |
39.77 KB |
@sentry/browser (incl. sendFeedback) |
28.03 KB |
@sentry/browser (incl. FeedbackAsync) |
32.8 KB |
@sentry/react |
25.15 KB |
@sentry/react (incl. Tracing) |
39.82 KB |
@sentry/vue |
27.7 KB |
@sentry/vue (incl. Tracing) |
39.7 KB |
@sentry/svelte |
23.45 KB |
CDN Bundle |
24.88 KB |
CDN Bundle (incl. Tracing) |
38.05 KB |
CDN Bundle (incl. Tracing, Replay) |
73.03 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) |
78.32 KB |
CDN Bundle - uncompressed |
72.74 KB |
CDN Bundle (incl. Tracing) - uncompressed |
112.6 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed |
223.9 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed |
236.42 KB |
@sentry/nextjs (client) |
41.44 KB |
@sentry/sveltekit (client) |
38.36 KB |
@sentry/node |
147.12 KB |
@sentry/node - without tracing |
96.09 KB |
@sentry/aws-serverless |
121.25 KB |
9.29.0
Important Changes
- feat(browser): Update
web-vitals
to 5.0.2 (#16492)
This release upgrades the web-vitals
library to version 5.0.2. This upgrade could slightly change the collected web vital values and potentially also influence alerts and performance scores in the Sentry UI.
Other Changes
- feat(deps): Bump @sentry/rollup-plugin from 3.4.0 to 3.5.0 (#16524)
- feat(ember): Stop warning for
onError
usage (#16547)
- feat(node): Allow to force activate
vercelAiIntegration
(#16551)
- feat(node): Introduce
ignoreLayersType
option to koa integration (#16553)
- fix(browser): Ensure
suppressTracing
does not leak when async (#16545)
- fix(vue): Ensure root component render span always ends (#16488)
Bundle size π¦
Path |
Size |
@sentry/browser |
23.43 KB |
@sentry/browser - with treeshaking flags |
23.2 KB |
@sentry/browser (incl. Tracing) |
37.78 KB |
@sentry/browser (incl. Tracing, Replay) |
74.98 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags |
68.23 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) |
79.63 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) |
91.41 KB |
@sentry/browser (incl. Feedback) |
39.78 KB |
@sentry/browser (incl. sendFeedback) |
28.03 KB |
@sentry/browser (incl. FeedbackAsync) |
32.8 KB |
@sentry/react |
25.15 KB |
@sentry/react (incl. Tracing) |
39.72 KB |
@sentry/vue |
27.7 KB |
@sentry/vue (incl. Tracing) |
39.6 KB |
@sentry/svelte |
23.45 KB |
CDN Bundle |
24.88 KB |
CDN Bundle (incl. Tracing) |
37.86 KB |
CDN Bundle (incl. Tracing, Replay) |
72.89 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) |
78.22 KB |
CDN Bundle - uncompressed |
72.74 KB |
CDN Bundle (incl. Tracing) - uncompressed |
112.2 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed |
223.5 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed |
236.02 KB |
@sentry/nextjs (client) |
41.34 KB |
@sentry/sveltekit (client) |
38.25 KB |
@sentry/node |
146.95 KB |
@sentry/node - without tracing |
96.04 KB |
@sentry/aws-serverless |
121.2 KB |
9.28.1
- feat(deps): Bump @sentry/cli from 2.45.0 to 2.46.0 (#16516)
- fix(nextjs): Avoid tracing calls to symbolication server on dev (#16533)
- fix(sveltekit): Add import attribute for node exports (#16528)
Work in this release was contributed by @eltigerchino. Thank you for your contribution!
Bundle size π¦
Path |
Size |
@sentry/browser |
23.43 KB |
@sentry/browser - with treeshaking flags |
23.2 KB |
@sentry/browser (incl. Tracing) |
37.46 KB |
@sentry/browser (incl. Tracing, Replay) |
74.68 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags |
67.94 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) |
79.33 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) |
91.13 KB |
@sentry/browser (incl. Feedback) |
39.78 KB |
@sentry/browser (incl. sendFeedback) |
28.03 KB |
@sentry/browser (incl. FeedbackAsync) |
32.8 KB |
@sentry/react |
25.15 KB |
@sentry/react (incl. Tracing) |
39.41 KB |
@sentry/vue |
27.69 KB |
@sentry/vue (incl. Tracing) |
39.27 KB |
@sentry/svelte |
23.45 KB |
CDN Bundle |
24.88 KB |
CDN Bundle (incl. Tracing) |
37.63 KB |
CDN Bundle (incl. Tracing, Replay) |
72.66 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) |
77.99 KB |
CDN Bundle - uncompressed |
72.67 KB |
CDN Bundle (incl. Tracing) - uncompressed |
111.42 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed |
222.72 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed |
235.25 KB |
@sentry/nextjs (client) |
41.03 KB |
@sentry/sveltekit (client) |
37.93 KB |
@sentry/node |
146.9 KB |
@sentry/node - without tracing |
96.03 KB |
@sentry/aws-serverless |
121.19 KB |
9.28.0
Important Changes
- feat(nestjs): Stop creating spans for
TracingInterceptor
(#16501)
With this change we stop creating spans for TracingInterceptor
as this interceptor only serves as an internal helper and adds noise for the user.
- feat(node): Update vercel ai spans as per new conventions (#16497)
This feature ships updates to the span names and ops to better match OpenTelemetry. This should make them more easily accessible to the new agents module view we are building.
Other Changes
- fix(sveltekit): Export
vercelAIIntegration
from @sentry/node
(#16496)
Work in this release was contributed by @agrattan0820. Thank you for your contribution!
Bundle size π¦
Path |
Size |
@sentry/browser |
23.43 KB |
@sentry/browser - with treeshaking flags |
23.2 KB |
@sentry/browser (incl. Tracing) |
37.46 KB |
@sentry/browser (incl. Tracing, Replay) |
74.68 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags |
67.94 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) |
79.33 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) |
91.13 KB |
@sentry/browser (incl. Feedback) |
39.78 KB |
@sentry/browser (incl. sendFeedback) |
28.03 KB |
@sentry/browser (incl. FeedbackAsync) |
32.8 KB |
@sentry/react |
25.15 KB |
@sentry/react (incl. Tracing) |
39.41 KB |
@sentry/vue |
27.69 KB |
@sentry/vue (incl. Tracing) |
39.27 KB |
@sentry/svelte |
23.45 KB |
CDN Bundle |
24.88 KB |
CDN Bundle (incl. Tracing) |
37.63 KB |
CDN Bundle (incl. Tracing, Replay) |
72.66 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) |
77.99 KB |
CDN Bundle - uncompressed |
72.67 KB |
CDN Bundle (incl. Tracing) - uncompressed |
111.42 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed |
222.72 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed |
235.25 KB |
@sentry/nextjs (client) |
41.03 KB |
@sentry/sveltekit (client) |
37.93 KB |
@sentry/node |
146.9 KB |
@sentry/node - without tracing |
96.03 KB |
@sentry/aws-serverless |
121.19 KB |
9.27.0
- feat(node): Expand how vercel ai input/outputs can be set (#16455)
- feat(node): Switch to new semantic conventions for Vercel AI (#16476)
- feat(react-router): Add component annotation plugin (#16472)
- feat(react-router): Export wrappers for server loaders and actions (#16481)
- fix(browser): Ignore unrealistically long INP values (#16484)
- fix(react-router): Conditionally add
ReactRouterServer
integration (#16470)
Bundle size π¦
Path |
Size |
@sentry/browser |
23.43 KB |
@sentry/browser - with treeshaking flags |
23.2 KB |
@sentry/browser (incl. Tracing) |
37.46 KB |
@sentry/browser (incl. Tracing, Replay) |
74.68 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags |
67.94 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) |
79.33 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) |
91.13 KB |
@sentry/browser (incl. Feedback) |
39.77 KB |
@sentry/browser (incl. sendFeedback) |
28.03 KB |
@sentry/browser (incl. FeedbackAsync) |
32.8 KB |
@sentry/react |
25.15 KB |
@sentry/react (incl. Tracing) |
39.41 KB |
@sentry/vue |
27.69 KB |
@sentry/vue (incl. Tracing) |
39.27 KB |
@sentry/svelte |
23.45 KB |
CDN Bundle |
24.88 KB |
CDN Bundle (incl. Tracing) |
37.63 KB |
CDN Bundle (incl. Tracing, Replay) |
72.66 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) |
77.99 KB |
CDN Bundle - uncompressed |
72.67 KB |
CDN Bundle (incl. Tracing) - uncompressed |
111.42 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed |
222.72 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed |
235.25 KB |
@sentry/nextjs (client) |
41.03 KB |
@sentry/sveltekit (client) |
37.93 KB |
@sentry/node |
146.75 KB |
@sentry/node - without tracing |
96.03 KB |
@sentry/aws-serverless |
121.19 KB |
9.26.0
- feat(react-router): Re-export functions from
@sentry/react
(#16465)
- fix(nextjs): Skip re instrumentating on generate phase of experimental build mode (#16410)
- fix(node): Ensure adding sentry-trace and baggage headers via SentryHttpInstrumentation doesn't crash (#16473)
Bundle size π¦
Path |
Size |
@sentry/browser |
23.43 KB |
@sentry/browser - with treeshaking flags |
23.2 KB |
@sentry/browser (incl. Tracing) |
37.44 KB |
@sentry/browser (incl. Tracing, Replay) |
74.69 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags |
67.96 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) |
79.33 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) |
91.13 KB |
@sentry/browser (incl. Feedback) |
39.78 KB |
@sentry/browser (incl. sendFeedback) |
28.03 KB |
@sentry/browser (incl. FeedbackAsync) |
32.8 KB |
@sentry/react |
25.15 KB |
@sentry/react (incl. Tracing) |
39.39 KB |
@sentry/vue |
27.67 KB |
@sentry/vue (incl. Tracing) |
39.24 KB |
@sentry/svelte |
23.45 KB |
CDN Bundle |
24.88 KB |
CDN Bundle (incl. Tracing) |
37.62 KB |
CDN Bundle (incl. Tracing, Replay) |
72.64 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) |
77.93 KB |
CDN Bundle - uncompressed |
72.67 KB |
CDN Bundle (incl. Tracing) - uncompressed |
111.4 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed |
222.7 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed |
235.22 KB |
@sentry/nextjs (client) |
41.02 KB |
@sentry/sveltekit (client) |
37.93 KB |
@sentry/node |
146.56 KB |
@sentry/node - without tracing |
96.03 KB |
@sentry/aws-serverless |
121.19 KB |
9.25.1
- fix(otel): Don't ignore child spans after the root is sent (#16416)
Bundle size π¦
Path |
Size |
@sentry/browser |
23.43 KB |
@sentry/browser - with treeshaking flags |
23.2 KB |
@sentry/browser (incl. Tracing) |
37.44 KB |
@sentry/browser (incl. Tracing, Replay) |
74.69 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags |
67.96 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) |
79.33 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) |
91.13 KB |
@sentry/browser (incl. Feedback) |
39.78 KB |
@sentry/browser (incl. sendFeedback) |
28.03 KB |
@sentry/browser (incl. FeedbackAsync) |
32.8 KB |
@sentry/react |
25.15 KB |
@sentry/react (incl. Tracing) |
39.39 KB |
@sentry/vue |
27.67 KB |
@sentry/vue (incl. Tracing) |
39.24 KB |
@sentry/svelte |
23.45 KB |
CDN Bundle |
24.88 KB |
CDN Bundle (incl. Tracing) |
37.62 KB |
CDN Bundle (incl. Tracing, Replay) |
72.64 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) |
77.93 KB |
CDN Bundle - uncompressed |
72.67 KB |
CDN Bundle (incl. Tracing) - uncompressed |
111.4 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed |
222.7 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed |
235.22 KB |
@sentry/nextjs (client) |
41.02 KB |
@sentry/sveltekit (client) |
37.93 KB |
@sentry/node |
146.52 KB |
@sentry/node - without tracing |
95.99 KB |
@sentry/aws-serverless |
121.15 KB |
9.25.0
Important Changes
- feat(browser): Add option to ignore
mark
and measure
spans (#16443)
This release adds an option to browserTracingIntegration
that lets you ignore
mark
and measure
spans created from the performance.mark(...)
and performance.measure(...)
browser APIs:
Sentry.init({
integrations: [
Sentry.browserTracingIntegration({
ignorePerformanceApiSpans: ['measure-to-ignore', /mark-to-ignore/],
}),
],
});
Other Changes
- feat(browser): Export getTraceData from the browser sdks (#16433)
- feat(node): Add
includeServerName
option (#16442)
- fix(nuxt): Remove setting
@sentry/nuxt
external (#16444)
Bundle size π¦
Path |
Size |
@sentry/browser |
23.43 KB |
@sentry/browser - with treeshaking flags |
23.2 KB |
@sentry/browser (incl. Tracing) |
37.44 KB |
@sentry/browser (incl. Tracing, Replay) |
74.69 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags |
67.96 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) |
79.33 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) |
91.13 KB |
@sentry/browser (incl. Feedback) |
39.77 KB |
@sentry/browser (incl. sendFeedback) |
28.03 KB |
@sentry/browser (incl. FeedbackAsync) |
32.8 KB |
@sentry/react |
25.15 KB |
@sentry/react (incl. Tracing) |
39.39 KB |
@sentry/vue |
27.67 KB |
@sentry/vue (incl. Tracing) |
39.24 KB |
@sentry/svelte |
23.45 KB |
CDN Bundle |
24.88 KB |
CDN Bundle (incl. Tracing) |
37.62 KB |
CDN Bundle (incl. Tracing, Replay) |
72.64 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) |
77.93 KB |
CDN Bundle - uncompressed |
72.67 KB |
CDN Bundle (incl. Tracing) - uncompressed |
111.4 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed |
222.7 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed |
235.22 KB |
@sentry/nextjs (client) |
41.02 KB |
@sentry/sveltekit (client) |
37.93 KB |
@sentry/node |
146.37 KB |
@sentry/node - without tracing |
95.83 KB |
@sentry/aws-serverless |
120.98 KB |
9.24.0
Important Changes
- feat(angular): Bump
@sentry/angular
peer dependencies to add Angular 20 support (#16414)
This release adds support for Angular 20 to the Sentry Angular SDK @sentry/angular
.
Other Changes
- feat(browser): Add
unregisterOriginalCallbacks
option to browserApiErrorsIntegration
(#16412)
- feat(core): Add user to logs (#16399)
- feat(core): Make sure Supabase db query insights are populated (#16169)
Bundle size π¦
Path |
Size |
@sentry/browser |
23.43 KB |
@sentry/browser - with treeshaking flags |
23.2 KB |
@sentry/browser (incl. Tracing) |
37.39 KB |
@sentry/browser (incl. Tracing, Replay) |
74.64 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags |
67.92 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) |
79.29 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) |
91.09 KB |
@sentry/browser (incl. Feedback) |
39.77 KB |
@sentry/browser (incl. sendFeedback) |
28.03 KB |
@sentry/browser (incl. FeedbackAsync) |
32.8 KB |
@sentry/react |
25.15 KB |
@sentry/react (incl. Tracing) |
39.35 KB |
@sentry/vue |
27.67 KB |
@sentry/vue (incl. Tracing) |
39.19 KB |
@sentry/svelte |
23.45 KB |
CDN Bundle |
24.71 KB |
CDN Bundle (incl. Tracing) |
37.57 KB |
CDN Bundle (incl. Tracing, Replay) |
72.58 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) |
77.88 KB |
CDN Bundle - uncompressed |
72.17 KB |
CDN Bundle (incl. Tracing) - uncompressed |
111.21 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed |
222.51 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed |
235.03 KB |
@sentry/nextjs (client) |
40.97 KB |
@sentry/sveltekit (client) |
37.88 KB |
@sentry/node |
146.36 KB |
@sentry/node - without tracing |
95.82 KB |
@sentry/aws-serverless |
120.98 KB |