chore(deps): update dependency @vercel/remix to v2.10.3 #321
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 contains the following updates:
2.9.1
->2.10.3
Release Notes
vercel/remix (@vercel/remix)
v2.10.3
Date: 2024-07-16
Patch Changes
@remix-run/architect
- Manually joining headers with semi-colons to avoid differences in Remix and node/undici Headers implementation (#9664)@remix-run/react
- Log any errors encountered loading a route module prior to reloading the page (#8932)@remix-run/react
- Single Fetch (unstable): Proxyrequest.signal
throughdataStrategy
forloader
calls to fix cancellation (#9738)@remix-run/react
- Single Fetch (unstable): Adopt React Router's stabilizedfuture.v7_skipActionErrorRevalidation
under the hood (#9706)shouldRevalidate
parameter fromunstable_actionStatus
toactionStatus
unstable_actionStatus
parameterUpdated Dependencies
[email protected]
@remix-run/[email protected]
Changes by Package
create-remix
@remix-run/architect
@remix-run/cloudflare
@remix-run/cloudflare-pages
@remix-run/cloudflare-workers
@remix-run/css-bundle
@remix-run/deno
@remix-run/dev
@remix-run/eslint-config
@remix-run/express
@remix-run/node
@remix-run/react
@remix-run/serve
@remix-run/server-runtime
@remix-run/testing
Full Changelog:
v2.10.2...v2.10.3
v2.10.2
Date: 2024-07-04
Patch Changes
@remix-run/react
- Forwardref
toForm
(bdd04217
)@remix-run/server-runtime
- Fix bug withimmutable
headers on raw nativefetch
responses returned from loaders (#9693)Changes by Package
create-remix
@remix-run/architect
@remix-run/cloudflare
@remix-run/cloudflare-pages
@remix-run/cloudflare-workers
@remix-run/css-bundle
@remix-run/deno
@remix-run/dev
@remix-run/eslint-config
@remix-run/express
@remix-run/node
@remix-run/react
@remix-run/serve
@remix-run/server-runtime
@remix-run/testing
Full Changelog:
v2.10.1...v2.10.2
v2.10.0
Date: 2024-06-25
What's Changed
Lazy Route Discovery (a.k.a. "Fog of War")
The "Fog of War" feature in Remix, now available through the
future.unstable_fogOfWar
flag, is an optimization to reduce the up front size of the Remix route manifest. In most scenarios the Remix route manifest isn't prohibitively large so as to impact initial perf metrics, but at scale we've found that some apps can generate large manifests that are expensive to download and execute on app startup.When Fog of War is enabled, Remix will only include the initially server-rendered routes in the manifest and then it will fetch manifest "patches" for outgoing links as the user navigates around. By default, to avoid waterfalls Remix fetches patches for all rendered links, so that in the ideal case they've already been patched in prior to being clicked. If a user clicks a link before this eager discovery completes, then a small waterfall will occur to first "discover" the route, and then navigate to the route.
Enabling this flag should require no application code changes. For more information, please see the documentation.
Minor Changes
Patch Changes
@remix-run/{dev|express|serve}
- Upgradeexpress
dependency to^4.19.2
(#9184)@remix-run/react
- Don't prefetch serverloader
data whenclientLoader
exists (#9580)@remix-run/react
- Avoid hydration loops whenLayout
/ErrorBoundary
renders also throw (#9566)@remix-run/react
- Fix a hydration bug when using child routes andHydrateFallback
components with abasename
(#9584)@remix-run/{server-runtime|react}
- Single Fetch: Update to[email protected]
(#9562)@remix-run/server-runtime
- Single Fetch: Properly handle thrown 4xx/5xx response stubs (#9501)@remix-run/server-runtime
- Single Fetch: Change redirects to use a 202 status to avoid automatic caching (#9564)@remix-run/server-runtime
- Single Fetch: Fix issues with returning or throwing a response stub from a resource route in single fetch (#9488)@remix-run/server-runtime
- Single Fetch: Fix error when returningnull
from a resource route (#9488)Updated Dependencies
[email protected]
@remix-run/[email protected]
Changes by Package
create-remix
@remix-run/architect
@remix-run/cloudflare
@remix-run/cloudflare-pages
@remix-run/cloudflare-workers
@remix-run/css-bundle
@remix-run/deno
@remix-run/dev
@remix-run/eslint-config
@remix-run/express
@remix-run/node
@remix-run/react
@remix-run/serve
@remix-run/server-runtime
@remix-run/testing
Full Changelog:
v2.9.2...v2.10.0
v2.9.2
Compare Source
Date: 2024-05-10
What's Changed
Updated Type-Safety for Single Fetch
In 2.9.2 we've enhanced the type-safety when opting into the
future.unstable_singleFetch
feature. Previously, we added theresponse
stub toLoaderFunctionArgs
and used type overrides for inference onuseLoaderData
, etc., but we found that it wasn't quite enough.With this release we're introducing new functions to assist the type-inference when using single fetch -
defineLoader
/defineAction
and their client-side counterpartsdefineClientLoader
and nddefineClientAction
. These are identity functions; they don't modify your loader or action at runtime. Rather, they exist solely for type-safety by providing types for args and by ensuring valid return types.Note that
defineLoader
anddefineAction
are not technically necessary for defining loaders and actions if you aren't concerned with type-safety:This means that you can opt-in to
defineLoader
incrementally, one loader at a time.Please see the Single Fetch docs for more information.
Patch Changes
@remix-run/dev
- Vite: Fixdest already exists
error when runningremix vite:build
(#9305)@remix-run/dev
- Vite: Fix issue resolving critical CSS during development when route files are located outside of the app directory (#9194)@remix-run/dev
- Vite: Remove@remix-run/node
from Vite plugin'soptimizeDeps.include
list since it was unnecessary and resulted in Vite warnings when not depending on this package (#9287)@remix-run/dev
- Vite: Clean up redundant?client-route=1
imports in development (#9395)@remix-run/dev
- Vite: Ensure Babel config files are not referenced when applying thereact-refresh
Babel transform within the Remix Vite plugin (#9241)@remix-run/react
- Type-safety for single-fetch:defineLoader
,defineClientLoader
,defineAction
,defineClientAction
(#9372)@remix-run/react
- Single Fetch: Addundefined
touseActionData
type override (#9322)@remix-run/react
- Single Fetch: Allow anonce
to be set on single fetch stream transfer inline scripts via<RemixServer>
(#9364)@remix-run/server-runtime
- Single Fetch: Don't log thrown response stubs viahandleError
(#9369)@remix-run/server-runtime
- Single Fetch: Automatically wrap resource route naked object returns injson()
for back-compat in v2 (and log deprecation warning) (#9349)@remix-run/server-runtime
- Single Fetch: Passresponse
stub to resource route handlers (#9349)Updated Dependencies
[email protected]
@remix-run/[email protected]
Changes by Package
@remix-run/cloudflare
@remix-run/cloudflare-pages
@remix-run/cloudflare-workers
@remix-run/css-bundle
@remix-run/deno
@remix-run/dev
@remix-run/eslint-config
@remix-run/express
@remix-run/node
@remix-run/react
@remix-run/serve
@remix-run/server-runtime
@remix-run/testing
Full Changelog:
v2.9.1...v2.9.2
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.