Requested by: @nicohrubec
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(hono): Promote @sentry/hono to stable and deprecate honoIntegration (#21208)
The @sentry/hono SDK is now stable. See the Sentry Hono SDK docs to get started.
-
docs(tanstackstart-react): Promote SDK status to beta (#21175)
This release promotes the @sentry/tanstackstart-react SDK to beta. For details on how to use it, check out the
Sentry TanStack Start SDK docs. Please reach out on
GitHub if you have any feedback or concerns.
-
feat(hono): Add shouldHandleError option to sentry() middleware (#21205)
The sentry() middleware now accepts a shouldHandleError callback to control which errors are captured and sent to Sentry. By default, 3xx/4xx HTTP errors are ignored and 5xx errors and plain Error objects are captured. Return true from the callback to capture an error, false to suppress it.
app.use(
sentry(app, {
dsn: '__DSN__',
shouldHandleError(error) {
const status = (error as { status?: number })?.status;
// Capture 401/403 in addition to the default 5xx errors
return status === 401 || status === 403 || typeof status !== 'number' || status >= 500;
},
}),
);
-
test(tanstackstart-react): Move initialization to client entry point (#21161)
Change the recommended setup for the SDK to do Sentry.init() in the client entry file to capture telemetry that is emitted ahead of page hydration.
-
feat(tanstackstart-react): Add distributed tracing (#21144)
Server and client traces are now automatically connected, allowing you to see the full request lifecycle from server-side rendering through client-side hydration in a single trace.
-
feat(tanstackstart-react): Add server-side route parametrization (#21147)
Server transaction names are now parametrized automatically (e.g., GET /users/123 becomes GET /users/$userId), improving transaction grouping in Sentry.
-
feat(tanstackstart-react): Show readable server function names in traces (#21190)
Server function spans now show human-readable names (e.g., GET /_serverFn/greet instead of GET /_serverFn/a10e70b3...). The tanstackstart.function.hash.sha256 span attribute has been renamed to tanstackstart.function.id.
Other Changes
- feat(core): Migrate request data to
dataCollection (#21071)
- feat(hono): Add warning in Bun for double init (#21195)
- feat(hono): Instrument main-app inline middleware spans (#20999)
- feat(metrics): Migrate metrics to use
dataCollection instead of sendDefaultPii (#21078)
- feat(tanstackstart-react): Enable component tracking (#21149)
- feat(tanstackstart-react): Filter noisy dev transactions (#21145)
- fix(cloudflare): Use original waitUntil to not create a deadlock (#21197)
- fix(elysia): Widen accepted
Elysia app type to support Elysia options (#21164)
- fix(tanstackstart-react): Add server-side replayIntegration no-op stub (#21148)
Internal Changes
- chore(changelog): clarify array attributes impact on
beforeSend* callbacks (#21186)
- chore(ci): Update bugbot instructions (#21168)
- chore(sentry-cli): Upgrade to 2.58.6 (#21165)
- chore(size-limit): weekly auto-bump (#21123)
- feat(deps-dev): Bump @sveltejs/kit from 2.52.2 to 2.60.1 in /dev-packages/e2e-tests/test-applications/sveltekit-cloudflare-pages (#21162)
- fix(e2e): Fix
astro-6 e2e test build by relaxing astro version range (#21211)
- meta(agents): Update AI commit attribution guidance (#21166)
- ref(browser): Extract browser-specific
normalize code out of core (#21172)
- ref(node): Stop custom-handling normalization of Domain/DomainEmitter (#21182)
- ref(node): Stop using
registerSpanErrorInstrumentation() on server (#21169)
- test(nitro-3): Update e2e tests for h3 route handler tracing (#21152)
- test(nuxt): Fix flaky test and add note about hydration timing to skill (#21054)
Requested by: @nicohrubec
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(hono): Promote
@sentry/honoto stable and deprecatehonoIntegration(#21208)The
@sentry/honoSDK is now stable. See the Sentry Hono SDK docs to get started.docs(tanstackstart-react): Promote SDK status to beta (#21175)
This release promotes the
@sentry/tanstackstart-reactSDK to beta. For details on how to use it, check out theSentry TanStack Start SDK docs. Please reach out on
GitHub if you have any feedback or concerns.
feat(hono): Add
shouldHandleErroroption tosentry()middleware (#21205)The
sentry()middleware now accepts ashouldHandleErrorcallback to control which errors are captured and sent to Sentry. By default, 3xx/4xx HTTP errors are ignored and 5xx errors and plainErrorobjects are captured. Returntruefrom the callback to capture an error,falseto suppress it.test(tanstackstart-react): Move initialization to client entry point (#21161)
Change the recommended setup for the SDK to do
Sentry.init()in the client entry file to capture telemetry that is emitted ahead of page hydration.feat(tanstackstart-react): Add distributed tracing (#21144)
Server and client traces are now automatically connected, allowing you to see the full request lifecycle from server-side rendering through client-side hydration in a single trace.
feat(tanstackstart-react): Add server-side route parametrization (#21147)
Server transaction names are now parametrized automatically (e.g.,
GET /users/123becomesGET /users/$userId), improving transaction grouping in Sentry.feat(tanstackstart-react): Show readable server function names in traces (#21190)
Server function spans now show human-readable names (e.g.,
GET /_serverFn/greetinstead ofGET /_serverFn/a10e70b3...). Thetanstackstart.function.hash.sha256span attribute has been renamed totanstackstart.function.id.Other Changes
dataCollection(#21071)dataCollectioninstead ofsendDefaultPii(#21078)Elysiaapp type to support Elysia options (#21164)Internal Changes
beforeSend*callbacks (#21186)astro-6e2e test build by relaxing astro version range (#21211)normalizecode out of core (#21172)registerSpanErrorInstrumentation()on server (#21169)