chore: Update version for release #8344
Closed
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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-next, this PR will be updated.
Releases
[email protected]
Patch Changes
@remix-run/web-fetch
instead ofnode-fetch
inside thecreate-remix
CLI (#7345)@remix-run/[email protected]
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
Vite: Error messages when
.server
files are referenced by client (#8267).server
module from client code resulted in an error message like:The requested module '/app/models/answer.server.ts' does not provide an export named 'isDateType'
answer.server.ts
does provide theisDateType
export, but Remix was replacing.server
modules with empty modules (export {}
) for the client build.server
module is referenced from client code and includes dedicated error messages depending on whether the import occurs in a route or a non-route moduleRemove
unstable_viteServerBuildModuleId
in favor of manually referencing virtual module name"virtual:remix/server-build"
. (#8264)This is a breaking change for projects using the unstable Vite plugin with a custom server.
This change was made to avoid issues where
@remix-run/dev
could be inadvertently required in your server's production dependencies.Instead, you should manually write the virtual module name
"virtual:remix/server-build"
when callingssrLoadModule
in development.Add
vite:dev
andvite:build
commands to the Remix CLI. (#8211)In order to handle upcoming Remix features where your plugin options can impact the number of Vite builds required, you should now run your Vite
dev
andbuild
processes via the Remix CLI.Vite: Preserve names for exports from
.client
modules (#8200)Unlike
.server
modules, the main idea is not to prevent code from leaking into the server buildsince the client build is already public. Rather, the goal is to isolate the SSR render from client-only code.
Routes need to import code from
.client
modules without compilation failing and then rely on runtime checksor otherwise ensure that execution only happens within a client-only context (e.g. event handlers,
useEffect
).Replacing
.client
modules with empty modules would cause the build to fail as ESM named imports are statically analyzed.So instead, we preserve the named export but replace each exported value with
undefined
.That way, the import is valid at build time and standard runtime checks can be used to determine if the
code is running on the server or client.
Disable watch mode in Vite child compiler during build (#8342)
Vite: Show warning when source maps are enabled in production build (#8222)
Updated dependencies:
@remix-run/[email protected]
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
loader
errors throughserverLoader
in hydratingclientLoader
's (#8304)@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
fileURLToPath
to convert source map URL to path (#8321)@remix-run/[email protected]
@remix-run/[email protected]
@remix-run/[email protected]
Patch Changes
error
toServerRuntimeMetaArgs
type to align withMetaArgs
(#8238)@remix-run/[email protected]
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
[email protected]
remix
See the
CHANGELOG.md
in individual Remix packages for all changes.@remix-run/[email protected]
@remix-run/[email protected]