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.8.1
->2.9.1
2.8.1
->2.9.1
2.8.1
->2.9.1
2.8.1
->2.9.1
2.8.1
->2.9.1
2.8.1
->2.9.1
Release Notes
remix-run/remix (@remix-run/css-bundle)
v2.9.1
Compare Source
No significant changes to this package were made in this release. See the repo
CHANGELOG.md
for an overview of all changes in v2.9.1.v2.9.0
Compare Source
No significant changes to this package were made in this release. See the repo
CHANGELOG.md
for an overview of all changes in v2.9.0.remix-run/remix (@remix-run/dev)
v2.9.1
Compare Source
Patch Changes
ssr.noExternal
option were being overridden by the Remix Vite plugin adding Remix packages to Vite'sssr.external
option (#9301)@remix-run/[email protected]
@remix-run/[email protected]
v2.9.0
Compare Source
Minor Changes
New
future.unstable_singleFetch
flag (#8773)turbo-stream
soDate
's will becomeDate
throughuseLoaderData()
Promise
's without needing to usedefer()
- including nestedPromise
'sdefer
utility<RemixServer abortDelay>
is no longer used. Instead, you shouldexport const streamTimeout
fromentry.server.tsx
and the remix server runtime will use that as the delay to abort the streamed responserenderToPipeableStream
. You should always ensure that react is aborted afer the stream is aborted so that abort rejections can be flushed downfuture.unstable_skipActionErrorRevalidation
flag) - you can return a 2xx to opt-into revalidation or useshouldRevalidate
Patch Changes
getDependenciesToBundle
resolution in monorepos (#8848)@remix-run/[email protected]
@remix-run/[email protected]
remix-run/remix (@remix-run/node)
v2.9.1
Compare Source
Patch Changes
@remix-run/[email protected]
v2.9.0
Compare Source
Minor Changes
undici
fetch polyfill behind a newinstallGlobals({ nativeFetch: true })
parameter (#9198)remix-serve
will default to usingundici
for the fetch polyfill iffuture._unstable_singleFetch
is enabled because the single fetch implementation relies on theundici
polyfillinstallGlobals
on their own to avoid runtime errors with Single FetchPatch Changes
@remix-run/[email protected]
remix-run/remix (@remix-run/react)
v2.9.1
Compare Source
Patch Changes
future/*.d.ts
files from TS build (#9299)@remix-run/[email protected]
v2.9.0
Compare Source
Minor Changes
New
future.unstable_singleFetch
flag (#8773)turbo-stream
soDate
's will becomeDate
throughuseLoaderData()
Promise
's without needing to usedefer()
- including nestedPromise
'sdefer
utility<RemixServer abortDelay>
is no longer used. Instead, you shouldexport const streamTimeout
fromentry.server.tsx
and the remix server runtime will use that as the delay to abort the streamed responserenderToPipeableStream
. You should always ensure that react is aborted afer the stream is aborted so that abort rejections can be flushed downfuture.unstable_skipActionErrorRevalidation
flag) - you can return a 2xx to opt-into revalidation or useshouldRevalidate
Opt-in types for single-fetch (#9272)
./node_modules/@​remix-run/react/future/single-fetch.d.ts
toinclude
in yourtsconfig.json
Patch Changes
@remix-run/[email protected]
remix-run/remix (@remix-run/serve)
v2.9.1
Compare Source
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
v2.9.0
Compare Source
Minor Changes
undici
fetch polyfill behind a newinstallGlobals({ nativeFetch: true })
parameter (#9198)remix-serve
will default to usingundici
for the fetch polyfill iffuture.unstable_singleFetch
is enabled because the single fetch implementation relies on theundici
polyfillinstallGlobals
on their own to avoid runtime errors with Single FetchPatch Changes
@remix-run/[email protected]
@remix-run/[email protected]
vercel/remix (@vercel/remix)
v2.9.1
Compare Source
Date: 2024-04-24
Patch Changes
@remix-run/dev
- Fix issue where consumers who had added Remix packages to Vite'sssr.noExternal
option were being overridden by the Remix Vite plugin adding Remix packages to Vite'sssr.external
option (#9301)@remix-run/react
- Ignorefuture/*.d.ts
files from TS build (#9299)Changes by Package
@remix-run/dev
@remix-run/react
Full Changelog:
v2.9.0...v2.9.1
v2.9.0
Compare Source
Date: 2024-04-23
What's Changed
Single Fetch (unstable)
2.9.0
introduces afuture.unstable_singleFetch
flag to enable to Single Fetch behavior (RFC) in your Remix application. Please refer to the docs for the full detail but the high-level changes to be aware of include:loader
/action
functions are no longer automatically serialized to JSON responsesturbo-stream
which allows direct serialization of more complex types such asPromise
,Date
,Map
instances, and moretsconfig.json
'sinclude
array to infer types properly when using Single Fetchheaders
export is no longer used when Single Fetch is enabled in favor of a newresponse
stub passed to yourloader
/action
functionsjson
/defer
/redirect
utilities are deprecated when using Single Fetch (but still work mostly the same)4xx
/5xx
responses - you can return a2xx
to opt-into revalidation or useshouldRevalidate
Undici
Remix
2.9.0
adds a newinstallGlobals({ nativeFetch: true })
flag to opt into usingundici
for the Web Fetch polyfills instead of the@remix-run/web-*
packages. This change has a few primary benefits:undici
, so beware of "breaking bug fixes" and keep an eye on any advancedfetch
API interactions you're performing in your appundici
may have different behavior by design -- most notably,undici
's garbage collection behavior differs and you are required to consume all fetch response bodies to avoid a memory leak in your appundici
is the fetch implementation used bynode
internally, it should better prepare Remix apps to more smoothly drop the polyfill to use the built-in Node.js APIs onnode
20+Minor Changes
future.unstable_singleFetch
flag (#8773, #9073, #9084, #9272)@remix-run/node
- Add a newinstallGlobals({ nativeFetch: true })
flag to opt-into usingundici
as the fetch polyfill instead of@remix-run/web-*
(#9106, #9111, #9198)@remix-run/server-runtime
- AddResponseStub
header interface and deprecate theheaders
export when Single Fetch is enabled (#9142)Patch Changes
create-remix
- Allow.
in repo name when using--template
flag (#9026)@remix-run/dev
- ImprovegetDependenciesToBundle
resolution in monorepos (#8848)@remix-run/dev
- Fix SPA mode when Single Fetch is enabled by using streamingentry.server
(#9063)@remix-run/dev
- Vite: added sourcemap support for transformed routes (#8970)@remix-run/dev
- Update links printed to the console by the Remix CLI/Dev Server to point to updated docs locations (#9176)@remix-run/server-runtime
- Handle redirects created byhandleDataRequest
(#9104)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.8.1...v2.9.0
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 these updates again.
This PR has been generated by Mend Renovate. View repository job log here.