Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Sentry 6 min read Release mediumAdept

From one switch to a control panel: meet `dataCollection`

Sentry's JavaScript SDK v11 replaces the all-or-nothing `sendDefaultPii` boolean with `dataCollection`, a per-category config covering user info, cookies, HTTP headers and bodies, query params, GenAI inputs/outputs, database queries and more. The new defaults collect more than v10 did, including user info, cookies, truncated request/response bodies, GenAI I/O and DB query data. Sensitive values such as tokens and passwords are still filtered by a built-in denylist, and manually attached data is always sent. Users who had `sendDefaultPii: true` can simply delete it, while those relying on the old restrictive default must set explicit allow/deny options. Because span streaming is now on by default, span filtering should move to `beforeSendSpan` and `ignoreSpans`.

Assumes: Sentry SDK configurationPII handling basics

Related posts

  • Sentry's Flutter SDK 10.0: Streaming Traces and More Accurate Crash-Free Rates

    Sentry mediumAdept

    Sentry's Flutter SDK 10.0 switches tracing to a streaming model that sends finished spans in batches instead of waiting for the whole transaction, with `Sentry.startSpan` for custom instrumentation and an opt-out via `SentryTraceLifecycle.static`. Unhandled Flutter errors that don't kill the app no longer mark sessions as crashed (they end as `unhandled`), making crash-free rates more accurate. App startup becomes its own `app.start` root trace on Android and iOS, with an optional extension API. The release also removes the enable flags for logs and metrics, captures Dio failures that have no HTTP response, masks Flutter `SensitiveContent` in Replay, drops profiling and raises minimums to Dart 3.12 and Flutter 3.44, with sampling and filter rules needing review during upgrade.

  • How we handle sensitive data in BigQuery

    incident.io mediumAdept

    incident.io masks sensitive data in BigQuery by default: a daily Python job applies PII and confidential policy tags to every untagged STRING/BYTES column replicated by Fivetran, so humans see only SHA256-hashed values. Non-sensitive columns are allow-listed via PR-edited YAML files, and a slim run diffs against the previous YAML version stored in GCS so only affected tables are processed. dbt is split into a customer-facing pipeline with unmasked access and an internal analytics pipeline that persists masked values downstream. Tagging once at the source cuts human error, at the cost of being unable to derive non-sensitive values such as email domains. The job also syncs a Notion data catalogue and sends Slack alerts.

  • Schematizing Deletion at Scale

    Shopify Engineering mediumAdept

    Shopify handles PII deletion in a warehouse ingesting tens of billions of events per day by requiring privacy-annotated schemas for every analytical event (4,500+ active schemas) and pseudonymising PII before it lands. A Scrubber on the Kafka pipeline applies irreversible obfuscation, such as masking IPs with geo enrichment or reducing user agents to device and OS families. For data that must stay recoverable, it applies tokenization: a vault issues consistent per-controller, per-subject tokens, so a deletion request only removes the token-to-PII mapping in the vault and never touches the petabyte-scale warehouse. Adoption came from making schematized events the default easy path, proving correctness through reconciliation and stress tests, and adding value like dataset discoverability.

  • Sentry JavaScript SDK v11 adds tracing for all JS platforms

    Sentry mediumAdept

    Sentry's JavaScript SDK v11 replaces OpenTelemetry export-patching instrumentations (require-in-the-middle, import-in-the-middle, shimmer) with a source-code transformer that injects node:diagnostics_channel tracingChannel calls into library functions, plus integrations that subscribe to those channels and emit Sentry spans. Because the transform rewrites source rather than mutating exports, it runs both at runtime via Module.registerHooks and at build time via Vite, Rollup, webpack, esbuild and bun build plugins. That makes bundled deployments, Cloudflare Workers, Deno and Bun traceable and removes preload hacks and most OpenTelemetry dependencies. Caveats: load order still matters, --require is dropped, instrumented libraries must not be externalized, Bun runtime hooks are blocked by a CJS export bug, and debug: true reports what got injected.

  • Sentry's .NET SDK 7.0 is ready for .NET 11

    Sentry mediumAdept

    Sentry's .NET SDK 7.0 adds .NET 11 support (including reading .NET 11 Android's new Zstandard-compressed assembly store for symbolicated stack traces), a Sentry.Extensions.Hosting package bringing UseSentry() to worker services, console apps and isolated Azure Functions, and Sentry.Quartz packages that trace Quartz.NET jobs and auto-create cron monitors. Breaking changes: logging integrations (Serilog, NLog, log4net, Microsoft.Extensions.Logging) can no longer initialize the SDK, which removes duplicate error capture and fails loudly via build or startup errors if they still set a DSN. Adding a logging integration now sends logs without an EnableLogs flag, so teams should check minimum log levels for volume and personal data before upgrading. Mobile and MAUI targets drop .NET 9, some 3xx/4xx responses are no longer traced, and several hosts now report their real environment instead of production.

The quest for software engineering knowledge.

Look:
Layout: