New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update remix monorepo to v2.9.2 #531
base: main
Are you sure you want to change the base?
Conversation
|
1b3a19b
to
986d786
Compare
986d786
to
5952f5b
Compare
5952f5b
to
31815c3
Compare
31815c3
to
18b133a
Compare
18b133a
to
3d539f3
Compare
3d539f3
to
3805177
Compare
3805177
to
391d254
Compare
391d254
to
81bbe3b
Compare
81bbe3b
to
149f05f
Compare
149f05f
to
57e12c4
Compare
|
This PR contains the following updates:
2.4.1
->2.9.2
2.4.1
->2.9.2
2.4.1
->2.9.2
Release Notes
remix-run/remix (@remix-run/node)
v2.9.2
Compare Source
Patch Changes
defineLoader
,defineClientLoader
,defineAction
,defineClientAction
(#9372, #9404)@remix-run/server-runtime@2.9.2
v2.9.1
Compare Source
Patch Changes
@remix-run/server-runtime@2.9.1
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/server-runtime@2.9.0
v2.8.1
Compare Source
Patch Changes
@remix-run/server-runtime@2.8.1
v2.8.0
Compare Source
Patch Changes
@remix-run/server-runtime@2.8.0
v2.7.2
Compare Source
Patch Changes
@remix-run/server-runtime@2.7.2
v2.7.1
Compare Source
Patch Changes
@remix-run/server-runtime@2.7.1
v2.7.0
Compare Source
Patch Changes
@remix-run/server-runtime@2.7.0
v2.6.0
Compare Source
Patch Changes
@remix-run/server-runtime@2.6.0
v2.5.1
Compare Source
Patch Changes
@remix-run/server-runtime@2.5.1
v2.5.0
Compare Source
Patch Changes
@remix-run/server-runtime@2.5.0
remix-run/remix (@remix-run/react)
v2.9.2
Compare Source
Patch Changes
undefined
touseActionData
type override (#9322)nonce
to be set on single fetch stream transfer inline scripts (#9364)defineLoader
,defineClientLoader
,defineAction
,defineClientAction
(#9372, #9404)@remix-run/server-runtime@2.9.2
v2.9.1
Compare Source
Patch Changes
future/*.d.ts
files from TS build (#9299)@remix-run/server-runtime@2.9.1
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/server-runtime@2.9.0
v2.8.1
Compare Source
Patch Changes
LayoutComponent
type to accept limited children (#8910)@remix-run/server-runtime@2.8.1
v2.8.0
Compare Source
Patch Changes
ErrorBoundary
component so it leverages the user-providedLayout
component (#8859)HydrateFallback
component so it leverages any user-providedLayout
component (#8892)@remix-run/react
re-exports everything fromreact-router-dom
for SPA mode (#8929)@remix-run/server-runtime@2.8.0
v2.7.2
Compare Source
Patch Changes
@remix-run/server-runtime@2.7.2
v2.7.1
Compare Source
Patch Changes
@remix-run/server-runtime@2.7.1
v2.7.0
Compare Source
Minor Changes
Layout
export from the root route (#8709)basename
option to the Vite plugin, allowing users to set the internal React Routerbasename
in order to to serve their applications underneath a subpath (#8145)Patch Changes
@remix-run/server-runtime@2.7.0
v2.6.0
Compare Source
Patch Changes
@remix-run/server-runtime@2.6.0
v2.5.1
Compare Source
Patch Changes
<Meta>
/<Links>
in SPA mode (#8538)unstable_
prefix fromBlocker
/BlockerFunction
types (#8530)@remix-run/server-runtime@2.5.1
v2.5.0
Compare Source
Minor Changes
Add unstable support for "SPA Mode" (#8457)
You can opt into SPA Mode by setting
unstable_ssr: false
in your Remix Vite plugin config:Development in SPA Mode is just like a normal Remix app, and still uses the Remix dev server for HMR/HDR:
Building in SPA Mode will generate an
index.html
file in your client assets directory:To run your SPA, you serve your client assets directory via an HTTP server:
For more information, please refer to the SPA Mode docs.
Patch Changes
import.meta.hot
from the existing Remix compiler (#8459)@remix-run/server-runtime@2.5.0
remix-run/remix (@remix-run/server-runtime)
v2.9.2
Compare Source
Patch Changes
handleError
in Single Fetch (#9369)json()
for back-compat in v2 (and log deprecation warning) (#9349)defineLoader
,defineClientLoader
,defineAction
,defineClientAction
(#9372, #9404)response
stub to resource route handlers when single fetch is enabled (#9349)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
Minor Changes
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
ResponseStub
header interface for single fetch and deprecate theheaders
export (#9142)headers
export is no longer used when single fetch is enabledloader
/action
functions now receive a mutableresponse
parametertype ResponseStub = { status: numbers | undefined, headers: Headers }
status
field directlyresponse.status = 201
response.headers.set
response.headers.append
response.headers.delete
loader
/action
receives it's own uniqueresponse
instance so you cannot see what otherloader
/action
functions have set (which would be subject to race conditions)Headers
instance that will be applied to the HTTP Responseheaders.set
on any child handler will overwrite values from parent handlersheaders.append
can be used to set the same header from both a parent and child handlerheaders.delete
can be used to delete a value set by a parent handler, but not a value set from a child handlerResponse
instance to set status/headers, thejson
/redirect
/redirectDocument
/defer
utilities are considered deprecated when using Single FetchResponse
instances and they'll apply status codes in the same way, and will apply all headers viaheaders.set
- overwriting any same-named header values from parentsResponse
instance to using the newresponse
parameterPatch Changes
v2.8.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.8.1.v2.8.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.8.0.v2.7.2
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.7.2.v2.7.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.7.1.v2.7.0
Compare Source
Minor Changes
Layout
export from the root route (#8709)basename
option to the Vite plugin, allowing users to set the internal React Routerbasename
in order to to serve their applications underneath a subpath (#8145)Patch Changes
defer
response from a resource route (#8726)v2.6.0
Compare Source
Minor Changes
future.v3_throwAbortReason
flag to throwrequest.signal.reason
when a request is aborted instead of anError
such asnew Error("query() call aborted: GET /path")
(#8251)Patch Changes
Vite: Cloudflare Pages support (#8531)
To get started with Cloudflare, you can use the [
unstable-vite-cloudflare
][template-vite-cloudflare] template:Or read the new docs at Future > Vite > Cloudflare and
Future > Vite > Migrating > Migrating Cloudflare Functions.
Unwrap thrown
Response
's fromentry.server
intoErrorResponse
's and preserve the status code (#8577)v2.5.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.5.1.v2.5.0
Compare Source
Minor Changes
Updated
cookie
dependency to0.6.0
to inherit support for thePartitioned
attribute (#8375)Add unstable support for "SPA Mode" (#8457)
You can opt into SPA Mode by setting
unstable_ssr: false
in your Remix Vite plugin config:Development in SPA Mode is just like a normal Remix app, and still uses the Remix dev server for HMR/HDR:
Building in SPA Mode will generate an
index.html
file in your client assets directory:To run your SPA, you serve your client assets directory via an HTTP server:
For more information, please refer to the SPA Mode docs.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.