Use undici as our fetch polyfill going forward (#9106, #9111)
Put undici fetch polyfill behind a new installGlobals({ nativeFetch: true }) parameter (#9198)
remix-serve will default to using undici for the fetch polyfill if future._unstable_singleFetch is enabled because the single fetch implementation relies on the undici polyfill
Any users opting into Single Fetch and managing their own polfill will need to pass the flag to installGlobals on their own to avoid runtime errors with Single Fetch
Naked objects returned from loaders/actions are no longer automatically converted to JSON responses. They'll be streamed as-is via turbo-stream so Date's will become Date through useLoaderData()
You can return naked objects with Promise's without needing to use defer() - including nested Promise's
If you need to return a custom status code or custom response headers, you can still use the defer utility
<RemixServer abortDelay> is no longer used. Instead, you should export const streamTimeout from entry.server.tsx and the remix server runtime will use that as the delay to abort the streamed response
If you export your own streamTimeout, you should decouple that from aborting the react renderToPipeableStream. You should always ensure that react is aborted afer the stream is aborted so that abort rejections can be flushed down
Actions no longer automatically revalidate on 4xx/5xx responses (via RR future.unstable_skipActionErrorRevalidation flag) - you can return a 2xx to opt-into revalidation or use shouldRevalidate
Put undici fetch polyfill behind a new installGlobals({ nativeFetch: true }) parameter (#9198)
remix-serve will default to using undici for the fetch polyfill if future.unstable_singleFetch is enabled because the single fetch implementation relies on the undici polyfill
Any users opting into Single Fetch and managing their own polyfill will need to pass the flag to installGlobals on their own to avoid runtime errors with Single Fetch
Fix issue where consumers who had added Remix packages to Vite's ssr.noExternal option were being overridden by the Remix Vite plugin adding Remix packages to Vite's ssr.external option (#9301)
Naked objects returned from loaders/actions are no longer automatically converted to JSON responses. They'll be streamed as-is via turbo-stream so Date's will become Date through useLoaderData()
You can return naked objects with Promise's without needing to use defer() - including nested Promise's
If you need to return a custom status code or custom response headers, you can still use the defer utility
<RemixServer abortDelay> is no longer used. Instead, you should export const streamTimeout from entry.server.tsx and the remix server runtime will use that as the delay to abort the streamed response
If you export your own streamTimeout, you should decouple that from aborting the react renderToPipeableStream. You should always ensure that react is aborted afer the stream is aborted so that abort rejections can be flushed down
Actions no longer automatically revalidate on 4xx/5xx responses (via RR future.unstable_skipActionErrorRevalidation flag) - you can return a 2xx to opt-into revalidation or use shouldRevalidate
Patch Changes
Improve getDependenciesToBundle resolution in monorepos (#8848)
Fix SPA mode when single fetch is enabled by using streaming entry.server (#9063)
Vite: added sourcemap support for transformed routes (#8970)
Update links printed to the console by the Remix CLI/Dev Server to point to updated docs locations (#9176)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the minor-upgrades group with 12 updates in the / directory:
9.2.0
9.2.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
5.1.4
5.1.5
18.2.0
18.3.1
18.2.79
18.3.1
18.2.0
18.3.1
18.2.25
18.3.0
2.8.1
2.9.1
0.2.1
0.2.4
Updates
@adonisjs/auth
from 9.2.0 to 9.2.1Release notes
Sourced from
@adonisjs/auth
's releases.Commits
dd94213
chore(release): 9.2.1950ee51
refactor: do not cache models import when running in hot mode7a2540d
chore: update dependenciesUpdates
@remix-run/css-bundle
from 2.8.1 to 2.9.1Release notes
Sourced from
@remix-run/css-bundle
's releases.Changelog
Sourced from
@remix-run/css-bundle
's changelog.Commits
f72d268
chore: Update version for release (#9308)9785383
chore: Update version for release (pre) (#9302)c5eda9a
chore: Update version for release (pre) (#9300)bccd077
chore: Update version for release (#9291)ead3b5c
chore: Update version for release (pre) (#9290)d54f689
chore: Update version for release (pre) (#9284)d3a5f38
chore: Update version for release (pre) (#9283)a82b44e
chore: Update version for release (pre) (#9281)9fc3d72
chore: Update version for release (pre) (#9255)8d151a5
chore: Update version for release (pre) (#9199)Updates
@remix-run/node
from 2.8.1 to 2.9.1Release notes
Sourced from
@remix-run/node
's releases.Changelog
Sourced from
@remix-run/node
's changelog.Commits
f72d268
chore: Update version for release (#9308)9785383
chore: Update version for release (pre) (#9302)c5eda9a
chore: Update version for release (pre) (#9300)bccd077
chore: Update version for release (#9291)ead3b5c
chore: Update version for release (pre) (#9290)d54f689
chore: Update version for release (pre) (#9284)d3a5f38
chore: Update version for release (pre) (#9283)a82b44e
chore: Update version for release (pre) (#9281)9fc3d72
chore: Update version for release (pre) (#9255)8d151a5
chore: Update version for release (pre) (#9199)Updates
@remix-run/react
from 2.8.1 to 2.9.1Release notes
Sourced from
@remix-run/react
's releases.Changelog
Sourced from
@remix-run/react
's changelog.Commits
f72d268
chore: Update version for release (#9308)9785383
chore: Update version for release (pre) (#9302)c5eda9a
chore: Update version for release (pre) (#9300)eb665b5
Ignore future d.ts files from TS build (#9299)bccd077
chore: Update version for release (#9291)ead3b5c
chore: Update version for release (pre) (#9290)c862f7c
Bump router to stable (#9289)d54f689
chore: Update version for release (pre) (#9284)194788b
Fix single fetch types for synchronous loader/action functionsd3a5f38
chore: Update version for release (pre) (#9283)Updates
@remix-run/serve
from 2.8.1 to 2.9.1Release notes
Sourced from
@remix-run/serve
's releases.Changelog
Sourced from
@remix-run/serve
's changelog.Commits
f72d268
chore: Update version for release (#9308)9785383
chore: Update version for release (pre) (#9302)c5eda9a
chore: Update version for release (pre) (#9300)bccd077
chore: Update version for release (#9291)ead3b5c
chore: Update version for release (pre) (#9290)d54f689
chore: Update version for release (pre) (#9284)d3a5f38
chore: Update version for release (pre) (#9283)a82b44e
chore: Update version for release (pre) (#9281)9fc3d72
chore: Update version for release (pre) (#9255)8d151a5
chore: Update version for release (pre) (#9199)Updates
isbot
from 5.1.4 to 5.1.5Changelog
Sourced from isbot's changelog.
Commits
6447259
They came from... BehindUpdates
react
from 18.2.0 to 18.3.1Release notes
Sourced from react's releases.
Changelog
Sourced from react's changelog.
Commits
f1338f8
ExportReact.act
from 18.3d6c42f7
Bump to 18.3.173bfaa1
Turn on key spread warning in jsx-runtime for everyone (#25697)c2a246e
Turn on string ref deprecation warning for everybody (not codemoddable) (#25383)2cfb474
Bump version from 18.2 to 18.3Maintainer changes
This version was pushed to npm by react-bot, a new releaser for react since your current version.
Updates
@types/react
from 18.2.79 to 18.3.1Commits
Updates
react-dom
from 18.2.0 to 18.3.1Release notes
Sourced from react-dom's releases.
Changelog
Sourced from react-dom's changelog.
Commits
d6c42f7
Bump to 18.3.18a015b6
Add deprecation warning for unmountComponentAtNodec3b2839
Add deprecation warning for findDOMNoded4ea75d
ReactDOMTestUtils deprecation warnings7548c01
DeprecaterenderToStaticNodeStream
(#28872) (#28874)5894232
Enable warning for defaultProps on function components for everyone (#25699)c2a246e
Turn on string ref deprecation warning for everybody (not codemoddable) (#25383)2cfb474
Bump version from 18.2 to 18.3Maintainer changes
This version was pushed to npm by react-bot, a new releaser for react-dom since your current version.
Updates
@types/react-dom
from 18.2.25 to 18.3.0Commits
Updates
@remix-run/dev
from 2.8.1 to 2.9.1Release notes
Sourced from
@remix-run/dev
's releases.Changelog
Sourced from
@remix-run/dev
's changelog.Commits
f72d268
chore: Update version for release (#9308)9785383
chore: Update version for release (pre) (#9302)4e98f41
Only add Remix packages tossr.external
in Remix repo (#9301)c5eda9a
chore: Update version for release (pre) (#9300)bccd077
chore: Update version for release (#9291)ead3b5c
chore: Update version for release (pre) (#9290)c862f7c
Bump router to stable (#9289)d54f689
chore: Update version for release (pre) (#9284)d3a5f38
chore: Update version for release (pre) (#9283)a82b44e
chore: Update version for release (pre) (#9281)Updates
@types/react
from 18.2.79 to 18.3.1Commits
Updates
@types/react-dom
from 18.2.25 to 18.3.0Commits
Updates
hot-hook
from 0.2.1 to 0.2.4Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show