From d79ac303c98cb8b1c0a61573ed25000fa95002b7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 16 Feb 2024 18:05:40 +0000 Subject: [PATCH] chore: Update version for release (pre) --- .changeset/pre.json | 24 +++- packages/create-remix/CHANGELOG.md | 2 + packages/create-remix/package.json | 2 +- packages/remix-architect/CHANGELOG.md | 7 + packages/remix-architect/package.json | 4 +- packages/remix-cloudflare-pages/CHANGELOG.md | 54 ++++++++ packages/remix-cloudflare-pages/package.json | 4 +- .../remix-cloudflare-workers/CHANGELOG.md | 7 + .../remix-cloudflare-workers/package.json | 4 +- packages/remix-cloudflare/CHANGELOG.md | 7 + packages/remix-cloudflare/package.json | 4 +- packages/remix-css-bundle/CHANGELOG.md | 2 + packages/remix-css-bundle/package.json | 2 +- packages/remix-deno/CHANGELOG.md | 7 + packages/remix-deno/package.json | 4 +- packages/remix-dev/CHANGELOG.md | 124 ++++++++++++++++++ packages/remix-dev/package.json | 10 +- packages/remix-eslint-config/CHANGELOG.md | 2 + packages/remix-eslint-config/package.json | 2 +- packages/remix-express/CHANGELOG.md | 15 +++ packages/remix-express/package.json | 4 +- packages/remix-node/CHANGELOG.md | 7 + packages/remix-node/package.json | 4 +- packages/remix-react/CHANGELOG.md | 13 ++ packages/remix-react/package.json | 4 +- packages/remix-serve/CHANGELOG.md | 8 ++ packages/remix-serve/package.json | 6 +- packages/remix-server-runtime/CHANGELOG.md | 11 ++ packages/remix-server-runtime/package.json | 2 +- packages/remix-testing/CHANGELOG.md | 8 ++ packages/remix-testing/package.json | 6 +- packages/remix/package.json | 2 +- 32 files changed, 329 insertions(+), 33 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 39c32e9da54..3e9d1b0d905 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -20,5 +20,27 @@ "@remix-run/server-runtime": "2.6.0", "@remix-run/testing": "2.6.0" }, - "changesets": [] + "changesets": [ + "brown-rats-flow", + "cyan-snails-provide", + "eighty-years-accept", + "fluffy-peas-promise", + "forty-squids-travel", + "fresh-knives-deliver", + "khaki-starfishes-rest", + "nervous-rivers-chew", + "nice-jobs-boil", + "pink-eggs-drum", + "proud-paws-hope", + "quiet-cups-attack", + "serious-lizards-prove", + "shaggy-sheep-cheer", + "stabilize-spa-mode", + "tender-pens-tan", + "three-cars-dream", + "vite-deprecate-public-path", + "vite-rr-basename", + "vite-whatwg-querystring", + "wet-bulldogs-appear" + ] } diff --git a/packages/create-remix/CHANGELOG.md b/packages/create-remix/CHANGELOG.md index dff1ff44a56..75c860cf607 100644 --- a/packages/create-remix/CHANGELOG.md +++ b/packages/create-remix/CHANGELOG.md @@ -1,5 +1,7 @@ # `create-remix` +## 2.7.0-pre.0 + ## 2.6.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.6.0. diff --git a/packages/create-remix/package.json b/packages/create-remix/package.json index 10545d7665a..afcc9953d2e 100644 --- a/packages/create-remix/package.json +++ b/packages/create-remix/package.json @@ -1,6 +1,6 @@ { "name": "create-remix", - "version": "2.6.0", + "version": "2.7.0-pre.0", "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 56131f1eeb4..2dadca12535 100644 --- a/packages/remix-architect/CHANGELOG.md +++ b/packages/remix-architect/CHANGELOG.md @@ -1,5 +1,12 @@ # `@remix-run/architect` +## 2.7.0-pre.0 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/node@2.7.0-pre.0` + ## 2.6.0 ### Patch Changes diff --git a/packages/remix-architect/package.json b/packages/remix-architect/package.json index dd268e7139f..e1c262f10f4 100644 --- a/packages/remix-architect/package.json +++ b/packages/remix-architect/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/architect", - "version": "2.6.0", + "version": "2.7.0-pre.0", "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.6.0", + "@remix-run/node": "2.7.0-pre.0", "@types/aws-lambda": "^8.10.82" }, "devDependencies": { diff --git a/packages/remix-cloudflare-pages/CHANGELOG.md b/packages/remix-cloudflare-pages/CHANGELOG.md index 65992890e6a..969c3192f20 100644 --- a/packages/remix-cloudflare-pages/CHANGELOG.md +++ b/packages/remix-cloudflare-pages/CHANGELOG.md @@ -1,5 +1,59 @@ # `@remix-run/cloudflare-pages` +## 2.7.0-pre.0 + +### Minor Changes + +- Make `getLoadContext` optional for Cloudflare Pages ([#8701](https://github.com/remix-run/remix/pull/8701)) + + Defaults to `(context) => ({ env: context })`, which is what we used to have in all the templates. + This gives parity with the Cloudflare preset for the Remix Vite plugin and keeps our templates leaner. + +- Vite: Cloudflare Proxy as a Vite plugin ([#8749](https://github.com/remix-run/remix/pull/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: + + ```diff + import { + unstable_vitePlugin as remix, + - unstable_cloudflarePreset as cloudflare, + + cloudflareDevProxyVitePlugin as remixCloudflareDevProxy, + } from "@remix-run/dev"; + import { defineConfig } from "vite"; + + export default defineConfig({ + plugins: [ + + remixCloudflareDevProxy(), + + remix(), + - remix({ + - presets: [cloudflare()], + - }), + ], + - ssr: { + - resolve: { + - externalConditions: ["workerd", "worker"], + - }, + - }, + }); + ``` + + `remixCloudflareDevProxy` must come _before_ the `remix` 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 set `ssr.resolve.externalConditions` to be `workerd`-compatible for you. + + `remixCloudflareDevProxy` accepts a `getLoadContext` function that replaces the old `getRemixDevLoadContext`. + If you were using a `nightly` version that required `getBindingsProxy` or `getPlatformProxy`, that is no longer required. + Any options you were passing to `getBindingsProxy` or `getPlatformProxy` should now be passed to `remixCloudflareDevProxy` 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. + +### Patch Changes + +- Updated dependencies: + - `@remix-run/cloudflare@2.7.0-pre.0` + ## 2.6.0 ### Patch Changes diff --git a/packages/remix-cloudflare-pages/package.json b/packages/remix-cloudflare-pages/package.json index 49999e88f79..3aa491a888d 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.6.0", + "version": "2.7.0-pre.0", "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.6.0" + "@remix-run/cloudflare": "2.7.0-pre.0" }, "devDependencies": { "@cloudflare/workers-types": "^4.20230518.0", diff --git a/packages/remix-cloudflare-workers/CHANGELOG.md b/packages/remix-cloudflare-workers/CHANGELOG.md index 80c943243d1..1e4f1211ba1 100644 --- a/packages/remix-cloudflare-workers/CHANGELOG.md +++ b/packages/remix-cloudflare-workers/CHANGELOG.md @@ -1,5 +1,12 @@ # `@remix-run/cloudflare-workers` +## 2.7.0-pre.0 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/cloudflare@2.7.0-pre.0` + ## 2.6.0 ### Patch Changes diff --git a/packages/remix-cloudflare-workers/package.json b/packages/remix-cloudflare-workers/package.json index b413ee664d6..9f2ca004e27 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.6.0", + "version": "2.7.0-pre.0", "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.6.0" + "@remix-run/cloudflare": "2.7.0-pre.0" }, "devDependencies": { "@cloudflare/workers-types": "^4.20230518.0", diff --git a/packages/remix-cloudflare/CHANGELOG.md b/packages/remix-cloudflare/CHANGELOG.md index 63e3941dfd2..ccd6d0fd1a8 100644 --- a/packages/remix-cloudflare/CHANGELOG.md +++ b/packages/remix-cloudflare/CHANGELOG.md @@ -1,5 +1,12 @@ # `@remix-run/cloudflare` +## 2.7.0-pre.0 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/server-runtime@2.7.0-pre.0` + ## 2.6.0 ### Patch Changes diff --git a/packages/remix-cloudflare/package.json b/packages/remix-cloudflare/package.json index 1cb0ae7cc53..c22be84db89 100644 --- a/packages/remix-cloudflare/package.json +++ b/packages/remix-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/cloudflare", - "version": "2.6.0", + "version": "2.7.0-pre.0", "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.6.0" + "@remix-run/server-runtime": "2.7.0-pre.0" }, "devDependencies": { "@cloudflare/workers-types": "^4.20230518.0", diff --git a/packages/remix-css-bundle/CHANGELOG.md b/packages/remix-css-bundle/CHANGELOG.md index 562b1e120f9..3b84444ab93 100644 --- a/packages/remix-css-bundle/CHANGELOG.md +++ b/packages/remix-css-bundle/CHANGELOG.md @@ -1,5 +1,7 @@ # @remix-run/css-bundle +## 2.7.0-pre.0 + ## 2.6.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.6.0. diff --git a/packages/remix-css-bundle/package.json b/packages/remix-css-bundle/package.json index 9e5b4e3369d..78da3e2f563 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.6.0", + "version": "2.7.0-pre.0", "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 b0bcbacccb6..176afb5d93d 100644 --- a/packages/remix-deno/CHANGELOG.md +++ b/packages/remix-deno/CHANGELOG.md @@ -1,5 +1,12 @@ # `@remix-run/deno` +## 2.7.0-pre.0 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/server-runtime@2.7.0-pre.0` + ## 2.6.0 ### Patch Changes diff --git a/packages/remix-deno/package.json b/packages/remix-deno/package.json index 722a1879b80..8ae9f8e3281 100644 --- a/packages/remix-deno/package.json +++ b/packages/remix-deno/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/deno", - "version": "2.6.0", + "version": "2.7.0-pre.0", "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.6.0", + "@remix-run/server-runtime": "2.7.0-pre.0", "mime": "^3.0.0" }, "peerDependencies": { diff --git a/packages/remix-dev/CHANGELOG.md b/packages/remix-dev/CHANGELOG.md index 840b1a710c6..ec0671da51f 100644 --- a/packages/remix-dev/CHANGELOG.md +++ b/packages/remix-dev/CHANGELOG.md @@ -1,5 +1,129 @@ # `@remix-run/dev` +## 2.7.0-pre.0 + +### Minor Changes + +- Allow an optional `Layout` export from the root route ([#8709](https://github.com/remix-run/remix/pull/8709)) +- Vite: Cloudflare Proxy as a Vite plugin ([#8749](https://github.com/remix-run/remix/pull/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: + + ```diff + import { + unstable_vitePlugin as remix, + - unstable_cloudflarePreset as cloudflare, + + cloudflareDevProxyVitePlugin as remixCloudflareDevProxy, + } from "@remix-run/dev"; + import { defineConfig } from "vite"; + + export default defineConfig({ + plugins: [ + + remixCloudflareDevProxy(), + + remix(), + - remix({ + - presets: [cloudflare()], + - }), + ], + - ssr: { + - resolve: { + - externalConditions: ["workerd", "worker"], + - }, + - }, + }); + ``` + + `remixCloudflareDevProxy` must come _before_ the `remix` 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 set `ssr.resolve.externalConditions` to be `workerd`-compatible for you. + + `remixCloudflareDevProxy` accepts a `getLoadContext` function that replaces the old `getRemixDevLoadContext`. + If you were using a `nightly` version that required `getBindingsProxy` or `getPlatformProxy`, that is no longer required. + Any options you were passing to `getBindingsProxy` or `getPlatformProxy` should now be passed to `remixCloudflareDevProxy` 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](https://github.com/remix-run/remix/pull/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](https://github.com/remix-run/remix/pull/8692)) +- Vite: Add a new `basename` option to the Vite plugin, allowing users to set the internal React Router [`basename`](https://reactrouter.com/en/main/routers/create-browser-router#basename) in order to to serve their applications underneath a subpath ([#8145](https://github.com/remix-run/remix/pull/8145)) +- Vite: Fix issue where client route file requests fail if search params have been parsed and serialized before reaching the Remix Vite plugin ([#8740](https://github.com/remix-run/remix/pull/8740)) + +### Patch Changes + +- Always prepend DOCTYPE in SPA mode entry.server.tsx, can opt out via remix reveal ([#8725](https://github.com/remix-run/remix/pull/8725)) +- Fix build issue in SPA mode when using a `basename` ([#8720](https://github.com/remix-run/remix/pull/8720)) +- Vite: Validate that the MDX Rollup plugin, if present, is placed before Remix in Vite config ([#8690](https://github.com/remix-run/remix/pull/8690)) +- Vite: Require `getBindingsProxy` from Wrangler for Cloudflare preset ([#8688](https://github.com/remix-run/remix/pull/8688)) + + **This is a breaking change for projects using the Cloudflare preset for the unstable Vite plugin.** + + You must now pass in `getBindingsProxy` from Wrangler: + + ```diff + // vite.config.ts + import { + unstable_vitePlugin as remix, + unstable_cloudflarePreset as cloudflare, + } from "@remix-run/dev"; + import { defineConfig } from "vite"; + import tsconfigPaths from "vite-tsconfig-paths"; + + import { getBindingsProxy } from "wrangler"; + + export default defineConfig({ + plugins: [ + remix({ + presets: [ + - cloudflare() + + cloudflare(getBindingsProxy) + ], + }), + tsconfigPaths(), + ], + ssr: { + resolve: { + externalConditions: ["workerd", "worker"], + }, + }, + }); + ``` + + Additionally, the `getRemixDevLoadContext` function now provides the request as part of the context: + + ```ts + cloudflare(getBindingsProxy, { + getRemixDevLoadContext: ({ request, env }) => { + // return augmented context here + }, + }); + ``` + + When using `getRemixDevLoadContext`, it's recommended that you create a `load-context.ts` file to define a shared `getLoadContext` function that you can use for both `getRemixDevLoadContext` in `vite.config.ts` as well as within `functions/[[path]].ts`. + For more, see the _Future > Vite > Cloudflare_ docs. + +- Vite: Fix issue resolving critical CSS during development when the current working directory differs from the project root ([#8752](https://github.com/remix-run/remix/pull/8752)) +- Vite: Require version 5.1.0 to support `.css?url` imports ([#8723](https://github.com/remix-run/remix/pull/8723)) +- Fix type error in Remix config for synchronous `routes` function ([#8745](https://github.com/remix-run/remix/pull/8745)) +- Vite: Support Vite v5.1.0's `.css?url` imports ([#8684](https://github.com/remix-run/remix/pull/8684)) +- Vite: Enable use of [`vite preview`](https://main.vitejs.dev/guide/static-deploy.html#deploying-a-static-site) to preview Remix SPA applications ([#8624](https://github.com/remix-run/remix/pull/8624)) + + - In the SPA template, `npm run start` has been renamed to `npm run preview` which uses `vite preview` instead of a standalone HTTP server such as `http-server` or `serv-cli` + +- Vite: Remove the ability to pass `publicPath` as an option to the Remix vite plugin ([#8145](https://github.com/remix-run/remix/pull/8145)) + + - ⚠️ **This is a breaking change for projects using the unstable Vite plugin with a `publicPath`** + - This is already handled in Vite via the [`base`](https://vitejs.dev/guide/build.html#public-base-path) config so we now set the Remix `publicPath` from the Vite `base` config + +- Vite: Enable HMR for .md and .mdx files ([#8711](https://github.com/remix-run/remix/pull/8711)) +- Updated dependencies: + - `@remix-run/server-runtime@2.7.0-pre.0` + - `@remix-run/node@2.7.0-pre.0` + - `@remix-run/serve@2.7.0-pre.0` + ## 2.6.0 ### Minor Changes diff --git a/packages/remix-dev/package.json b/packages/remix-dev/package.json index 76c59f8fa9f..4d04ff6c7fb 100644 --- a/packages/remix-dev/package.json +++ b/packages/remix-dev/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/dev", - "version": "2.6.0", + "version": "2.7.0-pre.0", "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.6.0", + "@remix-run/node": "2.7.0-pre.0", "@remix-run/router": "1.15.0", - "@remix-run/server-runtime": "2.6.0", + "@remix-run/server-runtime": "2.7.0-pre.0", "@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.6.0", + "@remix-run/serve": "2.7.0-pre.0", "@types/cacache": "^17.0.0", "@types/cross-spawn": "^6.0.2", "@types/gunzip-maybe": "^1.4.0", @@ -95,7 +95,7 @@ "wrangler": "^3.28.2" }, "peerDependencies": { - "@remix-run/serve": "^2.6.0", + "@remix-run/serve": "^2.7.0-pre.0", "typescript": "^5.1.0", "vite": "^5.1.0", "wrangler": "^3.28.2" diff --git a/packages/remix-eslint-config/CHANGELOG.md b/packages/remix-eslint-config/CHANGELOG.md index 3ddfb6f2d78..5c7ee8f02e9 100644 --- a/packages/remix-eslint-config/CHANGELOG.md +++ b/packages/remix-eslint-config/CHANGELOG.md @@ -1,5 +1,7 @@ # `@remix-run/eslint-config` +## 2.7.0-pre.0 + ## 2.6.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.6.0. diff --git a/packages/remix-eslint-config/package.json b/packages/remix-eslint-config/package.json index 0c2b9398480..e24cb12b2c9 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.6.0", + "version": "2.7.0-pre.0", "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 92a2be23385..acf96dbc306 100644 --- a/packages/remix-express/CHANGELOG.md +++ b/packages/remix-express/CHANGELOG.md @@ -1,5 +1,20 @@ # `@remix-run/express` +## 2.7.0-pre.0 + +### Minor Changes + +- Vite: Add a new `basename` option to the Vite plugin, allowing users to set the internal React Router [`basename`](https://reactrouter.com/en/main/routers/create-browser-router#basename) in order to to serve their applications underneath a subpath ([#8145](https://github.com/remix-run/remix/pull/8145)) + +### Patch Changes + +- Use `req.originalUrl` instead of `req.url` so that Remix sees the full URL ([#8145](https://github.com/remix-run/remix/pull/8145)) + + - Remix relies on the knowing the full URL to ensure that server and client code can function together, and does not support URL rewriting prior to the Remix handler + +- Updated dependencies: + - `@remix-run/node@2.7.0-pre.0` + ## 2.6.0 ### Patch Changes diff --git a/packages/remix-express/package.json b/packages/remix-express/package.json index b768d05bcb5..e7e7c2cbef3 100644 --- a/packages/remix-express/package.json +++ b/packages/remix-express/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/express", - "version": "2.6.0", + "version": "2.7.0-pre.0", "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.6.0" + "@remix-run/node": "2.7.0-pre.0" }, "devDependencies": { "@types/express": "^4.17.9", diff --git a/packages/remix-node/CHANGELOG.md b/packages/remix-node/CHANGELOG.md index 0b218713111..774453f6cd0 100644 --- a/packages/remix-node/CHANGELOG.md +++ b/packages/remix-node/CHANGELOG.md @@ -1,5 +1,12 @@ # `@remix-run/node` +## 2.7.0-pre.0 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/server-runtime@2.7.0-pre.0` + ## 2.6.0 ### Patch Changes diff --git a/packages/remix-node/package.json b/packages/remix-node/package.json index ad6edf2a7a8..63ab076d389 100644 --- a/packages/remix-node/package.json +++ b/packages/remix-node/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/node", - "version": "2.6.0", + "version": "2.7.0-pre.0", "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.6.0", + "@remix-run/server-runtime": "2.7.0-pre.0", "@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 c4555a84051..b5717a2f45e 100644 --- a/packages/remix-react/CHANGELOG.md +++ b/packages/remix-react/CHANGELOG.md @@ -1,5 +1,18 @@ # `@remix-run/react` +## 2.7.0-pre.0 + +### Minor Changes + +- Allow an optional `Layout` export from the root route ([#8709](https://github.com/remix-run/remix/pull/8709)) +- Vite: Add a new `basename` option to the Vite plugin, allowing users to set the internal React Router [`basename`](https://reactrouter.com/en/main/routers/create-browser-router#basename) in order to to serve their applications underneath a subpath ([#8145](https://github.com/remix-run/remix/pull/8145)) + +### Patch Changes + +- Fix a bug with SPA mode when the root route had no children ([#8747](https://github.com/remix-run/remix/pull/8747)) +- Updated dependencies: + - `@remix-run/server-runtime@2.7.0-pre.0` + ## 2.6.0 ### Patch Changes diff --git a/packages/remix-react/package.json b/packages/remix-react/package.json index 5e671359059..ba63225ac23 100644 --- a/packages/remix-react/package.json +++ b/packages/remix-react/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/react", - "version": "2.6.0", + "version": "2.7.0-pre.0", "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.15.0", - "@remix-run/server-runtime": "2.6.0", + "@remix-run/server-runtime": "2.7.0-pre.0", "react-router": "6.22.0", "react-router-dom": "6.22.0" }, diff --git a/packages/remix-serve/CHANGELOG.md b/packages/remix-serve/CHANGELOG.md index 64ddfe9ca1f..1b8f080073d 100644 --- a/packages/remix-serve/CHANGELOG.md +++ b/packages/remix-serve/CHANGELOG.md @@ -1,5 +1,13 @@ # `@remix-run/serve` +## 2.7.0-pre.0 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/express@2.7.0-pre.0` + - `@remix-run/node@2.7.0-pre.0` + ## 2.6.0 ### Patch Changes diff --git a/packages/remix-serve/package.json b/packages/remix-serve/package.json index e76b5822042..150ad693541 100644 --- a/packages/remix-serve/package.json +++ b/packages/remix-serve/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/serve", - "version": "2.6.0", + "version": "2.7.0-pre.0", "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.6.0", - "@remix-run/node": "2.6.0", + "@remix-run/express": "2.7.0-pre.0", + "@remix-run/node": "2.7.0-pre.0", "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 872e1589df3..401548061d4 100644 --- a/packages/remix-server-runtime/CHANGELOG.md +++ b/packages/remix-server-runtime/CHANGELOG.md @@ -1,5 +1,16 @@ # `@remix-run/server-runtime` +## 2.7.0-pre.0 + +### Minor Changes + +- Allow an optional `Layout` export from the root route ([#8709](https://github.com/remix-run/remix/pull/8709)) +- Vite: Add a new `basename` option to the Vite plugin, allowing users to set the internal React Router [`basename`](https://reactrouter.com/en/main/routers/create-browser-router#basename) in order to to serve their applications underneath a subpath ([#8145](https://github.com/remix-run/remix/pull/8145)) + +### Patch Changes + +- Add a more specific error if a user returns a `defer` response from a resource route ([#8726](https://github.com/remix-run/remix/pull/8726)) + ## 2.6.0 ### Minor Changes diff --git a/packages/remix-server-runtime/package.json b/packages/remix-server-runtime/package.json index e2a22aea123..2bde2b24c5d 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.6.0", + "version": "2.7.0-pre.0", "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 12ce57bd016..cd1b66f880b 100644 --- a/packages/remix-testing/CHANGELOG.md +++ b/packages/remix-testing/CHANGELOG.md @@ -1,5 +1,13 @@ # `@remix-run/testing` +## 2.7.0-pre.0 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/react@2.7.0-pre.0` + - `@remix-run/node@2.7.0-pre.0` + ## 2.6.0 ### Patch Changes diff --git a/packages/remix-testing/package.json b/packages/remix-testing/package.json index 0cdb2496a1b..190bc9e9adc 100644 --- a/packages/remix-testing/package.json +++ b/packages/remix-testing/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/testing", - "version": "2.6.0", + "version": "2.7.0-pre.0", "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.6.0", - "@remix-run/react": "2.6.0", + "@remix-run/node": "2.7.0-pre.0", + "@remix-run/react": "2.7.0-pre.0", "@remix-run/router": "1.15.0", "react-router-dom": "6.22.0" }, diff --git a/packages/remix/package.json b/packages/remix/package.json index 65290a68c0e..f006e634b3d 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -1,6 +1,6 @@ { "name": "remix", - "version": "2.6.0", + "version": "2.7.0-pre.0", "description": "A framework for building better websites", "homepage": "https://remix.run", "bugs": {