Skip to content

ref(core)!: Remove supportsDOMError, supportsHistory, supportsReportingObserver exports - #23718

Merged
mydea merged 2 commits into
developfrom
fn/remove-more-core-exports
Aug 28, 2026
Merged

ref(core)!: Remove supportsDOMError, supportsHistory, supportsReportingObserver exports#23718
mydea merged 2 commits into
developfrom
fn/remove-more-core-exports

Conversation

@mydea

@mydea mydea commented Aug 28, 2026

Copy link
Copy Markdown
Member

These are no longer used in core, and can just move directly to browser/browser-utils, or be removed (supportsDOMError is not used anywhere).

@mydea
mydea force-pushed the fn/remove-more-core-exports branch from d0454a2 to 07f89b5 Compare August 28, 2026 08:29
@mydea mydea changed the title ref(core): Remove supportsDOMError, supportsHistory, supportsReportingObserver exports ref(core)!: Remove supportsDOMError, supportsHistory, supportsReportingObserver exports Aug 28, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 07f89b5. Configure here.


export { getComponentName, getLocationHref } from './utils/browser';
export { supportsDOMError, supportsHistory, supportsNativeFetch, supportsReportingObserver } from './utils/supports';
export { supportsNativeFetch } from './utils/supports';

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Public support helpers removed without deprecation

Medium Severity

supportsDOMError, supportsHistory, and supportsReportingObserver were dropped from the public @sentry/core and @sentry/core/browser entry points with no deprecation window. This is flagged because the review rules call out public API removals and missing deprecation notices. Downstream imports of these helpers will fail in a minor release. Nearby unused helpers such as supportsFetch and supportsReferrerPolicy remain exported and marked deprecated instead.

Additional Locations (1)
Fix in Cursor Fix in Web

Triggered by project rule: PR Review Guidelines for Cursor Bot

Reviewed by Cursor Bugbot for commit 07f89b5. Configure here.

@github-actions

github-actions Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

⚠️ Warning: Base artifact is not the latest one, because the latest workflow run is not done yet. This may lead to incorrect results. Try to re-run all tests to get up to date results.

Path Size % Change Change
@sentry/browser 28.56 kB -0.01% -1 B 🔽
@sentry/browser - with treeshaking flags 26.92 kB -0.01% -1 B 🔽
@sentry/browser - with treeshaking flags tracing without tracing 26.82 kB - -
@sentry/browser (incl. Tracing) 48.63 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.64 kB -0.01% -1 B 🔽
@sentry/browser (incl. Tracing, Profiling) 51.55 kB -0.01% -1 B 🔽
@sentry/browser (incl. Tracing, Replay) 88.09 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.52 kB -0.01% -1 B 🔽
@sentry/browser (incl. Tracing, Replay with Canvas) 92.79 kB -0.01% -1 B 🔽
@sentry/browser (incl. Tracing, Replay, Feedback) 105.73 kB -0.01% -3 B 🔽
@sentry/browser (incl. Feedback) 46.05 kB - -
@sentry/browser (incl. sendFeedback) 33.62 kB -0.01% -1 B 🔽
@sentry/browser (incl. FeedbackAsync) 38.73 kB -0.01% -1 B 🔽
@sentry/browser (incl. Metrics) 29.51 kB - -
@sentry/browser (incl. Logs) 29.8 kB - -
@sentry/browser (incl. Metrics & Logs) 30.43 kB - -
@sentry/react 30.3 kB -0.01% -1 B 🔽
@sentry/react (incl. Tracing) 50.83 kB - -
@sentry/vue 35.69 kB -0.01% -1 B 🔽
@sentry/vue (incl. Tracing) 50.86 kB - -
@sentry/svelte 28.59 kB -0.01% -1 B 🔽
CDN Bundle 30.35 kB +0.01% +1 B 🔺
CDN Bundle (incl. Tracing) 49.23 kB -0.01% -3 B 🔽
CDN Bundle (incl. Logs, Metrics) 32.58 kB +0.01% +2 B 🔺
CDN Bundle (incl. Tracing, Logs, Metrics) 51.12 kB -0.01% -3 B 🔽
CDN Bundle (incl. Replay, Logs, Metrics) 73.17 kB - -
CDN Bundle (incl. Tracing, Replay) 86.72 kB -0.01% -3 B 🔽
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.6 kB -0.01% -3 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) 92.62 kB -0.01% -4 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.5 kB -0.01% -3 B 🔽
CDN Bundle - uncompressed 89.95 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.82 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 96.24 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 152.51 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 225.41 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 266.32 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 272 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 280.02 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 285.69 kB - -
@sentry/nextjs (client) 53.41 kB -0.01% -1 B 🔽
@sentry/sveltekit (client) 49.07 kB - -
@sentry/core/server 65.15 kB - -
@sentry/core/browser 51.8 kB -0.15% -77 B 🔽
@sentry/node 122.71 kB +0.02% +16 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 85.23 kB - -
@sentry/node - without tracing 87.74 kB +0.03% +26 B 🔺
@sentry/node - without channel injection 102.38 kB +0.02% +18 B 🔺
@sentry/aws-serverless 95.9 kB +0.03% +25 B 🔺
@sentry/cloudflare (withSentry) - minified 199.69 kB - -
@sentry/cloudflare (withSentry) 496.19 kB - -

View base workflow run

@mydea
mydea force-pushed the fn/remove-more-core-exports branch from 07f89b5 to 365491f Compare August 28, 2026 08:49
@mydea
mydea marked this pull request as ready for review August 28, 2026 09:09
@mydea
mydea requested a review from a team as a code owner August 28, 2026 09:09
@mydea
mydea requested review from logaretm and msonnb and removed request for a team August 28, 2026 09:09
@mydea
mydea force-pushed the fn/remove-more-core-exports branch from 365491f to 30a2c1f Compare August 28, 2026 09:32
@mydea
mydea merged commit 35404f3 into develop Aug 28, 2026
549 of 551 checks passed
@mydea
mydea deleted the fn/remove-more-core-exports branch August 28, 2026 09:53
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.

2 participants