Repository navigation
refactor(query-core)!: move error boundary options to adapters - #12709
Conversation
🦋 Changeset detectedLatest commit: 24f510e The changes in this PR will be included in the next version bump. This PR includes changesets to release 25 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
|
View your CI Pipeline Execution ↗ for commit 24f510e
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version Preview23 package(s) bumped directly, 2 bumped as dependents. 🟥 Major bumps
|
size-limit report 📦
|
* refactor(query-core)!: move Suspense policy to adapters * refactor(query): pass Suspense policies to result readers * refactor(query): avoid copying options before defaulting * Revert "refactor(query): avoid copying options before defaulting" This reverts commit dcbcc42. * refactor(query): pass the fetch callback directly to query readers
…r-combine-errors # Conflicts: # packages/query-core/src/__tests__/utils.test-d.tsx
🎯 Changes
Move error-boundary
throwOnErrorinto React, Preact, Solid, and Vue. Core observers use a boolean to decide whether an error change should notify listeners. Imperative refetch options still control promise rejection.This is the first draft in the stack. The next draft covers Suspense.
Runtime tests, type tests, and Oxlint passed for core and all seven adapters. Local Brotli Size Limit measured 12,649 bytes for React full (−35 bytes, −0.28%) and 8,373 bytes for React minimal (−18 bytes, −0.21%) against
query-v6. Preview CI is pending.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact