Skip to content

feat(core)!: Remove deprecated _experiments.enableLogs option - #22808

Merged
nicohrubec merged 3 commits into
developfrom
feat/remove-deprecated-experimental-enable-logs
Jul 29, 2026
Merged

feat(core)!: Remove deprecated _experiments.enableLogs option#22808
nicohrubec merged 3 commits into
developfrom
feat/remove-deprecated-experimental-enable-logs

Conversation

@nicohrubec

@nicohrubec nicohrubec commented Jul 29, 2026

Copy link
Copy Markdown
Member

Removes the deprecated _experiments.enableLogs option, which has been superseded by the top-level enableLogs flag. Drops the type field, the constructor backfill, the now-redundant experimental-path tests, and the precedence override in the browser integration fixture, and documents the removal in MIGRATION.md.

Fixes #22634

Removes the deprecated `_experiments.enableLogs` option, which has been
superseded by the top-level `enableLogs` flag. Drops the type field, the
constructor backfill, the now-redundant experimental-path tests, and the
precedence override in the browser integration fixture, and documents the
removal in `MIGRATION.md`.

Fixes #22634

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 29.82 kB -0.01% -1 B 🔽
@sentry/browser - with treeshaking flags 28.03 kB -0.01% -2 B 🔽
@sentry/browser (incl. Tracing) 47.1 kB -0.01% -3 B 🔽
@sentry/browser (incl. Tracing + Span Streaming) 47.11 kB -0.01% -3 B 🔽
@sentry/browser (incl. Tracing, Profiling) 51.81 kB -0.01% -3 B 🔽
@sentry/browser (incl. Tracing, Replay) 86.41 kB -0.01% -2 B 🔽
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 75.84 kB -0.01% -2 B 🔽
@sentry/browser (incl. Tracing, Replay with Canvas) 91.14 kB -0.01% -1 B 🔽
@sentry/browser (incl. Tracing, Replay, Feedback) 103.78 kB - -
@sentry/browser (incl. Feedback) 47.14 kB +0.01% +1 B 🔺
@sentry/browser (incl. sendFeedback) 34.66 kB -0.01% -1 B 🔽
@sentry/browser (incl. FeedbackAsync) 39.77 kB +0.01% +2 B 🔺
@sentry/browser (incl. Metrics) 30.9 kB +0.01% +2 B 🔺
@sentry/browser (incl. Logs) 31.13 kB +0.01% +3 B 🔺
@sentry/browser (incl. Metrics & Logs) 31.8 kB -0.02% -4 B 🔽
@sentry/react 31.61 kB -0.03% -8 B 🔽
@sentry/react (incl. Tracing) 49.34 kB -0.01% -2 B 🔽
@sentry/vue 34.75 kB +0.01% +2 B 🔺
@sentry/vue (incl. Tracing) 49.06 kB -0.01% -1 B 🔽
@sentry/svelte 29.86 kB +0.02% +3 B 🔺
CDN Bundle 31.88 kB +0.02% +5 B 🔺
CDN Bundle (incl. Tracing) 47.45 kB +0.02% +5 B 🔺
CDN Bundle (incl. Logs, Metrics) 33.43 kB +0.03% +7 B 🔺
CDN Bundle (incl. Tracing, Logs, Metrics) 48.84 kB +0.02% +8 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) 72.79 kB +0.01% +5 B 🔺
CDN Bundle (incl. Tracing, Replay) 85.1 kB +0.01% +5 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 86.39 kB +0.01% +8 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 90.86 kB +0.01% +5 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.17 kB +0.01% +9 B 🔺
CDN Bundle - uncompressed 95.05 kB -0.03% -26 B 🔽
CDN Bundle (incl. Tracing) - uncompressed 142.26 kB -0.02% -28 B 🔽
CDN Bundle (incl. Logs, Metrics) - uncompressed 99.76 kB -0.03% -26 B 🔽
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 146.25 kB -0.02% -28 B 🔽
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 224.52 kB -0.02% -26 B 🔽
CDN Bundle (incl. Tracing, Replay) - uncompressed 261.52 kB -0.02% -28 B 🔽
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 265.49 kB -0.02% -28 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 275.23 kB -0.02% -28 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 279.18 kB -0.02% -28 B 🔽
@sentry/nextjs (client) 51.93 kB -0.01% -2 B 🔽
@sentry/sveltekit (client) 47.52 kB -0.02% -5 B 🔽
@sentry/core/server 79.59 kB +0.01% +2 B 🔺
@sentry/core/browser 51.59 kB +0.01% +2 B 🔺
@sentry/node 121.69 kB - -
@sentry/node/import (ESM hook with diagnostics-channel injection) 166 B - -
@sentry/node - without tracing 85.25 kB -0.03% -25 B 🔽
@sentry/aws-serverless 93.47 kB -0.03% -24 B 🔽
@sentry/cloudflare (withSentry) - minified 197.56 kB -0.03% -40 B 🔽
@sentry/cloudflare (withSentry) 485.72 kB -0.01% -32 B 🔽

View base workflow run

Logs are now enabled by default, so the migration example now shows the
option can be omitted rather than set to `true`.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@nicohrubec
nicohrubec marked this pull request as ready for review July 29, 2026 10:17
@nicohrubec
nicohrubec requested a review from a team as a code owner July 29, 2026 10:17
@nicohrubec
nicohrubec requested review from a team, Lms24, logaretm and msonnb and removed request for a team July 29, 2026 10:17
Comment thread packages/core/src/client.ts Outdated
Co-authored-by: Martin Sonnberger <martin.sonnberger@sentry.io>
@nicohrubec
nicohrubec merged commit e0a34e6 into develop Jul 29, 2026
270 of 271 checks passed
@nicohrubec
nicohrubec deleted the feat/remove-deprecated-experimental-enable-logs branch July 29, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

core: remove experimental enableLogs flag

3 participants