7.74.0
Important Changes
- feat(astro): Add
sentryAstrointegration (#9218)
This Release introduces the first alpha version of our new SDK for Astro.
At this time, the SDK is considered experimental and things might break and change in future versions.
The core of the SDK is an Astro integration which you easily add to your Astro config:
// astro.config.js
import { defineConfig } from "astro/config";
import sentry from "@sentry/astro";
export default defineConfig({
integrations: [
sentry({
dsn: "__DSN__",
sourceMapsUploadOptions: {
project: "astro",
authToken: process.env.SENTRY_AUTH_TOKEN,
},
}),
],
});Check out the README for usage instructions and what to expect from this alpha release.
Other Changes
- feat(core): Add
addIntegrationutility (#9186) - feat(core): Add
continueTracemethod (#9164) - feat(node-experimental): Add NodeFetch integration (#9226)
- feat(node-experimental): Use native OTEL Spans (#9161, #9214)
- feat(node-experimental): Sample in OTEL Sampler (#9203)
- feat(serverlesss): Allow disabling transaction traces (#9154)
- feat(tracing): Allow direct pg module to enable esbuild support (#9227)
- feat(utils): Move common node ANR code to utils (#9191)
- feat(vue): Expose
VueIntegrationto initialize vue app later (#9180) - fix: Don't set
referrerPolicyon serverside fetch transports (#9200) - fix: Ensure we never mutate options passed to
init(#9162) - fix(ember): Avoid pulling in utils at build time (#9221)
- fix(ember): Drop undefined config values (#9175)
- fix(node): Ensure mysql integration works without callback (#9222)
- fix(node): Only require
inspectorwhen needed (#9149) - fix(node): Remove ANR
debugoption and instead add logger.isEnabled() (#9230) - fix(node): Strip
.mjsand.cjsextensions from module name (#9231) - fix(replay): bump rrweb to 2.0.1 (#9240)
- fix(replay): Fix potential broken CSS in styled-components (#9234)
- fix(sveltekit): Flush in server wrappers before exiting (#9153)
- fix(types): Update signature of
processEventintegration hook (#9151) - fix(utils): Dereference DOM events after they have servered their purpose (#9224)
- ref(integrations): Refactor pluggable integrations to use
processEvent(#9021) - ref(serverless): Properly deprecate
rethrowAfterCaptureoption (#9159) - ref(utils): Deprecate
walkmethod (#9157)
Work in this release contributed by @aldenquimby. Thank you for your contributions!
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 84.27 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 31.43 KB |
| @sentry/browser - Webpack (gzipped) | 22.02 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 78.79 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 28.6 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 21.02 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 254.51 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 86.76 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 62.45 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 31.48 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 84.3 KB |
| @sentry/react - Webpack (gzipped) | 22.06 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 102.21 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 50.96 KB |