@sentry/tanstackstart-react
11.9.0 · 23 Oct 2026MIT620.2k / weekRepositoryHomepagenpmAtom feed
10.77.1 is the newest release of 10.x.
In short
1 deprecated6 new8 fixed15 internal
- deprecated
core: Deprecate
sendDefaultPiiin favor ofdataCollection
Release note
Important Changes
angular: Add support for Angular 22
@sentry/angularnow officially supports Angular 22.- deprecated
core: Deprecate
sendDefaultPiiin favor ofdataCollectionsendDefaultPiiis deprecated and will be removed in v11. The newdataCollectionoption lets you control each category of collected data.sendDefaultPii: truestill works and maps to enabling alldataCollectioncategories.dataCollection.userInfodefaults totruewhendataCollectionis provided, meaning auto-populateduser.*fields (e.g. IP address from a request) are collected by default.
Data you set explicitly (like viaSentry.setUser()) is always sent regardless.
WhendataCollectionis not set at all, the legacysendDefaultPiibehavior applies (userInfo: falseby default) to preserve backward compatibility.Note that an empty
dataCollection: {}falls back to more permissive defaults thansendDefaultPii: false, so replicate the old behavior by opting out explicitly:Sentry.init({ dataCollection: { userInfo: false, genAI: { inputs: false, outputs: false }, httpBodies: [], httpHeaders: { deny: ['forwarded', '-ip', 'remote-', 'via', '-user'] }, cookies: { deny: ['forwarded', '-ip', 'remote-', 'via', '-user'] }, queryParams: { deny: ['forwarded', '-ip', 'remote-', 'via', '-user'] }, }, });
Other Changes
Use
dataCollection.frameContextLinesfor ContextLines integrationcloudflare: Auto instrument D1 based on env
core: Change default of
dataCollection.userInfototruecore: Default
dataCollection.httpBodiesto all valid body typeshono: Filter noisy transactions (
faviconetc)cloudflare: Don't track negatively sampled spans
core: Use
safeDateNowcalls fornew Date()readsnextjs: Shim
pinoIntegrationon edge runtimenode: Prevent PostgresJs integration from emitting duplicate spans per query
node-core: Read
__SENTRY_SERVER_MODULES__lazily so Turbopack injection is honoredreact: Detect React Router v6/v7 navigations in a layout effect to propagate the correct trace
react: Remove unused
react.componentStackevent contextreplays: Record
sentry._internal.replay_is_bufferingfor spans
Internal Changes
Work in this release was contributed by @zhongrenfei1-hub. Thank you for your contribution!