chore(deps): update dependency @remix-run/dev to v2.8.0 - autoclosed #9
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.6.0
->2.8.0
Release Notes
remix-run/remix (@remix-run/dev)
v2.8.0
Compare Source
Minor Changes
viteConfig
to Remix Vite plugin'sbuildEnd
hook (#8885)Patch Changes
Layout
as browser safe route export inesbuild
compiler (#8842)serverBundles
issue where multiple browser manifests are generated (#8864)build.assetsDir
option (#8843)@remix-run/[email protected]
@remix-run/[email protected]
v2.7.2
Compare Source
Patch Changes
.css?url
imports (#8829)@remix-run/[email protected]
@remix-run/[email protected]
v2.7.1
Compare Source
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
v2.7.0
Compare Source
Minor Changes
Allow an optional
Layout
export from the root route (#8709)Vite: Cloudflare Proxy as a Vite plugin (#8749)
This is a breaking change for projects relying on Cloudflare support from the unstable Vite plugin
The Cloudflare preset (
unstable_cloudflarePreset
) as been removed and replaced with a new Vite plugin:remixCloudflareDevProxy
must come before theremix
plugin so that it can override Vite's dev server middleware to be compatible with Cloudflare's proxied environment.Because it is a Vite plugin,
remixCloudflareDevProxy
can setssr.resolve.externalConditions
to beworkerd
-compatible for you.remixCloudflareDevProxy
accepts agetLoadContext
function that replaces the oldgetRemixDevLoadContext
.If you were using a
nightly
version that requiredgetBindingsProxy
orgetPlatformProxy
, that is no longer required.Any options you were passing to
getBindingsProxy
orgetPlatformProxy
should now be passed toremixCloudflareDevProxy
instead.This API also better aligns with future plans to support Cloudflare with a framework-agnostic Vite plugin that makes use of Vite's (experimental) Runtime API.
Vite: Stabilize the Remix Vite plugin, Cloudflare preset, and all related types by removing all
unstable_
/Unstable_
prefixes. (#8713)While this is a breaking change for existing Remix Vite plugin consumers, now that the plugin has stabilized, there will no longer be any breaking changes outside of a major release. Thank you to all of our early adopters and community contributors for helping us get here! 🙏
Vite: Stabilize "SPA Mode" by renaming the Remix vite plugin config from
unstable_ssr -> ssr
(#8692)Vite: Add a new
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
Vite: fix server exports dead-code elimination for routes outside of app directory (#8795)
Always prepend DOCTYPE in SPA mode entry.server.tsx, can opt out via remix reveal (#8725)
Fix build issue in SPA mode when using a
basename
(#8720)Vite: Validate that the MDX Rollup plugin, if present, is placed before Remix in Vite config (#8690)
Vite: reliably detect non-root routes in Windows (#8806)
Sometimes route
file
will be unnormalized Windows path with\
instead of/
.Vite: Pass
remixUserConfig
to presetremixConfig
hook (#8797)Vite: Fix issue resolving critical CSS during development when the current working directory differs from the project root (#8752)
Vite: Ensure CSS file URLs that are only referenced in the server build are available on the client (#8796)
Vite: Require version 5.1.0 to support
.css?url
imports (#8723)Fix type error in Remix config for synchronous
routes
function (#8745)Vite: Support Vite v5.1.0's
.css?url
imports (#8684)Always ignore route files starting with
.
(#8801)Vite: Enable use of
vite preview
to preview Remix SPA applications (#8624)npm run start
has been renamed tonpm run preview
which usesvite preview
instead of a standalone HTTP server such ashttp-server
orserv-cli
Vite: Remove the ability to pass
publicPath
as an option to the Remix vite plugin (#8145)publicPath
base
config so we now set the RemixpublicPath
from the Vitebase
configVite: Fix issue where client route file requests fail if search params have been parsed and serialized before reaching the Remix Vite plugin (#8740)
Vite: Enable HMR for .md and .mdx files (#8711)
Updated dependencies:
@remix-run/[email protected]
@remix-run/[email protected]
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 has been generated by Mend Renovate. View repository job log here.