chore: Update version for release #9965
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.
Releases
@remix-run/[email protected]
Minor Changes
New
future.unstable_optimizeDeps
flag for automatic dependency optimization (#9921)You can now opt-in to automatic dependency optimization during development by using the
future.unstable_optimizeDeps
future flag.For details, check out the docs at
Guides
>Dependency optimization
.For users who were previously working around this limitation, you no longer need to explicitly add routes to Vite's
optimizeDeps.entries
nor do you need to disable theremix-dot-server
plugin.Patch Changes
dest already exists
build errors by only moving SSR assets to the client build directory when they're not already present on disk (#9901)@remix-run/[email protected]
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
Single Fetch: Improved typesafety (#9893)
If you were already using previously released unstable single-fetch types:
"@remix-run/react/future/single-fetch.d.ts"
override fromtsconfig.json
>compilerOptions
>types
defineLoader
,defineAction
,defineClientLoader
,defineClientAction
helpers from your route modulesUIMatch_SingleFetch
type helper withUIMatch
MetaArgs_SingleFetch
type helper withMetaArgs
Then you are ready for the new typesafety setup:
For more information, see Guides > Single Fetch in our docs.
Updated dependencies:
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
Single Fetch: Improved typesafety (#9893)
If you were already using previously released unstable single-fetch types:
"@remix-run/react/future/single-fetch.d.ts"
override fromtsconfig.json
>compilerOptions
>types
defineLoader
,defineAction
,defineClientLoader
,defineClientAction
helpers from your route modulesUIMatch_SingleFetch
type helper withUIMatch
MetaArgs_SingleFetch
type helper withMetaArgs
Then you are ready for the new typesafety setup:
For more information, see Guides > Single Fetch in our docs.
Updated dependencies:
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
Single Fetch: Improved typesafety (#9893)
If you were already using previously released unstable single-fetch types:
"@remix-run/react/future/single-fetch.d.ts"
override fromtsconfig.json
>compilerOptions
>types
defineLoader
,defineAction
,defineClientLoader
,defineClientAction
helpers from your route modulesUIMatch_SingleFetch
type helper withUIMatch
MetaArgs_SingleFetch
type helper withMetaArgs
Then you are ready for the new typesafety setup:
For more information, see Guides > Single Fetch in our docs.
Updated dependencies:
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
Lazy Route Discovery: Sort
/__manifest
query parameters for better caching (#9888)[REMOVE] cleanup tests (#9945)
Single Fetch: fix revalidation behavior bugs (#9938)
GET /a/b/c.data
shouldRevalidate
, it will be excluded from the single fetch callclientLoader
then it will be excluded from the single fetch call and if you callserverLoader()
from yourclientLoader
, that will make a separarte HTTP call for just that route loader - i.e.,GET /a/b/c.data?_routes=routes/a
for aclientLoader
inroutes/a.tsx
root
route androutes/b
had aloader
butroutes/c
did not, the single fetch request would beGET /a/b/c.data?_routes=root,routes/a
[REMOVE] Align single fetch prefetchign with new revalidation logic (#9958)
Remove hydration URL check that was originally added for React 17 hydration issues and we no longer support React 17 (#9890)
v1.18.0
via fix: reload page when routeModules doesn't contain module for current route #64091.18.0
turned out to be subject to false positives of it's own which could also put the user in looping scenarios[REMOVE] Bump router (#9963)
Single Fetch: Improved typesafety (#9893)
If you were already using previously released unstable single-fetch types:
"@remix-run/react/future/single-fetch.d.ts"
override fromtsconfig.json
>compilerOptions
>types
defineLoader
,defineAction
,defineClientLoader
,defineClientAction
helpers from your route modulesUIMatch_SingleFetch
type helper withUIMatch
MetaArgs_SingleFetch
type helper withMetaArgs
Then you are ready for the new typesafety setup:
For more information, see Guides > Single Fetch in our docs.
[REMOVE] Fix HDR for single fetch (#9954)
Clarify wording in default
HydrateFallback
console warning (#9899)Updated dependencies:
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
Single Fetch: Do not try to encode a
turbo-stream
body into 304 responses (#9941)Single Fetch: fix revalidation behavior bugs (#9938)
GET /a/b/c.data
shouldRevalidate
, it will be excluded from the single fetch callclientLoader
then it will be excluded from the single fetch call and if you callserverLoader()
from yourclientLoader
, that will make a separarte HTTP call for just that route loader - i.e.,GET /a/b/c.data?_routes=routes/a
for aclientLoader
inroutes/a.tsx
root
route androutes/b
had aloader
butroutes/c
did not, the single fetch request would beGET /a/b/c.data?_routes=root,routes/a
Remove hydration URL check that was originally added for React 17 hydration issues and we no longer support React 17 (#9890)
v1.18.0
via fix: reload page when routeModules doesn't contain module for current route #64091.18.0
turned out to be subject to false positives of it's own which could also put the user in looping scenariosSingle Fetch: Improved typesafety (#9893)
If you were already using previously released unstable single-fetch types:
"@remix-run/react/future/single-fetch.d.ts"
override fromtsconfig.json
>compilerOptions
>types
defineLoader
,defineAction
,defineClientLoader
,defineClientAction
helpers from your route modulesUIMatch_SingleFetch
type helper withUIMatch
MetaArgs_SingleFetch
type helper withMetaArgs
Then you are ready for the new typesafety setup:
For more information, see Guides > Single Fetch in our docs.
Single Fetch: Change content type on
.data
requests totext/x-script
to allow Cloudflare compression (#9889)Support 304 responses on document requests (#9955)
@remix-run/[email protected]
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
[email protected]
[email protected]
remix
See the
CHANGELOG.md
in individual Remix packages for all changes.@remix-run/[email protected]
@remix-run/[email protected]