Repository navigation
Release 4.3.0 - #120
Merged
Merged
Release 4.3.0#120
Conversation
size-limit report 📦
|
…arison and center the logo
MattCCC
force-pushed
the
claude/elegant-ritchie-umt7va
branch
from
September 27, 2026 21:14
1041b58 to
c0aa5f5
Compare
Let only admins publish releases to npm
Keep direct assignments for custom fetcher responses to avoid a slowdown
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 pull request prepares the 4.3.0 release. It bumps the version in
package.jsonandpackage-lock.json, rebuildsdistwith everything merged since 4.2.0, and brings the README up to date, including the comparison with other libraries, which now covers TanStack Query.🧩 Pull Requests Merged Into This One
master, and from there into this branch).📖 README
<p align="center">, which GitHub and npm both honor.fetch(). The TanStack Query column is checked against the options and defaults of@tanstack/react-query5.104.shouldRetryOnError), and can poll conditionally based on the latest data (refreshIntervalas a function).fetch(), and ofetch errors can be customized withonResponseError.📋 What's in 4.3.0
✨ Features & Improvements
refreshWhenHiddenandrefreshWhenOffline(Pause polling in hidden tabs and while offline #108)onLoadingSlowinterceptor andloadingTimeoutfor slow requests (Add onLoadingSlow interceptor for slow requests #109)cacheStore(Add persistent cache through custom cache stores #110)onUploadProgress(Add upload progress tracking with onUploadProgress #111)If-None-Matchand reused on304 Not Modified(Revalidate cached responses with their ETag #113)jitterto spread retries out, and retrymethods, which default to the idempotent ones (Add retry jitter, and retry only idempotent methods by default #114)onDownloadProgress(Add onDownloadProgress to track the download progress of responses #115)responseTypeto read response bodies as JSON, text,Blob,ArrayBuffer,FormDataor a stream (Add responseType to read response bodies in a particular way #116)focusThrottleIntervalto throttle revalidations on focus (Add focusThrottleInterval to throttle revalidations on focus #117)initialDatato use e.g. server-rendered data as the first response, whichuseFetcher()shows right away (Add initialData to use e.g. server-rendered data as the first response #118)createApiFetcher()endpoints from OpenAPI schemas withOpenApiEndpoint, and{param}path placeholders (Type createApiFetcher() endpoints from OpenAPI schemas #119)🐛 Bug Fixes
createApiFetcher()(Security Hardening, Bug Fixes & 100% Test Coverage #106)signalsetting aborts requests and stops their retries and polling (Abort requests with the signal passed to them #112)defaultResponse(Add responseType to read response bodies in a particular way #116)refreshWhenHidden: trueandrefreshWhenOffline: truekeep it going (Pause polling in hidden tabs and while offline #108)If-None-Matchheader, which cross-origin servers must allow in CORS;etag: falseturns it off (Revalidate cached responses with their ETag #113)POSTandPATCHrequests are no longer retried on theretryOnstatuses; add them toretry.methodsor useshouldRetryto retry them (Add retry jitter, and retry only idempotent methods by default #114)focusThrottleInterval: 0turns it off (Add focusThrottleInterval to throttle revalidations on focus #117)baseURLwith a/,strategy: 'defaultResponse'returningdefaultResponse, merged nestedretry/headersdefaults and masked credentials in logged errors (Security Hardening, Bug Fixes & 100% Test Coverage #106)🧪 Tests
📦 Bundle Size
browser/index.mjsbrowser/index.global.jsnode/index.jsreact/index.mjsreact/index.jsAll bundles are within the current size limits. The React sizes include the core and React itself, as size-limit counts all dependencies.
🏷️ After Merging
v4.3.0onmaster("Generate release notes" lists the pull requests above).npmenvironment requires a reviewer, approve it under "Review deployments" in the run.