diff --git a/.changeset/big-tigers-burn.md b/.changeset/big-tigers-burn.md deleted file mode 100644 index b7e07d66c24..00000000000 --- a/.changeset/big-tigers-burn.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"create-remix": patch ---- - -Support local tarballs with `.tgz` extension - -It allows to directly support [`pnpm pack` tarballs](https://pnpm.io/cli/pack). diff --git a/.changeset/create-remix-default-remix-version.md b/.changeset/create-remix-default-remix-version.md deleted file mode 100644 index 23b45291327..00000000000 --- a/.changeset/create-remix-default-remix-version.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-remix": patch ---- - -Set default Remix version to match the version of `create-remix` being used. This most notably enables easier usage of tags, e.g. `npm create remix@nightly`. diff --git a/.changeset/curvy-wasps-occur.md b/.changeset/curvy-wasps-occur.md deleted file mode 100644 index cb8525c97cb..00000000000 --- a/.changeset/curvy-wasps-occur.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -fix server code interop for vite build diff --git a/.changeset/cyan-donuts-bake.md b/.changeset/cyan-donuts-bake.md deleted file mode 100644 index d1bb197546f..00000000000 --- a/.changeset/cyan-donuts-bake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -Lock into react router stable versions diff --git a/.changeset/empty-default-export.md b/.changeset/empty-default-export.md deleted file mode 100644 index d44b174232e..00000000000 --- a/.changeset/empty-default-export.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@remix-run/react": patch ---- - -Fix warning that could be logged when using route files with no `default` export - -- It seems our compiler compiles these files to export an empty object as the `default` which we can then end up passing to `React.createElement`, triggering the console warning, but generally no UI issues -- By properly detecting these, we can correctly pass `Component: undefined` off to the React Router layer -- This is technically an potential issue in the compiler but it's an easy patch in the `@remix-run/react` layer and hopefully disappears in a Vite world diff --git a/.changeset/fetcher-persist.md b/.changeset/fetcher-persist.md deleted file mode 100644 index 4a2f8c83412..00000000000 --- a/.changeset/fetcher-persist.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@remix-run/dev": minor -"@remix-run/react": minor ---- - -Add a new `future.v3_fetcherPersist` flag to change the persistence behavior of fetchers. Instead of being immediately cleaned up when unmoutned in the UI, fetchers will persist until they return to an `idle` state ([RFC](https://github.com/remix-run/remix/discussions/7698)) - -- This is sort of a long-standing "bug fix" as the `useFetchers()` API was always supposed to only reflect **in-flight** fetcher information for pending/optimistic UI -- it was not intended to reflect fetcher data or hang onto fetchers after they returned to an `idle` state -- Keep an eye out for the following specific behavioral changes when opting into this flag and check your app for compatibility: - - Fetchers that complete _while still mounted_ will no longer appear in `useFetchers()`. They served effectively no purpose in there since you can access the data via `useFetcher().data`). - - Fetchers that previously unmounted _while in-flight_ will not be immediately aborted and will instead be cleaned up once they return to an `idle` state. They will remain exposed via `useFetchers` while in-flight so you can still access pending/optimistic data after unmount. diff --git a/.changeset/fifty-garlics-heal.md b/.changeset/fifty-garlics-heal.md deleted file mode 100644 index 79112475297..00000000000 --- a/.changeset/fifty-garlics-heal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -fix behind-by-one-render bug for meta hmr diff --git a/.changeset/fix-express-proxy.md b/.changeset/fix-express-proxy.md deleted file mode 100644 index 581926422df..00000000000 --- a/.changeset/fix-express-proxy.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@remix-run/express": patch ---- - -Allow the `@remix-run/express` adapter to work behind a proxy when using `app.enable('trust proxy')` - -- Previously, this used `req.get('host')` to construct the Remix `Request`, but that does not respect `X-Forwarded-Host` -- This now uses `req.hostname` which will respect `X-Forwarded-Host` diff --git a/.changeset/kind-pandas-think.md b/.changeset/kind-pandas-think.md deleted file mode 100644 index 3f113132574..00000000000 --- a/.changeset/kind-pandas-think.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -Fix critical CSS hydration errors for Vite dev diff --git a/.changeset/perfect-rockets-approve.md b/.changeset/perfect-rockets-approve.md deleted file mode 100644 index e7d51ca2cba..00000000000 --- a/.changeset/perfect-rockets-approve.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -"integration-tests": minor -"create-remix": minor -"@remix-run/dev": minor -"@remix-run/react": minor -"@remix-run/server-runtime": minor -"@remix-run/testing": minor ---- - -Unstable Vite support for Node-based Remix apps - -- `remix build` 👉 `vite build && vite build --ssr` -- `remix dev` 👉 `vite dev` - -Other runtimes (e.g. Deno, Cloudflare) not yet supported. -Custom server (e.g. Express) not yet supported. - -See "Future > Vite" in the Remix Docs for details. diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 0913d8fb5b0..00000000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "mode": "exit", - "tag": "pre", - "initialVersions": { - "integration-tests": "0.0.0-local-version", - "create-remix": "2.1.0", - "remix": "2.1.0", - "@remix-run/architect": "2.1.0", - "@remix-run/cloudflare": "2.1.0", - "@remix-run/cloudflare-pages": "2.1.0", - "@remix-run/cloudflare-workers": "2.1.0", - "@remix-run/css-bundle": "2.1.0", - "@remix-run/deno": "2.1.0", - "@remix-run/dev": "2.1.0", - "@remix-run/eslint-config": "2.1.0", - "@remix-run/express": "2.1.0", - "@remix-run/node": "2.1.0", - "@remix-run/react": "2.1.0", - "@remix-run/serve": "2.1.0", - "@remix-run/server-runtime": "2.1.0", - "@remix-run/testing": "2.1.0" - }, - "changesets": [ - "big-tigers-burn", - "create-remix-default-remix-version", - "curvy-wasps-occur", - "cyan-donuts-bake", - "empty-default-export", - "fetcher-persist", - "fifty-garlics-heal", - "fix-express-proxy", - "kind-pandas-think", - "perfect-rockets-approve", - "spotty-timers-swim" - ] -} diff --git a/.changeset/spotty-timers-swim.md b/.changeset/spotty-timers-swim.md deleted file mode 100644 index 2dc1f14ff04..00000000000 --- a/.changeset/spotty-timers-swim.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -[REMOVE] bump to latest router prerelease diff --git a/integration/CHANGELOG.md b/integration/CHANGELOG.md index 9c94188015d..6fccf850d70 100644 --- a/integration/CHANGELOG.md +++ b/integration/CHANGELOG.md @@ -1,6 +1,6 @@ # integration-tests -## 0.0.0-pre.0 +## 0.0.0 ### Minor Changes diff --git a/integration/package.json b/integration/package.json index cbdc16039ff..c1083a8f9ac 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "integration-tests", - "version": "0.0.0-pre.0", + "version": "0.0.0", "private": true, "description": "deps needed for integration tests", "type": "module", diff --git a/packages/create-remix/CHANGELOG.md b/packages/create-remix/CHANGELOG.md index a5b1b1fab95..bdcc2bb31db 100644 --- a/packages/create-remix/CHANGELOG.md +++ b/packages/create-remix/CHANGELOG.md @@ -1,34 +1,20 @@ # `create-remix` -## 2.2.0-pre.4 - -## 2.2.0-pre.3 - -## 2.2.0-pre.2 - -## 2.2.0-pre.1 - -## 2.2.0-pre.0 +## 2.2.0 ### Minor Changes - Unstable Vite support for Node-based Remix apps ([#7590](https://github.com/remix-run/remix/pull/7590)) - - `remix build` 👉 `vite build && vite build --ssr` - `remix dev` 👉 `vite dev` - - Other runtimes (e.g. Deno, Cloudflare) not yet supported. - Custom server (e.g. Express) not yet supported. - - See "Future > Vite" in the Remix Docs for details. + - Other runtimes (e.g. Deno, Cloudflare) not yet supported. + - See "Future > Vite" in the Remix Docs for details ### Patch Changes -- Support local tarballs with `.tgz` extension ([#7649](https://github.com/remix-run/remix/pull/7649)) - - It allows to directly support [`pnpm pack` tarballs](https://pnpm.io/cli/pack). - -- Set default Remix version to match the version of `create-remix` being used. This most notably enables easier usage of tags, e.g. `npm create remix@nightly`. ([#7670](https://github.com/remix-run/remix/pull/7670)) +- Support local tarballs with `.tgz` extension, which allows direct support for [`pnpm pack` tarballs](https://pnpm.io/cli/pack) ([#7649](https://github.com/remix-run/remix/pull/7649)) +- Set default Remix version to match the version of `create-remix` being used ([#7670](https://github.com/remix-run/remix/pull/7670)) + - This most notably enables easier usage of tags, e.g. `npm create remix@nightly` ## 2.1.0 diff --git a/packages/create-remix/package.json b/packages/create-remix/package.json index 69bf92bb883..505c99ec6b4 100644 --- a/packages/create-remix/package.json +++ b/packages/create-remix/package.json @@ -1,6 +1,6 @@ { "name": "create-remix", - "version": "2.2.0-pre.4", + "version": "2.2.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 248b92f190e..a531852dbf2 100644 --- a/packages/remix-architect/CHANGELOG.md +++ b/packages/remix-architect/CHANGELOG.md @@ -1,39 +1,11 @@ # `@remix-run/architect` -## 2.2.0-pre.4 +## 2.2.0 ### Patch Changes - Updated dependencies: - - `@remix-run/node@2.2.0-pre.4` - -## 2.2.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.2.0-pre.3` - -## 2.2.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.2.0-pre.2` - -## 2.2.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.2.0-pre.1` - -## 2.2.0-pre.0 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.2.0-pre.0` + - `@remix-run/node@2.2.0` ## 2.1.0 diff --git a/packages/remix-architect/package.json b/packages/remix-architect/package.json index b3373ff52b9..3abff1d6eb6 100644 --- a/packages/remix-architect/package.json +++ b/packages/remix-architect/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/architect", - "version": "2.2.0-pre.4", + "version": "2.2.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.2.0-pre.4", + "@remix-run/node": "2.2.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 47285d0e3d7..e4791e8dd11 100644 --- a/packages/remix-cloudflare-pages/CHANGELOG.md +++ b/packages/remix-cloudflare-pages/CHANGELOG.md @@ -1,39 +1,11 @@ # `@remix-run/cloudflare-pages` -## 2.2.0-pre.4 +## 2.2.0 ### Patch Changes - Updated dependencies: - - `@remix-run/cloudflare@2.2.0-pre.4` - -## 2.2.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.2.0-pre.3` - -## 2.2.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.2.0-pre.2` - -## 2.2.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.2.0-pre.1` - -## 2.2.0-pre.0 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.2.0-pre.0` + - `@remix-run/cloudflare@2.2.0` ## 2.1.0 diff --git a/packages/remix-cloudflare-pages/package.json b/packages/remix-cloudflare-pages/package.json index f144c149b2d..face262d4d2 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.2.0-pre.4", + "version": "2.2.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.2.0-pre.4" + "@remix-run/cloudflare": "2.2.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 fdd691d3eb8..e8f33bdfde7 100644 --- a/packages/remix-cloudflare-workers/CHANGELOG.md +++ b/packages/remix-cloudflare-workers/CHANGELOG.md @@ -1,39 +1,11 @@ # `@remix-run/cloudflare-workers` -## 2.2.0-pre.4 +## 2.2.0 ### Patch Changes - Updated dependencies: - - `@remix-run/cloudflare@2.2.0-pre.4` - -## 2.2.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.2.0-pre.3` - -## 2.2.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.2.0-pre.2` - -## 2.2.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.2.0-pre.1` - -## 2.2.0-pre.0 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.2.0-pre.0` + - `@remix-run/cloudflare@2.2.0` ## 2.1.0 diff --git a/packages/remix-cloudflare-workers/package.json b/packages/remix-cloudflare-workers/package.json index 3c9a0fe2c7b..1aa3a8901d4 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.2.0-pre.4", + "version": "2.2.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.2.0-pre.4" + "@remix-run/cloudflare": "2.2.0" }, "devDependencies": { "@cloudflare/workers-types": "^4.20230518.0", diff --git a/packages/remix-cloudflare/CHANGELOG.md b/packages/remix-cloudflare/CHANGELOG.md index 7cab70fd386..8dafddbd2e0 100644 --- a/packages/remix-cloudflare/CHANGELOG.md +++ b/packages/remix-cloudflare/CHANGELOG.md @@ -1,39 +1,11 @@ # `@remix-run/cloudflare` -## 2.2.0-pre.4 +## 2.2.0 ### Patch Changes - Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.4` - -## 2.2.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.3` - -## 2.2.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.2` - -## 2.2.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.1` - -## 2.2.0-pre.0 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.0` + - `@remix-run/server-runtime@2.2.0` ## 2.1.0 diff --git a/packages/remix-cloudflare/package.json b/packages/remix-cloudflare/package.json index 55be33fe0b3..b74352bea5d 100644 --- a/packages/remix-cloudflare/package.json +++ b/packages/remix-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/cloudflare", - "version": "2.2.0-pre.4", + "version": "2.2.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.2.0-pre.4" + "@remix-run/server-runtime": "2.2.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 d902f3a453f..a9b1b99315d 100644 --- a/packages/remix-css-bundle/CHANGELOG.md +++ b/packages/remix-css-bundle/CHANGELOG.md @@ -1,14 +1,8 @@ # @remix-run/css-bundle -## 2.2.0-pre.4 +## 2.2.0 -## 2.2.0-pre.3 - -## 2.2.0-pre.2 - -## 2.2.0-pre.1 - -## 2.2.0-pre.0 +No significant changes to this package were made in this release. [See the releases page on GitHub](https://github.com/remix-run/remix/releases/tag/remix%402.2.0) for an overview of all changes in v2.2.0. ## 2.1.0 diff --git a/packages/remix-css-bundle/package.json b/packages/remix-css-bundle/package.json index 4aae66c5d01..f96dfb24dea 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.2.0-pre.4", + "version": "2.2.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 5cee4a5220c..0d1304e8cb5 100644 --- a/packages/remix-deno/CHANGELOG.md +++ b/packages/remix-deno/CHANGELOG.md @@ -1,39 +1,11 @@ # `@remix-run/deno` -## 2.2.0-pre.4 +## 2.2.0 ### Patch Changes - Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.4` - -## 2.2.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.3` - -## 2.2.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.2` - -## 2.2.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.1` - -## 2.2.0-pre.0 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.0` + - `@remix-run/server-runtime@2.2.0` ## 2.1.0 diff --git a/packages/remix-deno/package.json b/packages/remix-deno/package.json index c285f3ec3d9..e14ccbb8a41 100644 --- a/packages/remix-deno/package.json +++ b/packages/remix-deno/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/deno", - "version": "2.2.0-pre.4", + "version": "2.2.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.2.0-pre.4", + "@remix-run/server-runtime": "2.2.0", "mime": "^3.0.0" }, "peerDependencies": { diff --git a/packages/remix-dev/CHANGELOG.md b/packages/remix-dev/CHANGELOG.md index fd488e9386e..86e3a393754 100644 --- a/packages/remix-dev/CHANGELOG.md +++ b/packages/remix-dev/CHANGELOG.md @@ -1,66 +1,22 @@ # `@remix-run/dev` -## 2.2.0-pre.4 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.2.0-pre.4` - - `@remix-run/server-runtime@2.2.0-pre.4` - -## 2.2.0-pre.3 - -### Patch Changes - -- fix server code interop for vite build ([#7828](https://github.com/remix-run/remix/pull/7828)) -- fix behind-by-one-render bug for meta hmr ([#7829](https://github.com/remix-run/remix/pull/7829)) -- Updated dependencies: - - `@remix-run/node@2.2.0-pre.3` - - `@remix-run/server-runtime@2.2.0-pre.3` - -## 2.2.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.2.0-pre.2` - - `@remix-run/server-runtime@2.2.0-pre.2` - -## 2.2.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.2.0-pre.1` - - `@remix-run/server-runtime@2.2.0-pre.1` - -## 2.2.0-pre.0 +## 2.2.0 ### Minor Changes -- Add a new `future.v3_fetcherPersist` flag to change the persistence behavior of fetchers. Instead of being immediately cleaned up when unmoutned in the UI, fetchers will persist until they return to an `idle` state ([RFC](https://github.com/remix-run/remix/discussions/7698)) ([#7704](https://github.com/remix-run/remix/pull/7704)) - - - This is sort of a long-standing "bug fix" as the `useFetchers()` API was always supposed to only reflect **in-flight** fetcher information for pending/optimistic UI -- it was not intended to reflect fetcher data or hang onto fetchers after they returned to an `idle` state - - Keep an eye out for the following specific behavioral changes when opting into this flag and check your app for compatibility: - - Fetchers that complete _while still mounted_ will no longer appear in `useFetchers()`. They served effectively no purpose in there since you can access the data via `useFetcher().data`). - - Fetchers that previously unmounted _while in-flight_ will not be immediately aborted and will instead be cleaned up once they return to an `idle` state. They will remain exposed via `useFetchers` while in-flight so you can still access pending/optimistic data after unmount. - - Unstable Vite support for Node-based Remix apps ([#7590](https://github.com/remix-run/remix/pull/7590)) - - `remix build` 👉 `vite build && vite build --ssr` - `remix dev` 👉 `vite dev` - - Other runtimes (e.g. Deno, Cloudflare) not yet supported. - Custom server (e.g. Express) not yet supported. - - See "Future > Vite" in the Remix Docs for details. + - Other runtimes (e.g. Deno, Cloudflare) not yet supported. + - See "Future > Vite" in the Remix Docs for details +- Add a new `future.v3_fetcherPersist` flag to change the persistence behavior of fetchers. Instead of being immediately cleaned up when unmounted in the UI, fetchers will persist until they return to an `idle` state ([RFC](https://github.com/remix-run/remix/discussions/7698)) ([#7704](https://github.com/remix-run/remix/pull/7704)) + - For more details, please refer to the [React Router 6.18.0](https://github.com/remix-run/react-router/releases/tag/react-router%406.18.0) release notes ### Patch Changes - Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.0` - - `@remix-run/serve@2.2.0-pre.0` - - `@remix-run/node@2.2.0-pre.0` + - `@remix-run/server-runtime@2.2.0` + - `@remix-run/node@2.2.0` ## 2.1.0 diff --git a/packages/remix-dev/package.json b/packages/remix-dev/package.json index e718acc89a5..e8773368213 100644 --- a/packages/remix-dev/package.json +++ b/packages/remix-dev/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/dev", - "version": "2.2.0-pre.4", + "version": "2.2.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.2.0-pre.4", + "@remix-run/node": "2.2.0", "@remix-run/router": "1.11.0", - "@remix-run/server-runtime": "2.2.0-pre.4", + "@remix-run/server-runtime": "2.2.0", "@types/mdx": "^2.0.5", "@vanilla-extract/integration": "^6.2.0", "arg": "^5.0.1", @@ -76,7 +76,7 @@ "ws": "^7.4.5" }, "devDependencies": { - "@remix-run/serve": "2.2.0-pre.4", + "@remix-run/serve": "2.2.0", "@types/cacache": "^17.0.0", "@types/cross-spawn": "^6.0.2", "@types/gunzip-maybe": "^1.4.0", @@ -98,7 +98,7 @@ "vite": "^4.4.9" }, "peerDependencies": { - "@remix-run/serve": "^2.2.0-pre.4", + "@remix-run/serve": "^2.2.0", "typescript": "^5.1.0", "vite": "^4.4.9" }, diff --git a/packages/remix-eslint-config/CHANGELOG.md b/packages/remix-eslint-config/CHANGELOG.md index 655f5d2c1ec..894fac43407 100644 --- a/packages/remix-eslint-config/CHANGELOG.md +++ b/packages/remix-eslint-config/CHANGELOG.md @@ -1,14 +1,8 @@ # `@remix-run/eslint-config` -## 2.2.0-pre.4 +## 2.2.0 -## 2.2.0-pre.3 - -## 2.2.0-pre.2 - -## 2.2.0-pre.1 - -## 2.2.0-pre.0 +No significant changes to this package were made in this release. [See the releases page on GitHub](https://github.com/remix-run/remix/releases/tag/remix%402.2.0) for an overview of all changes in v2.2.0. ## 2.1.0 diff --git a/packages/remix-eslint-config/package.json b/packages/remix-eslint-config/package.json index 8e3269ae29b..08e4b7eacb2 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.2.0-pre.4", + "version": "2.2.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 bae9b88a40e..6269f07a0c9 100644 --- a/packages/remix-express/CHANGELOG.md +++ b/packages/remix-express/CHANGELOG.md @@ -1,44 +1,14 @@ # `@remix-run/express` -## 2.2.0-pre.4 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.2.0-pre.4` - -## 2.2.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.2.0-pre.3` - -## 2.2.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.2.0-pre.2` - -## 2.2.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.2.0-pre.1` - -## 2.2.0-pre.0 +## 2.2.0 ### Patch Changes - Allow the `@remix-run/express` adapter to work behind a proxy when using `app.enable('trust proxy')` ([#7323](https://github.com/remix-run/remix/pull/7323)) - - Previously, this used `req.get('host')` to construct the Remix `Request`, but that does not respect `X-Forwarded-Host` - This now uses `req.hostname` which will respect `X-Forwarded-Host` - - Updated dependencies: - - `@remix-run/node@2.2.0-pre.0` + - `@remix-run/node@2.2.0` ## 2.1.0 diff --git a/packages/remix-express/package.json b/packages/remix-express/package.json index 85f19564456..485cdcbaae5 100644 --- a/packages/remix-express/package.json +++ b/packages/remix-express/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/express", - "version": "2.2.0-pre.4", + "version": "2.2.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.2.0-pre.4" + "@remix-run/node": "2.2.0" }, "devDependencies": { "@types/express": "^4.17.9", diff --git a/packages/remix-node/CHANGELOG.md b/packages/remix-node/CHANGELOG.md index 4d2bfe26127..071adf61b82 100644 --- a/packages/remix-node/CHANGELOG.md +++ b/packages/remix-node/CHANGELOG.md @@ -1,39 +1,11 @@ # `@remix-run/node` -## 2.2.0-pre.4 +## 2.2.0 ### Patch Changes - Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.4` - -## 2.2.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.3` - -## 2.2.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.2` - -## 2.2.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.1` - -## 2.2.0-pre.0 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.0` + - `@remix-run/server-runtime@2.2.0` ## 2.1.0 diff --git a/packages/remix-node/package.json b/packages/remix-node/package.json index 5297a3d7e5b..2c1f3ab5e89 100644 --- a/packages/remix-node/package.json +++ b/packages/remix-node/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/node", - "version": "2.2.0-pre.4", + "version": "2.2.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.2.0-pre.4", + "@remix-run/server-runtime": "2.2.0", "@remix-run/web-fetch": "^4.4.1", "@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 b17043522cf..40c657025b3 100644 --- a/packages/remix-react/CHANGELOG.md +++ b/packages/remix-react/CHANGELOG.md @@ -1,67 +1,28 @@ # `@remix-run/react` -## 2.2.0-pre.4 - -### Patch Changes - -- Lock into react router stable versions ([#7838](https://github.com/remix-run/remix/pull/7838)) -- Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.4` - -## 2.2.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.3` - -## 2.2.0-pre.2 - -### Patch Changes - -- [REMOVE] bump to latest router prerelease ([#7825](https://github.com/remix-run/remix/pull/7825)) -- Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.2` - -## 2.2.0-pre.1 - -### Patch Changes - -- Fix critical CSS hydration errors for Vite dev ([#7812](https://github.com/remix-run/remix/pull/7812)) -- Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.1` - -## 2.2.0-pre.0 +## 2.2.0 ### Minor Changes -- Add a new `future.v3_fetcherPersist` flag to change the persistence behavior of fetchers. Instead of being immediately cleaned up when unmoutned in the UI, fetchers will persist until they return to an `idle` state ([RFC](https://github.com/remix-run/remix/discussions/7698)) ([#7704](https://github.com/remix-run/remix/pull/7704)) - - - This is sort of a long-standing "bug fix" as the `useFetchers()` API was always supposed to only reflect **in-flight** fetcher information for pending/optimistic UI -- it was not intended to reflect fetcher data or hang onto fetchers after they returned to an `idle` state - - Keep an eye out for the following specific behavioral changes when opting into this flag and check your app for compatibility: - - Fetchers that complete _while still mounted_ will no longer appear in `useFetchers()`. They served effectively no purpose in there since you can access the data via `useFetcher().data`). - - Fetchers that previously unmounted _while in-flight_ will not be immediately aborted and will instead be cleaned up once they return to an `idle` state. They will remain exposed via `useFetchers` while in-flight so you can still access pending/optimistic data after unmount. - - Unstable Vite support for Node-based Remix apps ([#7590](https://github.com/remix-run/remix/pull/7590)) - - `remix build` 👉 `vite build && vite build --ssr` - `remix dev` 👉 `vite dev` - - Other runtimes (e.g. Deno, Cloudflare) not yet supported. - Custom server (e.g. Express) not yet supported. - - See "Future > Vite" in the Remix Docs for details. + - Other runtimes (e.g. Deno, Cloudflare) not yet supported. + - See "Future > Vite" in the Remix Docs for details +- Add a new `future.v3_fetcherPersist` flag to change the persistence behavior of fetchers. Instead of being immediately cleaned up when unmounted in the UI, fetchers will persist until they return to an `idle` state ([RFC](https://github.com/remix-run/remix/discussions/7698)) ([#7704](https://github.com/remix-run/remix/pull/7704)) + - For more details, please refer to the [React Router 6.18.0](https://github.com/remix-run/react-router/releases/tag/react-router%406.18.0) release notes ### Patch Changes - Fix warning that could be logged when using route files with no `default` export ([#7745](https://github.com/remix-run/remix/pull/7745)) - - It seems our compiler compiles these files to export an empty object as the `default` which we can then end up passing to `React.createElement`, triggering the console warning, but generally no UI issues - By properly detecting these, we can correctly pass `Component: undefined` off to the React Router layer - This is technically an potential issue in the compiler but it's an easy patch in the `@remix-run/react` layer and hopefully disappears in a Vite world - +- Fix critical CSS hydration errors for Vite dev ([#7812](https://github.com/remix-run/remix/pull/7812)) - Updated dependencies: - - `@remix-run/server-runtime@2.2.0-pre.0` + - `@remix-run/server-runtime@2.2.0` + - [`react-router-dom@6.18.0`](https://github.com/remix-run/react-router/releases/tag/react-router%406.18.0) + - [`@remix-run/router@1.11.0`](https://github.com/remix-run/react-router/blob/main/packages/router/CHANGELOG.md#1110) ## 2.1.0 diff --git a/packages/remix-react/package.json b/packages/remix-react/package.json index bde11847053..cdaa1d6be7d 100644 --- a/packages/remix-react/package.json +++ b/packages/remix-react/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/react", - "version": "2.2.0-pre.4", + "version": "2.2.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.11.0", - "@remix-run/server-runtime": "2.2.0-pre.4", + "@remix-run/server-runtime": "2.2.0", "react-router-dom": "6.18.0" }, "devDependencies": { diff --git a/packages/remix-serve/CHANGELOG.md b/packages/remix-serve/CHANGELOG.md index 823b4e0f8c6..0c268307e85 100644 --- a/packages/remix-serve/CHANGELOG.md +++ b/packages/remix-serve/CHANGELOG.md @@ -1,44 +1,12 @@ # `@remix-run/serve` -## 2.2.0-pre.4 +## 2.2.0 ### Patch Changes - Updated dependencies: - - `@remix-run/express@2.2.0-pre.4` - - `@remix-run/node@2.2.0-pre.4` - -## 2.2.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/express@2.2.0-pre.3` - - `@remix-run/node@2.2.0-pre.3` - -## 2.2.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/express@2.2.0-pre.2` - - `@remix-run/node@2.2.0-pre.2` - -## 2.2.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/express@2.2.0-pre.1` - - `@remix-run/node@2.2.0-pre.1` - -## 2.2.0-pre.0 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/express@2.2.0-pre.0` - - `@remix-run/node@2.2.0-pre.0` + - `@remix-run/express@2.2.0` + - `@remix-run/node@2.2.0` ## 2.1.0 diff --git a/packages/remix-serve/package.json b/packages/remix-serve/package.json index a41a7849bb8..b58ab3d733a 100644 --- a/packages/remix-serve/package.json +++ b/packages/remix-serve/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/serve", - "version": "2.2.0-pre.4", + "version": "2.2.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.2.0-pre.4", - "@remix-run/node": "2.2.0-pre.4", + "@remix-run/express": "2.2.0", + "@remix-run/node": "2.2.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 232fee95d28..e24d6d34f4b 100644 --- a/packages/remix-server-runtime/CHANGELOG.md +++ b/packages/remix-server-runtime/CHANGELOG.md @@ -1,26 +1,14 @@ # `@remix-run/server-runtime` -## 2.2.0-pre.4 - -## 2.2.0-pre.3 - -## 2.2.0-pre.2 - -## 2.2.0-pre.1 - -## 2.2.0-pre.0 +## 2.2.0 ### Minor Changes - Unstable Vite support for Node-based Remix apps ([#7590](https://github.com/remix-run/remix/pull/7590)) - - `remix build` 👉 `vite build && vite build --ssr` - `remix dev` 👉 `vite dev` - - Other runtimes (e.g. Deno, Cloudflare) not yet supported. - Custom server (e.g. Express) not yet supported. - - See "Future > Vite" in the Remix Docs for details. + - Other runtimes (e.g. Deno, Cloudflare) not yet supported. + - See "Future > Vite" in the Remix Docs for details ## 2.1.0 diff --git a/packages/remix-server-runtime/package.json b/packages/remix-server-runtime/package.json index 81962b871fd..637770a8884 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.2.0-pre.4", + "version": "2.2.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 fed64932f6d..8ccc8ab7c22 100644 --- a/packages/remix-testing/CHANGELOG.md +++ b/packages/remix-testing/CHANGELOG.md @@ -1,56 +1,20 @@ # `@remix-run/testing` -## 2.2.0-pre.4 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/react@2.2.0-pre.4` - - `@remix-run/node@2.2.0-pre.4` - -## 2.2.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.2.0-pre.3` - - `@remix-run/react@2.2.0-pre.3` - -## 2.2.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/react@2.2.0-pre.2` - - `@remix-run/node@2.2.0-pre.2` - -## 2.2.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/react@2.2.0-pre.1` - - `@remix-run/node@2.2.0-pre.1` - -## 2.2.0-pre.0 +## 2.2.0 ### Minor Changes - Unstable Vite support for Node-based Remix apps ([#7590](https://github.com/remix-run/remix/pull/7590)) - - `remix build` 👉 `vite build && vite build --ssr` - `remix dev` 👉 `vite dev` - - Other runtimes (e.g. Deno, Cloudflare) not yet supported. - Custom server (e.g. Express) not yet supported. - - See "Future > Vite" in the Remix Docs for details. + - Other runtimes (e.g. Deno, Cloudflare) not yet supported. + - See "Future > Vite" in the Remix Docs for details ### Patch Changes - Updated dependencies: - - `@remix-run/react@2.2.0-pre.0` - - `@remix-run/node@2.2.0-pre.0` + - `@remix-run/react@2.2.0` + - `@remix-run/node@2.2.0` ## 2.1.0 diff --git a/packages/remix-testing/package.json b/packages/remix-testing/package.json index 181a589339e..0cb369be94a 100644 --- a/packages/remix-testing/package.json +++ b/packages/remix-testing/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/testing", - "version": "2.2.0-pre.4", + "version": "2.2.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.2.0-pre.4", - "@remix-run/react": "2.2.0-pre.4", + "@remix-run/node": "2.2.0", + "@remix-run/react": "2.2.0", "@remix-run/router": "1.11.0", "react-router-dom": "6.18.0" }, diff --git a/packages/remix/package.json b/packages/remix/package.json index 3995157f095..5db38c66fed 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -1,6 +1,6 @@ { "name": "remix", - "version": "2.2.0-pre.4", + "version": "2.2.0", "description": "A framework for building better websites", "homepage": "https://remix.run", "bugs": {