Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3754 +/- ##
=======================================
Coverage 98.05% 98.05%
=======================================
Files 151 151
Lines 2834 2834
Branches 555 555
=======================================
Hits 2779 2779
Misses 11 11
Partials 44 44 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
131196b to
f7f536a
Compare
9f2c8fe to
2c35b23
Compare
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
270d1b4 to
8ef4938
Compare
8ef4938 to
4f6de2c
Compare
4f6de2c to
ee489a5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@data-client/react@1.0.0
Major Changes
#3752
3c3bfe8- BREAKING CHANGE: useFetch() always returns a stable promise with a.resolvedproperty, even when data is already cached.before
after
Minor Changes
#3755
5783267-useFetch()returns a UsablePromise thenable with denormalized data, error handling, and GC tracking.use(useFetch(endpoint, args))now behaves identically touseSuspense(endpoint, args)— suspending when data is loading, returning denormalized data when cached, throwing on errors, and re-suspending on invalidation.Parallel fetches are supported since all
useFetch()calls execute before anyuse()suspends:Patch Changes
0e0ff1a]:@data-client/vue@1.0.0
Major Changes
#3752
3c3bfe8- BREAKING CHANGE: useFetch() always returns a stable promise with a.resolvedproperty, even when data is already cached.before
after
Patch Changes
0e0ff1a]:@data-client/rest@1.0.0
Minor Changes
#3757
02555a2- RestEndpoint.path and Resource.path syntax updatedUpgrading path-to-regexp from 6 to 8.
BREAKING CHANGES:
(,),[,],+,?,!must be escaped"\\("{}()[]+?!:*\are all characters that need escapingMigrate using:
npx skills add https://github.com/reactive/data-client --skill path-to-regexp-v8-migrationPatch Changes
#3782
3b85c82- FixsearchParams: undefinedbeing widened toanyin TypeScript 6 non-strict modeTypeScript 6.0 widens
undefinedtoanyduring generic inference whenstrictNullChecksis off.This caused
RestEndpointwithsearchParams: undefinedto incorrectly accept arbitrary arguments.#3757
02555a2- Fixundefinedoptional path params being interpolated as literal"undefined"in URLsUpdated dependencies []:
@data-client/core@1.0.0
Patch Changes
#3774
0e0ff1a- GCPolicy interval no longer blocks Node.js process exitCall
.unref()on GCPolicy'ssetIntervalin Node.js environments, preventing the GC sweep timer from keeping Jest workers or other Node.js processes alive.@data-client/img@1.0.0
Patch Changes
3c3bfe8,5783267]:@data-client/test@1.0.0
Patch Changes
#3774
0e0ff1a- Add automatic cleanup after each testrenderDataHook() and
makeRenderDataClient()now register anafterEachhook at import time that automatically cleans up all active managers. ManualrenderDataHook.cleanup()calls inafterEachare no longer needed.#3772
1a20f4e- Add per-rendercleanup()andallSettled()to makeRenderDataHook return valueEach
renderDataHook()call now returnscleanupandallSettleddirectly on the result object, ensuring each render's managers can be independently cleaned up. This prevents manager leaks whenrenderDataHook()is called multiple times in a test.New exports:
RenderDataHookResultUpdated dependencies [
3c3bfe8,5783267]:example-benchmark@0.4.81
Patch Changes
0e0ff1a]:coinbase-lite@0.0.16
Patch Changes
3b85c82,02555a2,02555a2,3c3bfe8,5783267]:test-bundlesize@0.1.8
Patch Changes
3b85c82,02555a2,02555a2,3c3bfe8,5783267]: