diff --git a/.changeset/angry-poets-accept.md b/.changeset/angry-poets-accept.md deleted file mode 100644 index 0454cf765d6..00000000000 --- a/.changeset/angry-poets-accept.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/serve": patch ---- - -Use node `fileURLToPath` to convert source map URL to path diff --git a/.changeset/big-cooks-confess.md b/.changeset/big-cooks-confess.md deleted file mode 100644 index ab6fd78c460..00000000000 --- a/.changeset/big-cooks-confess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/server-runtime": patch ---- - -Add optional `error` to `ServerRuntimeMetaArgs` type to align with `MetaArgs` diff --git a/.changeset/breezy-grapes-roll.md b/.changeset/breezy-grapes-roll.md deleted file mode 100644 index 3f64539b86a..00000000000 --- a/.changeset/breezy-grapes-roll.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Vite: Error messages when `.server` files are referenced by client - -- Previously, referencing a `.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'` -- This was confusing because `answer.server.ts` _does_ provide the `isDateType` export, but Remix was replacing `.server` modules with empty modules (`export {}`) for the client build -- Now, Remix explicitly fails at compile time when a `.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 module -- The error messages also include links to relevant documentation diff --git a/.changeset/breezy-walls-scream.md b/.changeset/breezy-walls-scream.md deleted file mode 100644 index 1b1510d22a1..00000000000 --- a/.changeset/breezy-walls-scream.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Remove `unstable_viteServerBuildModuleId` in favor of manually referencing virtual module name `"virtual:remix/server-build"`. - -**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 calling `ssrLoadModule` in development. - -```diff --import { unstable_viteServerBuildModuleId } from "@remix-run/dev"; - -// ... - -app.all( - "*", - createRequestHandler({ - build: vite -- ? () => vite.ssrLoadModule(unstable_viteServerBuildModuleId) -+ ? () => vite.ssrLoadModule("virtual:remix/server-build") - : await import("./build/server/index.js"), - }) -); -``` diff --git a/.changeset/create-remix-fetch.md b/.changeset/create-remix-fetch.md deleted file mode 100644 index f4ac92e94dc..00000000000 --- a/.changeset/create-remix-fetch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-remix": patch ---- - -Switch to using `@remix-run/web-fetch` instead of `node-fetch` inside the `create-remix` CLI diff --git a/.changeset/poor-eels-bow.md b/.changeset/poor-eels-bow.md deleted file mode 100644 index 0eec188583f..00000000000 --- a/.changeset/poor-eels-bow.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Add `vite:dev` and `vite:build` commands to the Remix CLI. - -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` and `build` processes via the Remix CLI. - -```diff -{ - "scripts": { -- "dev": "vite dev", -- "build": "vite build && vite build --ssr" -+ "dev": "remix vite:dev", -+ "build": "remix vite:build" - } -} -``` diff --git a/.changeset/rude-keys-heal.md b/.changeset/rude-keys-heal.md deleted file mode 100644 index 325ccf4297e..00000000000 --- a/.changeset/rude-keys-heal.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Vite: Preserve names for exports from `.client` modules - -Unlike `.server` modules, the main idea is not to prevent code from leaking into the server build -since 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 checks -or 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. diff --git a/.changeset/server-loader-error.md b/.changeset/server-loader-error.md deleted file mode 100644 index c7961752b66..00000000000 --- a/.changeset/server-loader-error.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -Propagate server `loader` errors through `serverLoader` in hydrating `clientLoader`'s diff --git a/.changeset/seven-bees-thank.md b/.changeset/seven-bees-thank.md deleted file mode 100644 index 830436dcbfd..00000000000 --- a/.changeset/seven-bees-thank.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Disable watch mode in Vite child compiler during build diff --git a/.changeset/sour-snakes-melt.md b/.changeset/sour-snakes-melt.md deleted file mode 100644 index 8a238697707..00000000000 --- a/.changeset/sour-snakes-melt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Vite: Show warning when source maps are enabled in production build diff --git a/packages/create-remix/CHANGELOG.md b/packages/create-remix/CHANGELOG.md index 9679e18c48a..ca735da4837 100644 --- a/packages/create-remix/CHANGELOG.md +++ b/packages/create-remix/CHANGELOG.md @@ -1,5 +1,11 @@ # `create-remix` +## 2.4.1 + +### Patch Changes + +- Switch to using `@remix-run/web-fetch` instead of `node-fetch` inside the `create-remix` CLI ([#7345](https://github.com/remix-run/remix/pull/7345)) + ## 2.4.0 No significant changes to this package were made in this release. [See the repo `CHANGELOG.md`](https://github.com/remix-run/remix/blob/main/CHANGELOG.md) for an overview of all changes in v2.4.0. diff --git a/packages/create-remix/package.json b/packages/create-remix/package.json index 33f191bb3b1..65a50192992 100644 --- a/packages/create-remix/package.json +++ b/packages/create-remix/package.json @@ -1,6 +1,6 @@ { "name": "create-remix", - "version": "2.4.0", + "version": "2.4.1", "description": "Create a new Remix app", "homepage": "https://remix.run", "bugs": { diff --git a/packages/remix-architect/CHANGELOG.md b/packages/remix-architect/CHANGELOG.md index d07bb1760cd..ce00b7d632a 100644 --- a/packages/remix-architect/CHANGELOG.md +++ b/packages/remix-architect/CHANGELOG.md @@ -1,5 +1,12 @@ # `@remix-run/architect` +## 2.4.1 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/node@2.4.1` + ## 2.4.0 ### Patch Changes diff --git a/packages/remix-architect/package.json b/packages/remix-architect/package.json index aa521c97692..e41f7d275ef 100644 --- a/packages/remix-architect/package.json +++ b/packages/remix-architect/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/architect", - "version": "2.4.0", + "version": "2.4.1", "description": "Architect server request handler for Remix", "bugs": { "url": "https://github.com/remix-run/remix/issues" @@ -15,7 +15,7 @@ "typings": "dist/index.d.ts", "dependencies": { "@architect/functions": "^5.2.0", - "@remix-run/node": "2.4.0", + "@remix-run/node": "2.4.1", "@types/aws-lambda": "^8.10.82" }, "devDependencies": { diff --git a/packages/remix-cloudflare-pages/CHANGELOG.md b/packages/remix-cloudflare-pages/CHANGELOG.md index f95c0bfbf22..a25360d66d2 100644 --- a/packages/remix-cloudflare-pages/CHANGELOG.md +++ b/packages/remix-cloudflare-pages/CHANGELOG.md @@ -1,5 +1,12 @@ # `@remix-run/cloudflare-pages` +## 2.4.1 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/cloudflare@2.4.1` + ## 2.4.0 ### Patch Changes diff --git a/packages/remix-cloudflare-pages/package.json b/packages/remix-cloudflare-pages/package.json index 65dfeee446a..ded2daac50b 100644 --- a/packages/remix-cloudflare-pages/package.json +++ b/packages/remix-cloudflare-pages/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/cloudflare-pages", - "version": "2.4.0", + "version": "2.4.1", "description": "Cloudflare Pages request handler for Remix", "bugs": { "url": "https://github.com/remix-run/remix/issues" @@ -15,7 +15,7 @@ "typings": "dist/index.d.ts", "module": "dist/esm/index.js", "dependencies": { - "@remix-run/cloudflare": "2.4.0" + "@remix-run/cloudflare": "2.4.1" }, "devDependencies": { "@cloudflare/workers-types": "^4.20230518.0", diff --git a/packages/remix-cloudflare-workers/CHANGELOG.md b/packages/remix-cloudflare-workers/CHANGELOG.md index aab71de08e7..308b56c1b31 100644 --- a/packages/remix-cloudflare-workers/CHANGELOG.md +++ b/packages/remix-cloudflare-workers/CHANGELOG.md @@ -1,5 +1,12 @@ # `@remix-run/cloudflare-workers` +## 2.4.1 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/cloudflare@2.4.1` + ## 2.4.0 ### Patch Changes diff --git a/packages/remix-cloudflare-workers/package.json b/packages/remix-cloudflare-workers/package.json index 4507f938753..76d7c2bd40f 100644 --- a/packages/remix-cloudflare-workers/package.json +++ b/packages/remix-cloudflare-workers/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/cloudflare-workers", - "version": "2.4.0", + "version": "2.4.1", "description": "Cloudflare worker request handler for Remix", "bugs": { "url": "https://github.com/remix-run/remix/issues" @@ -16,7 +16,7 @@ "module": "dist/esm/index.js", "dependencies": { "@cloudflare/kv-asset-handler": "^0.1.3", - "@remix-run/cloudflare": "2.4.0" + "@remix-run/cloudflare": "2.4.1" }, "devDependencies": { "@cloudflare/workers-types": "^4.20230518.0", diff --git a/packages/remix-cloudflare/CHANGELOG.md b/packages/remix-cloudflare/CHANGELOG.md index 626df1cc6c5..c63edbcaf3b 100644 --- a/packages/remix-cloudflare/CHANGELOG.md +++ b/packages/remix-cloudflare/CHANGELOG.md @@ -1,5 +1,12 @@ # `@remix-run/cloudflare` +## 2.4.1 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/server-runtime@2.4.1` + ## 2.4.0 ### Minor Changes diff --git a/packages/remix-cloudflare/package.json b/packages/remix-cloudflare/package.json index 1b54580120c..efe975009f3 100644 --- a/packages/remix-cloudflare/package.json +++ b/packages/remix-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/cloudflare", - "version": "2.4.0", + "version": "2.4.1", "description": "Cloudflare platform abstractions for Remix", "bugs": { "url": "https://github.com/remix-run/remix/issues" @@ -15,7 +15,7 @@ "typings": "dist/index.d.ts", "dependencies": { "@cloudflare/kv-asset-handler": "^0.1.3", - "@remix-run/server-runtime": "2.4.0" + "@remix-run/server-runtime": "2.4.1" }, "devDependencies": { "@cloudflare/workers-types": "^4.20230518.0", diff --git a/packages/remix-css-bundle/CHANGELOG.md b/packages/remix-css-bundle/CHANGELOG.md index 5296007aebd..df20872bf59 100644 --- a/packages/remix-css-bundle/CHANGELOG.md +++ b/packages/remix-css-bundle/CHANGELOG.md @@ -1,5 +1,7 @@ # @remix-run/css-bundle +## 2.4.1 + ## 2.4.0 No significant changes to this package were made in this release. [See the repo `CHANGELOG.md`](https://github.com/remix-run/remix/blob/main/CHANGELOG.md) for an overview of all changes in v2.4.0. diff --git a/packages/remix-css-bundle/package.json b/packages/remix-css-bundle/package.json index 42d693f3ca9..76140ad4732 100644 --- a/packages/remix-css-bundle/package.json +++ b/packages/remix-css-bundle/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/css-bundle", - "version": "2.4.0", + "version": "2.4.1", "description": "CSS bundle href when using CSS bundling features in Remix", "homepage": "https://remix.run", "bugs": { diff --git a/packages/remix-deno/CHANGELOG.md b/packages/remix-deno/CHANGELOG.md index dc1bf7b3c92..0ef0edcd3ca 100644 --- a/packages/remix-deno/CHANGELOG.md +++ b/packages/remix-deno/CHANGELOG.md @@ -1,5 +1,12 @@ # `@remix-run/deno` +## 2.4.1 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/server-runtime@2.4.1` + ## 2.4.0 ### Minor Changes diff --git a/packages/remix-deno/package.json b/packages/remix-deno/package.json index 8e9829d0354..41ee150e9fe 100644 --- a/packages/remix-deno/package.json +++ b/packages/remix-deno/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/deno", - "version": "2.4.0", + "version": "2.4.1", "description": "Deno platform abstractions for Remix", "homepage": "https://remix.run", "main": "./index.ts", @@ -15,7 +15,7 @@ "license": "MIT", "sideEffects": false, "dependencies": { - "@remix-run/server-runtime": "2.4.0", + "@remix-run/server-runtime": "2.4.1", "mime": "^3.0.0" }, "peerDependencies": { diff --git a/packages/remix-dev/CHANGELOG.md b/packages/remix-dev/CHANGELOG.md index c0d1981a41c..741d263963d 100644 --- a/packages/remix-dev/CHANGELOG.md +++ b/packages/remix-dev/CHANGELOG.md @@ -1,5 +1,76 @@ # `@remix-run/dev` +## 2.4.1 + +### Patch Changes + +- Vite: Error messages when `.server` files are referenced by client ([#8267](https://github.com/remix-run/remix/pull/8267)) + + - Previously, referencing a `.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'` + - This was confusing because `answer.server.ts` _does_ provide the `isDateType` export, but Remix was replacing `.server` modules with empty modules (`export {}`) for the client build + - Now, Remix explicitly fails at compile time when a `.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 module + - The error messages also include links to relevant documentation + +- Remove `unstable_viteServerBuildModuleId` in favor of manually referencing virtual module name `"virtual:remix/server-build"`. ([#8264](https://github.com/remix-run/remix/pull/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 calling `ssrLoadModule` in development. + + ```diff + -import { unstable_viteServerBuildModuleId } from "@remix-run/dev"; + + // ... + + app.all( + "*", + createRequestHandler({ + build: vite + - ? () => vite.ssrLoadModule(unstable_viteServerBuildModuleId) + + ? () => vite.ssrLoadModule("virtual:remix/server-build") + : await import("./build/server/index.js"), + }) + ); + ``` + +- Add `vite:dev` and `vite:build` commands to the Remix CLI. ([#8211](https://github.com/remix-run/remix/pull/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` and `build` processes via the Remix CLI. + + ```diff + { + "scripts": { + - "dev": "vite dev", + - "build": "vite build && vite build --ssr" + + "dev": "remix vite:dev", + + "build": "remix vite:build" + } + } + ``` + +- Vite: Preserve names for exports from `.client` modules ([#8200](https://github.com/remix-run/remix/pull/8200)) + + Unlike `.server` modules, the main idea is not to prevent code from leaking into the server build + since 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 checks + or 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](https://github.com/remix-run/remix/pull/8342)) + +- Vite: Show warning when source maps are enabled in production build ([#8222](https://github.com/remix-run/remix/pull/8222)) + +- Updated dependencies: + - `@remix-run/server-runtime@2.4.1` + - `@remix-run/node@2.4.1` + ## 2.4.0 ### Minor Changes diff --git a/packages/remix-dev/package.json b/packages/remix-dev/package.json index 36a7a19f83d..798e2365d3b 100644 --- a/packages/remix-dev/package.json +++ b/packages/remix-dev/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/dev", - "version": "2.4.0", + "version": "2.4.1", "description": "Dev tools and CLI for Remix", "homepage": "https://remix.run", "bugs": { @@ -28,9 +28,9 @@ "@babel/types": "^7.22.5", "@mdx-js/mdx": "^2.3.0", "@npmcli/package-json": "^4.0.1", - "@remix-run/node": "2.4.0", + "@remix-run/node": "2.4.1", "@remix-run/router": "1.14.0", - "@remix-run/server-runtime": "2.4.0", + "@remix-run/server-runtime": "2.4.1", "@types/mdx": "^2.0.5", "@vanilla-extract/integration": "^6.2.0", "arg": "^5.0.1", @@ -73,7 +73,7 @@ "ws": "^7.4.5" }, "devDependencies": { - "@remix-run/serve": "2.4.0", + "@remix-run/serve": "2.4.1", "@types/cacache": "^17.0.0", "@types/cross-spawn": "^6.0.2", "@types/gunzip-maybe": "^1.4.0", @@ -94,7 +94,7 @@ "vite": "^5.0.0" }, "peerDependencies": { - "@remix-run/serve": "^2.4.0", + "@remix-run/serve": "^2.4.1", "typescript": "^5.1.0", "vite": "^5.0.0" }, diff --git a/packages/remix-eslint-config/CHANGELOG.md b/packages/remix-eslint-config/CHANGELOG.md index 87f48935ef5..5bd89a6c9cb 100644 --- a/packages/remix-eslint-config/CHANGELOG.md +++ b/packages/remix-eslint-config/CHANGELOG.md @@ -1,5 +1,7 @@ # `@remix-run/eslint-config` +## 2.4.1 + ## 2.4.0 No significant changes to this package were made in this release. [See the repo `CHANGELOG.md`](https://github.com/remix-run/remix/blob/main/CHANGELOG.md) for an overview of all changes in v2.4.0. diff --git a/packages/remix-eslint-config/package.json b/packages/remix-eslint-config/package.json index c7d60d8dc6d..cbd2c4db487 100644 --- a/packages/remix-eslint-config/package.json +++ b/packages/remix-eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/eslint-config", - "version": "2.4.0", + "version": "2.4.1", "description": "ESLint configuration for Remix projects", "bugs": { "url": "https://github.com/remix-run/remix/issues" diff --git a/packages/remix-express/CHANGELOG.md b/packages/remix-express/CHANGELOG.md index dbe35462069..547fdbdb544 100644 --- a/packages/remix-express/CHANGELOG.md +++ b/packages/remix-express/CHANGELOG.md @@ -1,5 +1,12 @@ # `@remix-run/express` +## 2.4.1 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/node@2.4.1` + ## 2.4.0 ### Patch Changes diff --git a/packages/remix-express/package.json b/packages/remix-express/package.json index 4c34569673d..73bbd0d2cb0 100644 --- a/packages/remix-express/package.json +++ b/packages/remix-express/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/express", - "version": "2.4.0", + "version": "2.4.1", "description": "Express server request handler for Remix", "bugs": { "url": "https://github.com/remix-run/remix/issues" @@ -14,7 +14,7 @@ "main": "dist/index.js", "typings": "dist/index.d.ts", "dependencies": { - "@remix-run/node": "2.4.0" + "@remix-run/node": "2.4.1" }, "devDependencies": { "@types/express": "^4.17.9", diff --git a/packages/remix-node/CHANGELOG.md b/packages/remix-node/CHANGELOG.md index 483e5e34d7c..b289a2b6887 100644 --- a/packages/remix-node/CHANGELOG.md +++ b/packages/remix-node/CHANGELOG.md @@ -1,5 +1,12 @@ # `@remix-run/node` +## 2.4.1 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/server-runtime@2.4.1` + ## 2.4.0 ### Minor Changes diff --git a/packages/remix-node/package.json b/packages/remix-node/package.json index 732f57685d2..eff7047a121 100644 --- a/packages/remix-node/package.json +++ b/packages/remix-node/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/node", - "version": "2.4.0", + "version": "2.4.1", "description": "Node.js platform abstractions for Remix", "bugs": { "url": "https://github.com/remix-run/remix/issues" @@ -17,7 +17,7 @@ "./install.js" ], "dependencies": { - "@remix-run/server-runtime": "2.4.0", + "@remix-run/server-runtime": "2.4.1", "@remix-run/web-fetch": "^4.4.2", "@remix-run/web-file": "^3.1.0", "@remix-run/web-stream": "^1.1.0", diff --git a/packages/remix-react/CHANGELOG.md b/packages/remix-react/CHANGELOG.md index 01cef4e18f5..a0bda17ed89 100644 --- a/packages/remix-react/CHANGELOG.md +++ b/packages/remix-react/CHANGELOG.md @@ -1,5 +1,13 @@ # `@remix-run/react` +## 2.4.1 + +### Patch Changes + +- Propagate server `loader` errors through `serverLoader` in hydrating `clientLoader`'s ([#8304](https://github.com/remix-run/remix/pull/8304)) +- Updated dependencies: + - `@remix-run/server-runtime@2.4.1` + ## 2.4.0 ### Minor Changes diff --git a/packages/remix-react/package.json b/packages/remix-react/package.json index 0e64facefe2..6ae009737f5 100644 --- a/packages/remix-react/package.json +++ b/packages/remix-react/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/react", - "version": "2.4.0", + "version": "2.4.1", "description": "React DOM bindings for Remix", "bugs": { "url": "https://github.com/remix-run/remix/issues" @@ -17,7 +17,7 @@ "module": "dist/esm/index.js", "dependencies": { "@remix-run/router": "1.14.0", - "@remix-run/server-runtime": "2.4.0", + "@remix-run/server-runtime": "2.4.1", "react-router": "6.21.0", "react-router-dom": "6.21.0" }, diff --git a/packages/remix-serve/CHANGELOG.md b/packages/remix-serve/CHANGELOG.md index cd77d1ee01e..1b12ee53325 100644 --- a/packages/remix-serve/CHANGELOG.md +++ b/packages/remix-serve/CHANGELOG.md @@ -1,5 +1,14 @@ # `@remix-run/serve` +## 2.4.1 + +### Patch Changes + +- Use node `fileURLToPath` to convert source map URL to path ([#8321](https://github.com/remix-run/remix/pull/8321)) +- Updated dependencies: + - `@remix-run/node@2.4.1` + - `@remix-run/express@2.4.1` + ## 2.4.0 ### Patch Changes diff --git a/packages/remix-serve/package.json b/packages/remix-serve/package.json index 132af85573a..13233317594 100644 --- a/packages/remix-serve/package.json +++ b/packages/remix-serve/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/serve", - "version": "2.4.0", + "version": "2.4.1", "description": "Production application server for Remix", "bugs": { "url": "https://github.com/remix-run/remix/issues" @@ -15,8 +15,8 @@ "remix-serve": "dist/cli.js" }, "dependencies": { - "@remix-run/express": "2.4.0", - "@remix-run/node": "2.4.0", + "@remix-run/express": "2.4.1", + "@remix-run/node": "2.4.1", "chokidar": "^3.5.3", "compression": "^1.7.4", "express": "^4.17.1", diff --git a/packages/remix-server-runtime/CHANGELOG.md b/packages/remix-server-runtime/CHANGELOG.md index 908c1660bce..61e97efcdd5 100644 --- a/packages/remix-server-runtime/CHANGELOG.md +++ b/packages/remix-server-runtime/CHANGELOG.md @@ -1,5 +1,11 @@ # `@remix-run/server-runtime` +## 2.4.1 + +### Patch Changes + +- Add optional `error` to `ServerRuntimeMetaArgs` type to align with `MetaArgs` ([#8238](https://github.com/remix-run/remix/pull/8238)) + ## 2.4.0 ### Minor Changes diff --git a/packages/remix-server-runtime/package.json b/packages/remix-server-runtime/package.json index 7801ae9809e..2e8d79c3786 100644 --- a/packages/remix-server-runtime/package.json +++ b/packages/remix-server-runtime/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/server-runtime", - "version": "2.4.0", + "version": "2.4.1", "description": "Server runtime for Remix", "bugs": { "url": "https://github.com/remix-run/remix/issues" diff --git a/packages/remix-testing/CHANGELOG.md b/packages/remix-testing/CHANGELOG.md index fa4b7d26097..0e44df460f2 100644 --- a/packages/remix-testing/CHANGELOG.md +++ b/packages/remix-testing/CHANGELOG.md @@ -1,5 +1,13 @@ # `@remix-run/testing` +## 2.4.1 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/react@2.4.1` + - `@remix-run/node@2.4.1` + ## 2.4.0 ### Minor Changes diff --git a/packages/remix-testing/package.json b/packages/remix-testing/package.json index 740eec8fad6..0f9fc13b039 100644 --- a/packages/remix-testing/package.json +++ b/packages/remix-testing/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/testing", - "version": "2.4.0", + "version": "2.4.1", "description": "Testing utilities for Remix apps", "homepage": "https://remix.run", "bugs": { @@ -16,8 +16,8 @@ "typings": "./dist/index.d.ts", "module": "./dist/esm/index.js", "dependencies": { - "@remix-run/node": "2.4.0", - "@remix-run/react": "2.4.0", + "@remix-run/node": "2.4.1", + "@remix-run/react": "2.4.1", "@remix-run/router": "1.14.0", "react-router-dom": "6.21.0" }, diff --git a/packages/remix/package.json b/packages/remix/package.json index df26cc84aa0..8d83b61719a 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -1,6 +1,6 @@ { "name": "remix", - "version": "2.4.0", + "version": "2.4.1", "description": "A framework for building better websites", "homepage": "https://remix.run", "bugs": {