Requested by: @s1gr1d
Merge target: master
Quick links:
Assign the accepted label to this issue to approve the release.
Targets
Checked targets will be skipped (either already published or user-requested skip). Uncheck to retry a target.
📋 Changelog
Important Changes
-
feat(cloudflare): Add trace propagation for RPC method calls (#20343)
Trace context is now propagated across Cloudflare Workers RPC calls, connecting traces between Workers and Durable Objects.
This feature is opt-in and requires setting enableRpcTracePropagation: true in your SDK configuration:
// Worker
export default Sentry.withSentry(
env => ({
dsn: env.SENTRY_DSN,
enableRpcTracePropagation: true,
}),
handler,
);
// Durable Object
export const MyDurableObject = Sentry.instrumentDurableObjectWithSentry(
env => ({
dsn: env.SENTRY_DSN,
enableRpcTracePropagation: true,
}),
MyDurableObjectBase,
);
-
feat(hono)!: Change setup for @sentry/hono/node (init in external file) (#20497)
To improve Node.js instrumentation, the sentry() middleware exported from @sentry/hono/node no longer accepts configuration options.
Instead, you must configure the SDK by calling Sentry.init() in a dedicated instrumentation file that runs before your application code (read more in the Hono SDK readme:
// instrument.mjs (or instrument.ts)
import * as Sentry from '@sentry/hono/node';
Sentry.init({
dsn: '__DSN__',
tracesSampleRate: 1.0,
});
-
feat(nitro): Add @sentry/nitro SDK (#19224)
A new @sentry/nitro package provides first-class Sentry support for Nitro applications, with HTTP handler and error instrumentation, middleware tracing, request isolation, and build-time source map uploading via withSentryConfig.
Read more in the Nitro SDK docs and the Nitro SDK readme.
Other Changes
- deps(minimatch): Upgrade patch version to use new
brace-expansion peer-dep (#20198)
- docs: Add deprecation notices to
bin scripts (#20570)
- feat(astro): Drop prerendered http.server filter via
ignoreSpans (#20513)
- feat(aws-serverless): Validate extension tunnel DSN against
SENTRY_DSN (#20528)
- feat(browser): Add
ingest_settings to span v2 envelope payload (#20411)
- feat(browser): Add support for streamed spans in
httpContextIntegration (#20464)
- feat(core): Backfill otel attributes on streamed spans (#20439)
- feat(core): clear up integrations on dispose (#20407)
- feat(core): Instrument langgraph createReactAgent (#20344)
- feat(core): Support attribute matching in
ignoreSpans (#20512)
- feat(feedback): allow error messages to be customized (#20474)
- feat(hono): Support middleware spans defined in app groups (#20465)
- feat(nextjs): Filter unwanted segments when span streaming is enabled (#20384)
- feat(nextjs): Migrate edge event processors to span-first APIs (#20551)
- feat(nextjs): Migrate server event processors to span-first APIs (#20527)
- feat(nextjs): Set global attribute for turbopack usage (#20558)
- feat(nitro): Nitro SDK (#19224)
- feat(react-router): Clean up bogus
* http.route attribute on segment spans (#20471)
- feat(react-router): Drop low-quality transactions via
ignoreSpans (#20514)
- feat(sveltekit): Support span streaming in
svelteKitSpansEnhancement integration (#20496)
- feat(tanstackstart-react): Add dynamic tunnel route helper and generator (#20264)
- fix: update prisma v7 spans descriptions (#20456)
- fix(core): Avoid parse-time SyntaxError on Safari <16.4 in postgresjs (#20498)
- fix(core): Ensure
isSentryRequest handles subdomains properly (#20530)
- fix(core): Ensure ip address headers are stripped when lower case (#20484)
- fix(core): Filter more cookie names for PII (#20485)
- fix(core): Use symbol for normalization checks (#20486)
- fix(hono): Distinguish
.use() middleware in sub-apps from .all() handlers (#20554)
- fix(nextjs): Ensure we do not match tunnel endpoints too broadly (#20488)
- fix(opentelemetry): Add conditional browser export to avoid node deps (#20556)
- fix(replay): Avoid main-thread blocking in WorkerHandler under event bursts (#20548)
- fix(replay): Ensure
maskAttributes works with maskAllText=false (#20491)
- fix(supabase): Consider
sendDefaultPii for supabase integration (#20490)
Internal Changes
- chore: Add size limit reports on PRs for Cloudflare (#20055)
- chore: Update CODEOWNERS (#20559)
- chore(build): Opt-out of nx analytics (#20487)
- chore(ci): Automatically bump size limit every week (#20531)
- chore(ci): Bump pnpm/action-setup to v5 and pin to commit SHA (#20462)
- chore(ci): Do not report flaky test issues if we cannot find a test name (#20589)
- chore(ci): Streamline CI setup to split bundle, layer, tarball generation (#20396)
- chore(ci): Vendor nx-affected-list action, drop dkhunt27 dependency (#20463)
- chore(e2e): Add vue and vue-router to nuxt-4 canary build step to fix rollup resolution (#20519)
- chore(e2e): Remove @tanstack/start-plugin-core override (#20518)
- chore(size-limit): weekly auto-bump (#20572)
- chore(skill): Add skill for writing unit and E2E tests (#20561)
- chore(test): Reduce unneeded
idleTimeout test config (#20467)
- ci(size-bump): Fix path in size-limit auto-bump workflow (#20566)
- fix(e2e/tanstackstart-react): pin @tanstack/start-plugin-core to unblock CI (#20482)
- fix(tests): Remove nitro canary test job (#20473)
- ref(browser): Use
safeSetSpanJSONAttributes in cultureContext integration (#20481)
- test(browser): Unflake some more tests (#20591)
- test(nextjs): Pin
eslint-config-next package to major (#20552)
- test(node): Fix flaky ANR test (#20592)
- test(node): Fix flaky worker thread integration test (#20588)
- test(node): Unflake postgres tests (#20593)
- test(node): Update timeout for cron integration tests (#20586)
- test(supabase): Stop supabase before initializing (#20563)
- test(tanstack): Prefix test labels (#20569)
Requested by: @s1gr1d
Merge target: master
Quick links:
Assign the accepted label to this issue to approve the release.
Targets
Checked targets will be skipped (either already published or user-requested skip). Uncheck to retry a target.
📋 Changelog
Important Changes
feat(cloudflare): Add trace propagation for RPC method calls (#20343)
Trace context is now propagated across Cloudflare Workers RPC calls, connecting traces between Workers and Durable Objects.
This feature is opt-in and requires setting
enableRpcTracePropagation: truein your SDK configuration:feat(hono)!: Change setup for
@sentry/hono/node(initin external file) (#20497)To improve Node.js instrumentation, the
sentry()middleware exported from@sentry/hono/nodeno longer accepts configuration options.Instead, you must configure the SDK by calling
Sentry.init()in a dedicated instrumentation file that runs before your application code (read more in the Hono SDK readme:feat(nitro): Add
@sentry/nitroSDK (#19224)A new
@sentry/nitropackage provides first-class Sentry support for Nitro applications, with HTTP handler and error instrumentation, middleware tracing, request isolation, and build-time source map uploading viawithSentryConfig.Read more in the Nitro SDK docs and the Nitro SDK readme.
Other Changes
brace-expansionpeer-dep (#20198)binscripts (#20570)ignoreSpans(#20513)SENTRY_DSN(#20528)ingest_settingsto span v2 envelope payload (#20411)httpContextIntegration(#20464)ignoreSpans(#20512)*http.route attribute on segment spans (#20471)ignoreSpans(#20514)svelteKitSpansEnhancementintegration (#20496)isSentryRequesthandles subdomains properly (#20530).use()middleware in sub-apps from.all()handlers (#20554)maskAttributesworks withmaskAllText=false(#20491)sendDefaultPiifor supabase integration (#20490)Internal Changes
idleTimeouttest config (#20467)safeSetSpanJSONAttributesin cultureContext integration (#20481)eslint-config-nextpackage to major (#20552)