Releases: getsentry/sentry-javascript
Releases · getsentry/sentry-javascript
7.85.0
04 Dec 20:08
Compare
Sorry, something went wrong.
No results found
feat(core): Add addEventProcessor method (#9554 )
feat(crons): Add interface for heartbeat checkin (#9706 )
feat(feedback): Include Feedback package in browser SDK (#9586 )
fix(astro): Isolate request instrumentation in middleware (#9709 )
fix(replay): Capture JSON XHR response bodies (#9623 )
ref(feedback): Change form box-shadow to use CSS var (#9630 )
Bundle size 📦
Path
Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped)
74.63 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)
65.99 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)
59.59 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped)
31.12 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped)
29.72 KB
@sentry/browser - Webpack (gzipped)
21.38 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped)
71.22 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)
62.97 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)
29.62 KB
@sentry/browser - ES6 CDN Bundle (gzipped)
21.7 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)
198.31 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)
89.73 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed)
64.71 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)
32.29 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)
66.35 KB
@sentry/react - Webpack (gzipped)
21.42 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)
83.07 KB
@sentry/nextjs Client - Webpack (gzipped)
48.21 KB
@sentry-internal/feedback - Webpack (gzipped)
16.17 KB
7.84.0
30 Nov 11:27
Compare
Sorry, something went wrong.
No results found
Important Changes
ref(nextjs): Set automaticVercelMonitors to be false by default (#9697 )
From this version onwards the default for the automaticVercelMonitors option in the Next.js SDK is set to false.
Previously, if you made use of Vercel Crons the SDK automatically instrumented the relevant routes to create Sentry monitors.
Because this feature will soon be generally available, we are now flipping the default to avoid situations where quota is used unexpectedly.
If you want to continue using this feature, make sure to set the automaticVercelMonitors flag to true in your next.config.js Sentry settings.
Other Changes
chore(astro): Add 4.0.0 preview versions to astro peer dependency range (#9696 )
feat(metrics): Add interfaces for metrics (#9698 )
feat(web-vitals): Vendor in INP from web-vitals library (#9690 )
fix(astro): Avoid adding the Sentry Vite plugin in dev mode (#9688 )
fix(nextjs): Don't match files called middleware in node_modules (#9686 )
fix(remix): Don't capture error responses that are not 5xx on Remix v2. (#9655 )
fix(tracing): Don't attach resource size if null (#9669 )
fix(utils): Regex match port to stop accidental replace (#9676 )
fix(utils): Try catch new URL when extracting query params (#9675 )
Bundle size 📦
Path
Size
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)
65.86 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)
59.46 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped)
31.12 KB
@sentry/browser - Webpack (gzipped)
21.38 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)
62.72 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)
29.53 KB
@sentry/browser - ES6 CDN Bundle (gzipped)
21.6 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)
197.46 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)
89.32 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed)
64.29 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)
32.22 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)
66.25 KB
@sentry/react - Webpack (gzipped)
21.42 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)
82.96 KB
@sentry/nextjs Client - Webpack (gzipped)
48.21 KB
@sentry-internal/feedback - Webpack (gzipped)
16.19 KB
7.83.0
28 Nov 11:06
Compare
Sorry, something went wrong.
No results found
chore(astro): Allow Astro 4.0 in peer dependencies (#9683 )
feat(astro): Add assets option to source maps upload options (#9668 )
feat(react): Support exactOptionalPropertyTypes on ErrorBoundary (#9098 )
fix: Don't depend on browser types in types (#9682 )
fix(astro): Configure sourcemap assets directory for Vercel adapter (#9665 )
fix(remix): Check the error data before spreading. (#9664 )
Bundle size 📦
Path
Size
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)
65.86 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)
59.46 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped)
31.11 KB
@sentry/browser - Webpack (gzipped)
21.38 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)
62.71 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)
29.52 KB
@sentry/browser - ES6 CDN Bundle (gzipped)
21.6 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)
197.46 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)
89.32 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed)
64.29 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)
32.21 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)
66.24 KB
@sentry/react - Webpack (gzipped)
21.42 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)
82.96 KB
@sentry/nextjs Client - Webpack (gzipped)
48.21 KB
@sentry-internal/feedback - Webpack (gzipped)
16.19 KB
7.82.0
27 Nov 17:13
Compare
Sorry, something went wrong.
No results found
feat(astro): Automatically add Sentry middleware in Astro integration (#9532 )
feat(core): Add optional setup hook to integrations (#9556 )
feat(core): Add top level getClient() method (#9638 )
feat(core): Allow to pass mechanism as event hint (#9590 )
feat(core): Allow to use continueTrace without callback (#9615 )
feat(feedback): Add onClose callback to showReportDialog (#9433 ) (#9550 )
feat(nextjs): Add request data to all edge-capable functionalities (#9636 )
feat(node): Add Spotlight option to Node SDK (#9629 )
feat(utils): Refactor addInstrumentationHandler to dedicated methods (#9542 )
fix: Make full url customizable for Spotlight (#9652 )
fix(astro): Remove Auth Token existence check (#9651 )
fix(nextjs): Fix middleware detection logic (#9637 )
fix(remix): Skip capturing aborted requests (#9659 )
fix(replay): Add BODY_PARSE_ERROR warning & time out fetch response load (#9622 )
fix(tracing): Filter out invalid resource sizes (#9641 )
ref: Hoist RequestData integration to @sentry/core (#9597 )
ref(feedback): Rename onDialog* to onForm*, remove onActorClick (#9625 )
Work in this release contributed by @arya-s . Thank you for your contribution!
Bundle size 📦
Path
Size
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)
66.02 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)
56.21 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped)
31.19 KB
@sentry/browser - Webpack (gzipped)
21.4 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)
62.65 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)
29.47 KB
@sentry/browser - ES6 CDN Bundle (gzipped)
21.55 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)
197.27 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)
89.15 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed)
64.12 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)
32.13 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)
66.43 KB
@sentry/react - Webpack (gzipped)
21.45 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)
83.16 KB
@sentry/nextjs Client - Webpack (gzipped)
48.32 KB
@sentry-internal/feedback - Webpack (gzipped)
16.19 KB
7.81.1
21 Nov 11:55
Compare
Sorry, something went wrong.
No results found
fix(astro): Remove method from span op (#9603 )
fix(deno): Make sure files get published (#9611 )
fix(nextjs): Use globalThis instead of global in edge runtime (#9612 )
fix(node): Improve error handling and shutdown handling for ANR (#9548 )
fix(tracing-internal): Fix case when originalURL contain query params (#9531 )
Work in this release contributed by @powerfulyang , @LubomirIgonda1 , @joshkel , and @alexgleason . Thank you for your contributions!
Bundle size 📦
Path
Size
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)
65.61 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)
55.72 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped)
31.01 KB
@sentry/browser - Webpack (gzipped)
21.32 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)
62.03 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)
29.13 KB
@sentry/browser - ES6 CDN Bundle (gzipped)
21.26 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)
195.71 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)
88.38 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed)
63.34 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)
31.85 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)
65.92 KB
@sentry/react - Webpack (gzipped)
21.36 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)
82.66 KB
@sentry/nextjs Client - Webpack (gzipped)
48.15 KB
@sentry-internal/feedback - Webpack (gzipped)
16.12 KB
7.81.0
20 Nov 13:13
Compare
Sorry, something went wrong.
No results found
Important Changes
- feat(nextjs): Add instrumentation utility for server actions (#9553 )
This release adds a utility function withServerActionInstrumentation to the @sentry/nextjs SDK for instrumenting your Next.js server actions with error and performance monitoring.
You can optionally pass form data and headers to record them, and configure the wrapper to record the Server Action responses:
import * as Sentry from "@sentry/nextjs" ;
import { headers } from "next/headers" ;
export default function ServerComponent ( ) {
async function myServerAction ( formData : FormData ) {
"use server" ;
return await Sentry . withServerActionInstrumentation (
"myServerAction" , // The name you want to associate this Server Action with in Sentry
{
formData, // Optionally pass in the form data
headers : headers ( ) , // Optionally pass in headers
recordResponse : true , // Optionally record the server action response
} ,
async ( ) => {
// ... Your Server Action code
return { name : "John Doe" } ;
}
) ;
}
return (
< form action = { myServerAction } >
< input type = "text" name = "some-input-value" />
< button type = "submit" > Run Action</ button >
</ form >
) ;
}
Other Changes
docs(feedback): Example docs on sendFeedback (#9560 )
feat(feedback): Add level and remove breadcrumbs from feedback event (#9533 )
feat(vercel-edge): Add fetch instrumentation (#9504 )
feat(vue): Support Vue 3 lifecycle hooks in mixin options (#9578 )
fix(nextjs): Download CLI binary if it can't be found (#9584 )
ref: Deprecate extractTraceParentData from @sentry/core & downstream packages (#9158 )
ref(replay): Add further logging to network body parsing (#9566 )
Work in this release contributed by @snoozbuster . Thank you for your contribution!
Bundle size 📦
Path
Size
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)
65.53 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)
55.67 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped)
31.01 KB
@sentry/browser - Webpack (gzipped)
21.32 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)
61.99 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)
29.13 KB
@sentry/browser - ES6 CDN Bundle (gzipped)
21.26 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)
195.53 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)
88.38 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed)
63.34 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)
31.85 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)
65.84 KB
@sentry/react - Webpack (gzipped)
21.36 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)
82.58 KB
@sentry/nextjs Client - Webpack (gzipped)
48.15 KB
@sentry-internal/feedback - Webpack (gzipped)
16.08 KB
7.80.2-alpha.1
15 Nov 19:46
Compare
Sorry, something went wrong.
No results found
No longer will prioritize the component names for replays, as this will break searching by CSS selector.
Bundle size 📦
Path
Size
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)
65.47 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)
55.68 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped)
31.03 KB
@sentry/browser - Webpack (gzipped)
21.34 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)
62 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)
29.14 KB
@sentry/browser - ES6 CDN Bundle (gzipped)
21.29 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)
195.54 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)
88.43 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed)
63.41 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)
31.86 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)
65.79 KB
@sentry/react - Webpack (gzipped)
21.39 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)
82.53 KB
@sentry/nextjs Client - Webpack (gzipped)
48.17 KB
@sentry-internal/feedback - Webpack (gzipped)
16.04 KB
7.80.2-alpha.0
14 Nov 18:08
Compare
Sorry, something went wrong.
No results found
feat(utils): Prioritize Component name attributes over HTML Tree String (#9496 )
Bundle size 📦
Path
Size
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)
65.46 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)
55.68 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped)
31.03 KB
@sentry/browser - Webpack (gzipped)
21.34 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)
62 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)
29.14 KB
@sentry/browser - ES6 CDN Bundle (gzipped)
21.29 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)
195.53 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)
88.43 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed)
63.41 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)
31.86 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)
65.81 KB
@sentry/react - Webpack (gzipped)
21.39 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)
82.53 KB
@sentry/nextjs Client - Webpack (gzipped)
48.17 KB
@sentry-internal/feedback - Webpack (gzipped)
16.04 KB
7.80.1
14 Nov 10:48
Compare
Sorry, something went wrong.
No results found
fix(astro): Adjust Vite plugin config to upload server source maps (#9541 )
fix(nextjs): Add tracing extensions in all serverside wrappers (#9537 )
fix(nextjs): Fix serverside transaction names on Windows (#9526 )
fix(node): Fix tRPC middleware typing (#9540 )
fix(replay): Add additional safeguards for capturing network bodies (#9506 )
fix(tracing): Update prisma span to be db.prisma (#9512 )
Bundle size 📦
Path
Size
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)
65.42 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)
55.63 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped)
30.98 KB
@sentry/browser - Webpack (gzipped)
21.3 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)
61.95 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)
29.1 KB
@sentry/browser - ES6 CDN Bundle (gzipped)
21.24 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)
195.42 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)
88.32 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed)
63.3 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)
31.81 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)
65.77 KB
@sentry/react - Webpack (gzipped)
21.34 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)
82.49 KB
@sentry/nextjs Client - Webpack (gzipped)
48.13 KB
@sentry-internal/feedback - Webpack (gzipped)
16 KB
7.80.0
09 Nov 16:54
Compare
Sorry, something went wrong.
No results found
feat(astro): Add distributed tracing via <meta> tags (#9483 )
feat(node): Capture internal server errors in trpc middleware (#9482 )
feat(remix): Export a type to use for MetaFunction parameters (#9493 )
fix(astro): Mark SDK package as Astro-external (#9509 )
ref(nextjs): Don't initialize Server SDK during build (#9503 )
Bundle size 📦
Path
Size
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)
65.25 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)
55.49 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped)
30.98 KB
@sentry/browser - Webpack (gzipped)
21.3 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)
61.83 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)
29.1 KB
@sentry/browser - ES6 CDN Bundle (gzipped)
21.24 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)
194.91 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)
88.32 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed)
63.3 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)
31.81 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)
65.61 KB
@sentry/react - Webpack (gzipped)
21.34 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)
82.35 KB
@sentry/nextjs Client - Webpack (gzipped)
48.13 KB
@sentry-internal/feedback - Webpack (gzipped)
15.98 KB