Skip to content

feat(v8/react): Add a handled prop to ErrorBoundary#14978

Merged
Lms24 merged 2 commits intov8from
lms/feat-react-handled-prop-v8
Jan 10, 2025
Merged

feat(v8/react): Add a handled prop to ErrorBoundary#14978
Lms24 merged 2 commits intov8from
lms/feat-react-handled-prop-v8

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Jan 10, 2025

backport of #14560

The previous behaviour was to rely on the presence of the `fallback`
prop to decide if the error was considered handled or not. The new
property lets users explicitly choose what should the handled
status be. If omitted, the old behaviour is still applied.
@Lms24 Lms24 requested review from a team as code owners January 10, 2025 12:22
@Lms24 Lms24 changed the base branch from develop to v8 January 10, 2025 12:23
@Lms24 Lms24 requested review from AbhiPrasad and lforst and removed request for a team January 10, 2025 12:23
@Lms24 Lms24 enabled auto-merge (squash) January 10, 2025 12:27
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 23.29 KB - -
@sentry/browser - with treeshaking flags 21.96 KB - -
@sentry/browser (incl. Tracing) 35.85 KB - -
@sentry/browser (incl. Tracing, Replay) 73.09 KB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.48 KB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 77.4 KB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 89.34 KB - -
@sentry/browser (incl. Feedback) 39.5 KB - -
@sentry/browser (incl. sendFeedback) 27.89 KB - -
@sentry/browser (incl. FeedbackAsync) 32.69 KB - -
@sentry/react 25.97 KB +0.06% +14 B 🔺
@sentry/react (incl. Tracing) 38.67 KB +0.04% +13 B 🔺
@sentry/vue 27.57 KB - -
@sentry/vue (incl. Tracing) 37.71 KB - -
@sentry/svelte 23.45 KB - -
CDN Bundle 24.49 KB - -
CDN Bundle (incl. Tracing) 37.56 KB - -
CDN Bundle (incl. Tracing, Replay) 72.75 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 78.11 KB - -
CDN Bundle - uncompressed 71.93 KB - -
CDN Bundle (incl. Tracing) - uncompressed 111.42 KB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.5 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.6 KB - -
@sentry/nextjs (client) 38.92 KB - -
@sentry/sveltekit (client) 36.36 KB - -
@sentry/node 162.8 KB - -
@sentry/node - without tracing 98.94 KB - -
@sentry/aws-serverless 126.63 KB - -

View base workflow run

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