Skip to content

feat(core)!: Remove enableLogs and beforeSendLog experimental options #17063

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 21, 2025

Conversation

AbhiPrasad
Copy link
Member

When we first shipped support for https://docs.sentry.io/product/explore/logs/ in the JavaScript SDK we gated the logging related options (enableLogs, beforeSendLog) behind _experiments namespace.

See #15717 and #15814 for the PRs that made this change.

For v10, we want to not make this experimental anymore, so we changed the logging options to become top-level options to Sentry.init.

@AbhiPrasad AbhiPrasad added this to the 10.0.0 milestone Jul 17, 2025
@AbhiPrasad AbhiPrasad self-assigned this Jul 17, 2025
Copy link
Contributor

github-actions bot commented Jul 17, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 23.75 kB -0.05% -10 B 🔽
@sentry/browser - with treeshaking flags 22.33 kB -0.05% -11 B 🔽
@sentry/browser (incl. Tracing) 39.61 kB -0.03% -8 B 🔽
@sentry/browser (incl. Tracing, Replay) 77.78 kB -0.02% -8 B 🔽
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.59 kB -0.02% -8 B 🔽
@sentry/browser (incl. Tracing, Replay with Canvas) 82.48 kB -0.01% -8 B 🔽
@sentry/browser (incl. Tracing, Replay, Feedback) 94.58 kB -0.02% -11 B 🔽
@sentry/browser (incl. Feedback) 40.44 kB -0.04% -14 B 🔽
@sentry/browser (incl. sendFeedback) 28.42 kB -0.04% -11 B 🔽
@sentry/browser (incl. FeedbackAsync) 33.33 kB -0.04% -12 B 🔽
@sentry/react 25.49 kB -0.05% -11 B 🔽
@sentry/react (incl. Tracing) 41.59 kB -0.01% -3 B 🔽
@sentry/vue 28.18 kB -0.03% -6 B 🔽
@sentry/vue (incl. Tracing) 41.4 kB -0.02% -5 B 🔽
@sentry/svelte 23.77 kB -0.04% -8 B 🔽
CDN Bundle 25.16 kB -0.06% -14 B 🔽
CDN Bundle (incl. Tracing) 39.41 kB -0.02% -7 B 🔽
CDN Bundle (incl. Tracing, Replay) 75.41 kB -0.01% -6 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) 80.88 kB -0.01% -8 B 🔽
CDN Bundle - uncompressed 73.42 kB -0.03% -18 B 🔽
CDN Bundle (incl. Tracing) - uncompressed 116.84 kB -0.02% -18 B 🔽
CDN Bundle (incl. Tracing, Replay) - uncompressed 230.98 kB -0.01% -18 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 243.79 kB -0.01% -18 B 🔽
@sentry/nextjs (client) 43.62 kB -0.02% -6 B 🔽
@sentry/sveltekit (client) 40.03 kB -0.02% -7 B 🔽
@sentry/node-core 47.23 kB -0.02% -8 B 🔽
@sentry/node 143.81 kB +0.01% +3 B 🔺
@sentry/node - without tracing 91.31 kB -0.01% -3 B 🔽
@sentry/aws-serverless 102.74 kB -0.01% -3 B 🔽

View base workflow run

@andreiborza andreiborza force-pushed the abhi-enable-logs-change branch from 3e3d756 to c6e9ace Compare July 17, 2025 19:40
@AbhiPrasad AbhiPrasad marked this pull request as ready for review July 18, 2025 15:09
@AbhiPrasad AbhiPrasad requested review from andreiborza, a team and Lms24 and removed request for a team July 18, 2025 15:09
@AbhiPrasad AbhiPrasad merged commit 4c96e5b into develop Jul 21, 2025
492 of 499 checks passed
@AbhiPrasad AbhiPrasad deleted the abhi-enable-logs-change branch July 21, 2025 08:03
AbhiPrasad added a commit that referenced this pull request Jul 21, 2025
AbhiPrasad added a commit that referenced this pull request Jul 21, 2025
…` option (#17092)

This is the v9 backport of
#17063, which
deprecates the `enableLogs` and `beforeSendLog` under experiments and
move it to be top-level options.
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.

3 participants