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)
Bumps the minor-upgrades group with 17 updates in the / directory:
6.7.0
6.8.0
3.1.2
3.1.4
1.4.14
1.4.17
10.0.3
10.0.5
5.2.8
5.2.10
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
18.2.0
18.3.1
18.2.78
18.3.1
18.2.0
18.3.1
18.2.25
18.3.0
7.5.0
7.5.1
2.8.1
2.9.1
0.2.0
0.2.4
Updates
@adonisjs/core
from 6.7.0 to 6.8.0Release notes
Sourced from
@adonisjs/core
's releases.Commits
b1e4756
chore(release): 6.8.0c370640
chore: update dependencies40a85f9
refactor: move from--unstable-hmr
to--hmr
a3a5e1e
chore(release): 6.7.1ab98096
chore: update dependencies51d5c27
chore: add a citgm scriptUpdates
@adonisjs/http-server
from 7.2.0 to 7.2.2Release notes
Sourced from
@adonisjs/http-server
's releases.Commits
011dbd1
chore(release): 7.2.27389edc
Merge branch 'main' into developb00020e
chore(release): 7.2.186b4fa5
chore: update release-it config54fd0e6
chore: update dependencies03cc997
chore: update release-it configadbbd76
chore: update dependenciesc092b40
chore(release): 7.2.18743e2e
chore: fix typo in release script1f6730b
chore: add a citgm scriptUpdates
@japa/runner
from 3.1.2 to 3.1.4Release notes
Sourced from
@japa/runner
's releases.Commits
13aed66
chore(release): 3.1.456e5918
fix: remove hardcoded uses of colors.ansi with internal helperfab7e1c
chore(release): 3.1.3b7be1a5
fix: respect color support before using ansi colorsUpdates
@swc/core
from 1.4.14 to 1.4.17Changelog
Sourced from
@swc/core
's changelog.... (truncated)
Commits
3311da7
chore: Publish1.4.17
withswc_core
v0.90.37
b1c22d5
chore: Improve publish scriptfedf06f
chore: Publish 1.4.17-nightly-20240423.32c1e959
chore: Publish 1.4.17-nightly-20240423.27b08d38
chore: Update bindings2fbb864
chore: Publish 1.4.17-nightly-20240423.16d3c41d
chore: Bump cratesc7a06b1
fix(es/codegen): UseStr.raw
for es5 (#8873)f5e50c2
chore: Bump crates063eabd
fix(es/compat): Fix async generator (#8881)Updates
np
from 10.0.3 to 10.0.5Release notes
Sourced from np's releases.
Commits
d2c66a8
10.0.534409be
Fix npm 10 compatibility for real (#744)5a83ad9
10.0.44caa295
Fix compatibility with npm 10 (#743)Updates
vite
from 5.2.8 to 5.2.10Changelog
Sourced from vite's changelog.
Commits
088d24b
release: v5.2.1077e7359
revert: perf: use workspace root for fs cache (#15712) (#16476)6a127d6
fix: don't add outDirs to watch.ignored if emptyOutDir is false (#16453)11444dc
feat: show warning if root is in build.outDir (#16454)721f94d
fix: add base to virtual html (#16442)8e54bbd
feat: write cspNonce to style tags (#16419)af72eab
fix: adjust esm syntax judgment logic (#16436)b872635
fix(cspNonce): don't overwrite existing nonce values (#16415)6cccef7
chore(deps): update dependency eslint-plugin-n to v17 (#16381)a77707d
release: v5.2.9Updates
@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
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.78 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
@adonisjs/assembler
from 7.5.0 to 7.5.1Release notes
Sourced from
@adonisjs/assembler
's releases.Commits
8c08240
chore(release): 7.5.196b31e5
chore: remove logs23024b9
fix: display correct relative path on windows with hot-hookUpdates
@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<... _Description has been truncated_