chore: Update version for release (pre) #10626
Merged
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 release-next, this PR will be updated.
release-nextis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonrelease-next.Releases
[email protected]
Minor Changes
Add support for
application/jsonandtext/plainencodings foruseSubmit/fetcher.submit. To reflect these additional types,useNavigation/useFetchernow also containnavigation.json/navigation.textandfetcher.json/fetcher.textwhich are getter functions mimickingrequest.jsonandrequest.text. Just as aRequestdoes, if you access one of these methods for the incorrect encoding type, it will throw an Error (i.e. accessingnavigation.formDatawhennavigation.formEncTypeisapplication/json). (#10413)Patch Changes
submitterelement, prefer the built-innew FormData(form, submitter)instead of the previous manual approach in modern browsers (those that support the newsubmitterparameter). For browsers that don't support it, we continue to just append the submit button's entry to the end, and we also add rudimentary support fortype="image"buttons. If developers want full spec-compliant support for legacy browsers, they can use theformdata-submitter-polyfill. (#9865)window.history.pushState/replaceStatebefore updating React Router state (instead of after) so thatwindow.locationmatchesuseLocationduring synchronous React 17 rendering. However, generally apps should not be relying onwindow.locationand should always referenceuseLocationwhen possible, aswindow.locationwill not be in sync 100% of the time (due topopstateevents, concurrent mode, etc.) (#10211)tsc --skipLibCheck:falseissues on React 17 (#10622)[email protected]@remix-run/[email protected]@remix-run/[email protected]
Minor Changes
Add support for
application/jsonandtext/plainencodings forrouter.navigate/router.fetchsubmissions. To leverage these encodings, pass your data in abodyparameter and specify the desiredformEncType: (#10413)Patch Changes
unstable_useBlockerkey issues inStrictMode(#10573)shouldRevalidatefor fetchers that have not yet completed a data load (#10623)basenamefrom thelocationprovided to<ScrollRestoration getKey>to match theuseLocationbehavior (#10550)window.history.pushState/replaceStatebefore updating React Router state (instead of after) so thatwindow.locationmatchesuseLocationduring synchronous React 17 rendering. However, generally apps should not be relying onwindow.locationand should always referenceuseLocationwhen possible, aswindow.locationwill not be in sync 100% of the time (due topopstateevents, concurrent mode, etc.) (#10211)[email protected]
Patch Changes
unstable_useBlockerkey issues inStrictMode(#10573)generatePathwhen passed a numeric0value parameter (#10612)basenamefrom locations provided tounstable_useBlockerfunctions to matchuseLocation(#10573)tsc --skipLibCheck:falseissues on React 17 (#10622)@remix-run/[email protected][email protected]
Patch Changes
[email protected][email protected][email protected]
Patch Changes
[email protected]