diff --git a/.changeset/add-uimatch-handle.md b/.changeset/add-uimatch-handle.md deleted file mode 100644 index 20cafbdfcd4..00000000000 --- a/.changeset/add-uimatch-handle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -Add second generic to `UIMatch` for `handle` field diff --git a/.changeset/bump-web-fetch.md b/.changeset/bump-web-fetch.md deleted file mode 100644 index b49dc658008..00000000000 --- a/.changeset/bump-web-fetch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/node": patch ---- - -Update to latest version of `@remix-run/web-fetch` diff --git a/.changeset/fix-mdx-types-for-pnpm.md b/.changeset/fix-mdx-types-for-pnpm.md deleted file mode 100644 index 3e1cc030db6..00000000000 --- a/.changeset/fix-mdx-types-for-pnpm.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Fix types for MDX files when using pnpm diff --git a/.changeset/forty-needles-pretend.md b/.changeset/forty-needles-pretend.md deleted file mode 100644 index 6b79acabd46..00000000000 --- a/.changeset/forty-needles-pretend.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@remix-run/serve": patch ---- - -Fix HMR for CJS projects using `remix-serve` and manual mode (`remix dev --manual`) - -By explicitly busting the `require` cache, `remix-serve` now correctly reimports new server changes in CJS. -ESM projects were already working correctly and are not affected by this. diff --git a/.changeset/four-spies-draw.md b/.changeset/four-spies-draw.md deleted file mode 100644 index a97459b20eb..00000000000 --- a/.changeset/four-spies-draw.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@remix-run/serve": patch ---- - -Fix error caused by partially written server build - -Previously, it was possible to trigger a reimport of the app server code before the new server build had completely been written. Reimporting the partially written server build caused issues related to `build.assets` being undefined and crashing when reading `build.assets.version`. diff --git a/.changeset/get-dependencies-from-esm-without-main.md b/.changeset/get-dependencies-from-esm-without-main.md deleted file mode 100644 index 614a898bea6..00000000000 --- a/.changeset/get-dependencies-from-esm-without-main.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Update `getDependenciesToBundle` to handle ESM packages without main exports. Note that these packages must expose `package.json` in their `exports` field so that their path can be resolved. diff --git a/.changeset/node-web-crypto.md b/.changeset/node-web-crypto.md deleted file mode 100644 index 483ca4ecb2f..00000000000 --- a/.changeset/node-web-crypto.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/node": patch ---- - -Switch from `crypto.randomBytes` to `crypto.webcrypto.getRandomValues` for file session storage ID generation diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 7f3154eccb5..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.0.0", - "remix": "2.0.0", - "@remix-run/architect": "2.0.0", - "@remix-run/cloudflare": "2.0.0", - "@remix-run/cloudflare-pages": "2.0.0", - "@remix-run/cloudflare-workers": "2.0.0", - "@remix-run/css-bundle": "2.0.0", - "@remix-run/deno": "2.0.0", - "@remix-run/dev": "2.0.0", - "@remix-run/eslint-config": "2.0.0", - "@remix-run/express": "2.0.0", - "@remix-run/node": "2.0.0", - "@remix-run/react": "2.0.0", - "@remix-run/serve": "2.0.0", - "@remix-run/server-runtime": "2.0.0", - "@remix-run/testing": "2.0.0" - }, - "changesets": [ - "add-uimatch-handle", - "bump-web-fetch", - "fix-mdx-types-for-pnpm", - "forty-needles-pretend", - "four-spies-draw", - "get-dependencies-from-esm-without-main", - "node-web-crypto", - "route-lazy-resource-route", - "use-native-blob", - "wicked-avocados-fly", - "wild-steaks-bathe" - ] -} diff --git a/.changeset/route-lazy-resource-route.md b/.changeset/route-lazy-resource-route.md deleted file mode 100644 index c2b1ec79923..00000000000 --- a/.changeset/route-lazy-resource-route.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -Fix resource routes being loaded through `route.lazy` diff --git a/.changeset/use-native-blob.md b/.changeset/use-native-blob.md deleted file mode 100644 index 32d0122ed86..00000000000 --- a/.changeset/use-native-blob.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/node": patch ---- - -Use native `Blob` cleass instead of polyfill diff --git a/.changeset/wicked-avocados-fly.md b/.changeset/wicked-avocados-fly.md deleted file mode 100644 index 41b9e5a1b58..00000000000 --- a/.changeset/wicked-avocados-fly.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -Throw a semantically correct 405 `ErrorResponse` instead of just an `Error` when submitting to a route without an `action` diff --git a/.changeset/wild-steaks-bathe.md b/.changeset/wild-steaks-bathe.md deleted file mode 100644 index 25a35dce28b..00000000000 --- a/.changeset/wild-steaks-bathe.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Fix server builds where serverBuildPath extension is `.cjs`. - -Fix a bug that caused the server build file to be emitted into the assets directory if the value of `serverBuildPath` ended in `.cjs`. diff --git a/packages/create-remix/CHANGELOG.md b/packages/create-remix/CHANGELOG.md index 9201c60a41c..8631aceedba 100644 --- a/packages/create-remix/CHANGELOG.md +++ b/packages/create-remix/CHANGELOG.md @@ -1,6 +1,8 @@ # `create-remix` -## 2.0.1-pre.0 +## 2.0.1 + +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.0.1) for an overview of all changes in v2.0.1. ## 2.0.0 diff --git a/packages/create-remix/package.json b/packages/create-remix/package.json index b26d0ba4c18..3a36426d3d0 100644 --- a/packages/create-remix/package.json +++ b/packages/create-remix/package.json @@ -1,6 +1,6 @@ { "name": "create-remix", - "version": "2.0.1-pre.0", + "version": "2.0.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 d8ae7a30575..2746e33e10a 100644 --- a/packages/remix-architect/CHANGELOG.md +++ b/packages/remix-architect/CHANGELOG.md @@ -1,17 +1,18 @@ # `@remix-run/architect` -## 2.0.1-pre.0 +## 2.0.1 ### Patch Changes - Updated dependencies: - - `@remix-run/node@2.0.1-pre.0` + - `@remix-run/node@2.0.1` ## 2.0.0 ### Major Changes - Require Node >=18.0.0 ([#6939](https://github.com/remix-run/remix/pull/6939)) + - For preparation of using Node's built in fetch implementation, installing the fetch globals is now a responsibility of the app server ([#7009](https://github.com/remix-run/remix/pull/7009)) - If you are using `remix-serve`, nothing is required diff --git a/packages/remix-architect/package.json b/packages/remix-architect/package.json index 62495d29630..32816d65c05 100644 --- a/packages/remix-architect/package.json +++ b/packages/remix-architect/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/architect", - "version": "2.0.1-pre.0", + "version": "2.0.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.0.1-pre.0", + "@remix-run/node": "2.0.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 9161bcab581..6ad0748f7e5 100644 --- a/packages/remix-cloudflare-pages/CHANGELOG.md +++ b/packages/remix-cloudflare-pages/CHANGELOG.md @@ -1,11 +1,11 @@ # `@remix-run/cloudflare-pages` -## 2.0.1-pre.0 +## 2.0.1 ### Patch Changes - Updated dependencies: - - `@remix-run/cloudflare@2.0.1-pre.0` + - `@remix-run/cloudflare@2.0.1` ## 2.0.0 diff --git a/packages/remix-cloudflare-pages/package.json b/packages/remix-cloudflare-pages/package.json index 34abe2662fb..d7396c4ec8e 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.0.1-pre.0", + "version": "2.0.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.0.1-pre.0" + "@remix-run/cloudflare": "2.0.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 a6fc951c28f..6f0bd99f47c 100644 --- a/packages/remix-cloudflare-workers/CHANGELOG.md +++ b/packages/remix-cloudflare-workers/CHANGELOG.md @@ -1,11 +1,11 @@ # `@remix-run/cloudflare-workers` -## 2.0.1-pre.0 +## 2.0.1 ### Patch Changes - Updated dependencies: - - `@remix-run/cloudflare@2.0.1-pre.0` + - `@remix-run/cloudflare@2.0.1` ## 2.0.0 diff --git a/packages/remix-cloudflare-workers/package.json b/packages/remix-cloudflare-workers/package.json index 0595d0c0864..06166b404dc 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.0.1-pre.0", + "version": "2.0.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.0.1-pre.0" + "@remix-run/cloudflare": "2.0.1" }, "devDependencies": { "@cloudflare/workers-types": "^4.20230518.0", diff --git a/packages/remix-cloudflare/CHANGELOG.md b/packages/remix-cloudflare/CHANGELOG.md index 75d8b6ac9d4..fa110a2fde0 100644 --- a/packages/remix-cloudflare/CHANGELOG.md +++ b/packages/remix-cloudflare/CHANGELOG.md @@ -1,11 +1,11 @@ # `@remix-run/cloudflare` -## 2.0.1-pre.0 +## 2.0.1 ### Patch Changes - Updated dependencies: - - `@remix-run/server-runtime@2.0.1-pre.0` + - `@remix-run/server-runtime@2.0.1` ## 2.0.0 diff --git a/packages/remix-cloudflare/package.json b/packages/remix-cloudflare/package.json index 2540065b459..477949ff7e9 100644 --- a/packages/remix-cloudflare/package.json +++ b/packages/remix-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/cloudflare", - "version": "2.0.1-pre.0", + "version": "2.0.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.0.1-pre.0" + "@remix-run/server-runtime": "2.0.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 1fafa3e976e..e17d439fe51 100644 --- a/packages/remix-css-bundle/CHANGELOG.md +++ b/packages/remix-css-bundle/CHANGELOG.md @@ -1,6 +1,8 @@ # @remix-run/css-bundle -## 2.0.1-pre.0 +## 2.0.1 + +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.0.1) for an overview of all changes in v2.0.1. ## 2.0.0 diff --git a/packages/remix-css-bundle/package.json b/packages/remix-css-bundle/package.json index eb6c0d8254c..2b43e5482ed 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.0.1-pre.0", + "version": "2.0.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 02869a23073..d5fc92c542f 100644 --- a/packages/remix-deno/CHANGELOG.md +++ b/packages/remix-deno/CHANGELOG.md @@ -1,11 +1,11 @@ # `@remix-run/deno` -## 2.0.1-pre.0 +## 2.0.1 ### Patch Changes - Updated dependencies: - - `@remix-run/server-runtime@2.0.1-pre.0` + - `@remix-run/server-runtime@2.0.1` ## 2.0.0 diff --git a/packages/remix-deno/package.json b/packages/remix-deno/package.json index 0d296c1d55a..72b9bdbe587 100644 --- a/packages/remix-deno/package.json +++ b/packages/remix-deno/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/deno", - "version": "2.0.1-pre.0", + "version": "2.0.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.0.1-pre.0", + "@remix-run/server-runtime": "2.0.1", "mime": "^3.0.0" }, "peerDependencies": { diff --git a/packages/remix-dev/CHANGELOG.md b/packages/remix-dev/CHANGELOG.md index da8c98309a4..dae52949cfb 100644 --- a/packages/remix-dev/CHANGELOG.md +++ b/packages/remix-dev/CHANGELOG.md @@ -1,18 +1,15 @@ # `@remix-run/dev` -## 2.0.1-pre.0 +## 2.0.1 ### Patch Changes - Fix types for MDX files when using pnpm ([#7491](https://github.com/remix-run/remix/pull/7491)) -- Update `getDependenciesToBundle` to handle ESM packages without main exports. Note that these packages must expose `package.json` in their `exports` field so that their path can be resolved. ([#7272](https://github.com/remix-run/remix/pull/7272)) -- Fix server builds where serverBuildPath extension is `.cjs`. ([#7180](https://github.com/remix-run/remix/pull/7180)) - - Fix a bug that caused the server build file to be emitted into the assets directory if the value of `serverBuildPath` ended in `.cjs`. - +- Update `getDependenciesToBundle` to handle ESM packages without main exports ([#7272](https://github.com/remix-run/remix/pull/7272)) + - Note that these packages must expose `package.json` in their `exports` field so that their path can be resolved +- Fix server builds where `serverBuildPath` extension is `.cjs` ([#7180](https://github.com/remix-run/remix/pull/7180)) - Updated dependencies: - - `@remix-run/serve@2.0.1-pre.0` - - `@remix-run/server-runtime@2.0.1-pre.0` + - `@remix-run/server-runtime@2.0.1` ## 2.0.0 @@ -47,8 +44,8 @@ - Remove deprecated `--scheme`/`scheme` and `--host`/`host` cli args/flags - use `REMIX_DEV_ORIGIN` instead ([#6962](https://github.com/remix-run/remix/pull/6962)) - Promote the `future.v2_dev` flag in `remix.config.js` to a root level `dev` config ([#7002](https://github.com/remix-run/remix/pull/7002)) - Remove `browserBuildDirectory` config option ([#6900](https://github.com/remix-run/remix/pull/6900)) -- Remove `serverBuildDirectory` config option ([#6897](https://github.com/remix-run/remix/pull/- Remove `codemod` command ([#6918](https://github.com/remix-run/remix/pull/6918)) - 6897)) +- Remove `serverBuildDirectory` config option (\[#6897]\( Remove `codemod` command ([#6918](https://github.com/remix-run/remix/pull/6918)) + 6897\)) - Removed support for "magic exports" from the `remix` package. This package can be removed from your `package.json` and you should update all imports to use the source `@remix-run/*` packages: ([#6895](https://github.com/remix-run/remix/pull/6895)) ```diff @@ -88,11 +85,16 @@ ### Patch Changes - Fix importing of PNGs, SVGs, and other assets from packages in `node_modules` ([#6813](https://github.com/remix-run/remix/pull/6813), [#7182](https://github.com/remix-run/remix/pull/7182)) + - Decouple the `@remix-run/dev` package from the contents of the `@remix-run/css-bundle` package. ([#6982](https://github.com/remix-run/remix/pull/6982)) + - The contents of the `@remix-run/css-bundle` package are now entirely managed by the Remix compiler - Even though it's still recommended that your Remix dependencies all share the same version, this change ensures that there are no runtime errors when upgrading `@remix-run/dev` without upgrading `@remix-run/css-bundle` + - Allow non-development modes for `remix watch` ([#7117](https://github.com/remix-run/remix/pull/7117)) + - Stop `remix dev` when `esbuild` is not running ([#7158](https://github.com/remix-run/remix/pull/7158)) + - Do not interpret JSX in `.ts` files ([#7306](https://github.com/remix-run/remix/pull/7306)) - While JSX is supported in `.js` files for compatibility with existing apps and libraries, @@ -120,25 +122,41 @@ ``` - Enhance obsolete flag warning for `future.v2_dev` if it was an object, and prompt users to lift it to the root `dev` config ([#7427](https://github.com/remix-run/remix/pull/7427)) + - Allow decorators in app code ([#7176](https://github.com/remix-run/remix/pull/7176)) + - Allow JSX in `.js` files during HMR ([#7112](https://github.com/remix-run/remix/pull/7112)) + - Kill app server when remix dev terminates ([#7280](https://github.com/remix-run/remix/pull/7280)) + - Support dependencies that import polyfill packages for Node built-ins via a trailing slash (e.g. importing the `buffer` package with `var Buffer = require('buffer/').Buffer` as recommended in their README) ([#7198](https://github.com/remix-run/remix/pull/7198)) + - These imports were previously marked as external - This meant that they were left as dynamic imports in the client bundle and would throw a runtime error in the browser (e.g. `Dynamic require of "buffer/" is not supported`) + - Surface errors when PostCSS config is invalid ([#7391](https://github.com/remix-run/remix/pull/7391)) + - Restart dev server when Remix config changes ([#7269](https://github.com/remix-run/remix/pull/7269)) + - Remove outdated ESM import warnings ([#6916](https://github.com/remix-run/remix/pull/6916)) + - Most of the time these warnings were false positives. - Instead, we now rely on built-in Node warnings for ESM imports. + - Do not trigger rebuilds when `.DS_Store` changes ([#7172](https://github.com/remix-run/remix/pull/7172)) + - Remove warnings for stabilized flags: ([#6905](https://github.com/remix-run/remix/pull/6905)) + - `unstable_cssSideEffectImports` - `unstable_cssModules` - `unstable_vanillaExtract` + - Allow any mode (`NODE_ENV`) ([#7113](https://github.com/remix-run/remix/pull/7113)) + - Replace the deprecated [`xdm`](https://github.com/wooorm/xdm) package with [`@mdx-js/mdx`](https://github.com/mdx-js/mdx) ([#4054](https://github.com/remix-run/remix/pull/4054)) + - Write a `version.txt` sentinel file _after_ server build is completely written ([#7299](https://github.com/remix-run/remix/pull/7299)) + - Updated dependencies: - `@remix-run/server-runtime@2.0.0` diff --git a/packages/remix-dev/package.json b/packages/remix-dev/package.json index 1ea3ea44fae..7a6279be278 100644 --- a/packages/remix-dev/package.json +++ b/packages/remix-dev/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/dev", - "version": "2.0.1-pre.0", + "version": "2.0.1", "description": "Dev tools and CLI for Remix", "homepage": "https://remix.run", "bugs": { @@ -27,7 +27,7 @@ "@babel/traverse": "^7.21.5", "@mdx-js/mdx": "^2.3.0", "@npmcli/package-json": "^4.0.1", - "@remix-run/server-runtime": "2.0.1-pre.0", + "@remix-run/server-runtime": "2.0.1", "@types/mdx": "^2.0.5", "@vanilla-extract/integration": "^6.2.0", "arg": "^5.0.1", @@ -68,7 +68,7 @@ "ws": "^7.4.5" }, "devDependencies": { - "@remix-run/serve": "2.0.1-pre.0", + "@remix-run/serve": "2.0.1", "@types/cacache": "^17.0.0", "@types/gunzip-maybe": "^1.4.0", "@types/jsesc": "^3.0.1", @@ -88,7 +88,7 @@ "tiny-invariant": "^1.2.0" }, "peerDependencies": { - "@remix-run/serve": "^2.0.1-pre.0", + "@remix-run/serve": "^2.0.1", "typescript": "^5.1.0" }, "peerDependenciesMeta": { diff --git a/packages/remix-eslint-config/CHANGELOG.md b/packages/remix-eslint-config/CHANGELOG.md index d015c7c46d5..86a62684a90 100644 --- a/packages/remix-eslint-config/CHANGELOG.md +++ b/packages/remix-eslint-config/CHANGELOG.md @@ -1,6 +1,8 @@ # `@remix-run/eslint-config` -## 2.0.1-pre.0 +## 2.0.1 + +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.0.1) for an overview of all changes in v2.0.1. ## 2.0.0 diff --git a/packages/remix-eslint-config/package.json b/packages/remix-eslint-config/package.json index d6de37c741b..eb1f32b8920 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.0.1-pre.0", + "version": "2.0.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 9676f4558f2..3e31400355f 100644 --- a/packages/remix-express/CHANGELOG.md +++ b/packages/remix-express/CHANGELOG.md @@ -1,17 +1,18 @@ # `@remix-run/express` -## 2.0.1-pre.0 +## 2.0.1 ### Patch Changes - Updated dependencies: - - `@remix-run/node@2.0.1-pre.0` + - `@remix-run/node@2.0.1` ## 2.0.0 ### Major Changes - Require Node >=18.0.0 ([#6939](https://github.com/remix-run/remix/pull/6939)) + - For preparation of using Node's built in fetch implementation, installing the fetch globals is now a responsibility of the app server ([#7009](https://github.com/remix-run/remix/pull/7009)) - If you are using `remix-serve`, nothing is required diff --git a/packages/remix-express/package.json b/packages/remix-express/package.json index 4c1b4fde117..be59dd8042f 100644 --- a/packages/remix-express/package.json +++ b/packages/remix-express/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/express", - "version": "2.0.1-pre.0", + "version": "2.0.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.0.1-pre.0" + "@remix-run/node": "2.0.1" }, "devDependencies": { "@types/express": "^4.17.9", diff --git a/packages/remix-node/CHANGELOG.md b/packages/remix-node/CHANGELOG.md index 495911721c1..c2b9495228d 100644 --- a/packages/remix-node/CHANGELOG.md +++ b/packages/remix-node/CHANGELOG.md @@ -1,22 +1,25 @@ # `@remix-run/node` -## 2.0.1-pre.0 +## 2.0.1 ### Patch Changes -- Update to latest version of `@remix-run/web-fetch` ([#7477](https://github.com/remix-run/remix/pull/7477)) - Switch from `crypto.randomBytes` to `crypto.webcrypto.getRandomValues` for file session storage ID generation ([#7203](https://github.com/remix-run/remix/pull/7203)) -- Use native `Blob` cleass instead of polyfill ([#7217](https://github.com/remix-run/remix/pull/7217)) +- Use native `Blob` class instead of polyfill ([#7217](https://github.com/remix-run/remix/pull/7217)) - Updated dependencies: - - `@remix-run/server-runtime@2.0.1-pre.0` + - `@remix-run/server-runtime@2.0.1` + - [`@remix-run/web-fetch@4.4.1`](https://github.com/remix-run/web-std-io/releases/tag/%40remix-run%2Fweb-fetch%404.4.1) ## 2.0.0 ### Major Changes - Require Node >=18.0.0 ([#6939](https://github.com/remix-run/remix/pull/6939)) + - Stop exporting the `fetch` API in favor of using the version in the global scope - which can be polyfilled via `installGlobals` ([#7293](https://github.com/remix-run/remix/pull/7293)) + - Removed/adjusted types to prefer `unknown` over `any` and to align with underlying React Router types ([#7319](https://github.com/remix-run/remix/pull/7319), [#7354](https://github.com/remix-run/remix/pull/7354)): + - Renamed the `useMatches()` return type from `RouteMatch` to `UIMatch` - Renamed `LoaderArgs`/`ActionArgs` to `LoaderFunctionArgs`/`ActionFunctionArgs` - `AppData` changed from `any` to `unknown` @@ -26,8 +29,11 @@ - `Fetcher["data"]` (`useFetcher().data`) changed from `any` to `unknown` - `MetaMatch.handle` (used in `meta()`) changed from `any` to `unknown` - `AppData`/`RouteHandle` are no longer exported as they are just aliases for `unknown` + - The route `meta` API now defaults to the new "V2 Meta" API ([#6958](https://github.com/remix-run/remix/pull/6958)) + - Please refer to the ([docs](https://remix.run/docs/en/2.0.0/route/meta) and [Preparing for V2](https://remix.run/docs/en/2.0.0/start/v2#route-meta) guide for more information. + - For preparation of using Node's built in fetch implementation, installing the fetch globals is now a responsibility of the app server ([#7009](https://github.com/remix-run/remix/pull/7009)) - If you are using `remix-serve`, nothing is required diff --git a/packages/remix-node/package.json b/packages/remix-node/package.json index 4ba2ffe56ca..01b44679a9b 100644 --- a/packages/remix-node/package.json +++ b/packages/remix-node/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/node", - "version": "2.0.1-pre.0", + "version": "2.0.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.0.1-pre.0", + "@remix-run/server-runtime": "2.0.1", "@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 92dbb4d192e..b241fdfc2e8 100644 --- a/packages/remix-react/CHANGELOG.md +++ b/packages/remix-react/CHANGELOG.md @@ -1,6 +1,6 @@ # `@remix-run/react` -## 2.0.1-pre.0 +## 2.0.1 ### Patch Changes @@ -8,7 +8,7 @@ - Fix resource routes being loaded through `route.lazy` ([#7498](https://github.com/remix-run/remix/pull/7498)) - Throw a semantically correct 405 `ErrorResponse` instead of just an `Error` when submitting to a route without an `action` ([#7423](https://github.com/remix-run/remix/pull/7423)) - Updated dependencies: - - `@remix-run/server-runtime@2.0.1-pre.0` + - `@remix-run/server-runtime@2.0.1` ## 2.0.0 @@ -71,14 +71,22 @@ ``` - Re-Export `ShouldRevalidateFunctionArgs` type from React Router ([#7316](https://github.com/remix-run/remix/pull/7316)) + - Deduplicate prefetch `link` tags ([#7060](https://github.com/remix-run/remix/pull/7060)) + - Skip preloading of stylesheets on client-side route transitions if the browser does not support `` ([#7106](https://github.com/remix-run/remix/pull/7106)) - This prevents us from hanging on client-side navigations when we try to preload stylesheets and never receive a `load`/`error` event on the `link` tag + - Export proper `ErrorResponse` type for usage alongside `isRouteErrorResponse` ([#7244](https://github.com/remix-run/remix/pull/7244)) + - Use the hostname from `REMIX_DEV_ORIGIN` to connect to the live reload socket ([#6923](https://github.com/remix-run/remix/pull/6923)) + - Use unique key for `script:ld+json` meta descriptors ([#6954](https://github.com/remix-run/remix/pull/6954)) + - Fix live reload port when set explicitly as a prop ([#7358](https://github.com/remix-run/remix/pull/7358)) + - Fix types for `useLoaderData` when using Yarn PnP ([#7137](https://github.com/remix-run/remix/pull/7137)) + - Updated dependencies: - `@remix-run/server-runtime@2.0.0` - [`react-router-dom@6.16.0`](https://github.com/remix-run/react-router/releases/tag/react-router%406.16.0) diff --git a/packages/remix-react/package.json b/packages/remix-react/package.json index ed8d19ea458..d430cc08a0f 100644 --- a/packages/remix-react/package.json +++ b/packages/remix-react/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/react", - "version": "2.0.1-pre.0", + "version": "2.0.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.9.0", - "@remix-run/server-runtime": "2.0.1-pre.0", + "@remix-run/server-runtime": "2.0.1", "react-router-dom": "6.16.0" }, "devDependencies": { diff --git a/packages/remix-serve/CHANGELOG.md b/packages/remix-serve/CHANGELOG.md index 52a6f79c2d6..9bf73473b7d 100644 --- a/packages/remix-serve/CHANGELOG.md +++ b/packages/remix-serve/CHANGELOG.md @@ -1,36 +1,41 @@ # `@remix-run/serve` -## 2.0.1-pre.0 +## 2.0.1 ### Patch Changes - Fix HMR for CJS projects using `remix-serve` and manual mode (`remix dev --manual`) ([#7487](https://github.com/remix-run/remix/pull/7487)) - - By explicitly busting the `require` cache, `remix-serve` now correctly reimports new server changes in CJS. - ESM projects were already working correctly and are not affected by this. - + - By explicitly busting the `require` cache, `remix-serve` now correctly re-imports new server changes in CJS + - ESM projects were already working correctly and are not affected by this. - Fix error caused by partially written server build ([#7470](https://github.com/remix-run/remix/pull/7470)) - - Previously, it was possible to trigger a reimport of the app server code before the new server build had completely been written. Reimporting the partially written server build caused issues related to `build.assets` being undefined and crashing when reading `build.assets.version`. - + - Previously, it was possible to trigger a reimport of the app server code before the new server build had completely been written. Reimporting the partially written server build caused issues related to `build.assets` being undefined and crashing when reading `build.assets.version` - Updated dependencies: - - `@remix-run/node@2.0.1-pre.0` - - `@remix-run/express@2.0.1-pre.0` + - `@remix-run/node@2.0.1` + - `@remix-run/express@2.0.1` ## 2.0.0 ### Major Changes - `remix-serve` now picks an open port if 3000 is taken ([#7278](https://github.com/remix-run/remix/pull/7278)) + - If `PORT` env var is set, `remix-serve` will use that port - Otherwise, `remix-serve` picks an open port (3000 unless that is already taken) + - Integrate manual mode in `remix-serve` ([#7231](https://github.com/remix-run/remix/pull/7231)) + - Remove undocumented `createApp` Node API ([#7229](https://github.com/remix-run/remix/pull/7229)) + - `remix-serve` is a CLI, not a library + - Require Node >=18.0.0 ([#6939](https://github.com/remix-run/remix/pull/6939)) + - Promote the `future.v2_dev` flag in `remix.config.js` to a root level `dev` config ([#7002](https://github.com/remix-run/remix/pull/7002)) + - Default to `serverModuleFormat: "esm"` and update `remix-serve` to use dynamic import to support ESM and CJS build outputs ([#6949](https://github.com/remix-run/remix/pull/6949)) + - Preserve dynamic imports in `remix-serve` for external bundle ([#7173](https://github.com/remix-run/remix/pull/7173)) + - For preparation of using Node's built in fetch implementation, installing the fetch globals is now a responsibility of the app server ([#7009](https://github.com/remix-run/remix/pull/7009)) - If you are using `remix-serve`, nothing is required diff --git a/packages/remix-serve/package.json b/packages/remix-serve/package.json index 9091562a7e5..d7bbb05dadc 100644 --- a/packages/remix-serve/package.json +++ b/packages/remix-serve/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/serve", - "version": "2.0.1-pre.0", + "version": "2.0.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.0.1-pre.0", - "@remix-run/node": "2.0.1-pre.0", + "@remix-run/express": "2.0.1", + "@remix-run/node": "2.0.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 195d959f09e..a702f1e2a9f 100644 --- a/packages/remix-server-runtime/CHANGELOG.md +++ b/packages/remix-server-runtime/CHANGELOG.md @@ -1,6 +1,8 @@ # `@remix-run/server-runtime` -## 2.0.1-pre.0 +## 2.0.1 + +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.0.1) for an overview of all changes in v2.0.1. ## 2.0.0 diff --git a/packages/remix-server-runtime/package.json b/packages/remix-server-runtime/package.json index aa543ffc3f6..9dff84ea853 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.0.1-pre.0", + "version": "2.0.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 1c267e31621..2a34969f032 100644 --- a/packages/remix-testing/CHANGELOG.md +++ b/packages/remix-testing/CHANGELOG.md @@ -1,12 +1,12 @@ # `@remix-run/testing` -## 2.0.1-pre.0 +## 2.0.1 ### Patch Changes - Updated dependencies: - - `@remix-run/react@2.0.1-pre.0` - - `@remix-run/node@2.0.1-pre.0` + - `@remix-run/react@2.0.1` + - `@remix-run/node@2.0.1` ## 2.0.0 diff --git a/packages/remix-testing/package.json b/packages/remix-testing/package.json index 37d3da47b05..505dd244b63 100644 --- a/packages/remix-testing/package.json +++ b/packages/remix-testing/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/testing", - "version": "2.0.1-pre.0", + "version": "2.0.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.0.1-pre.0", - "@remix-run/react": "2.0.1-pre.0", + "@remix-run/node": "2.0.1", + "@remix-run/react": "2.0.1", "@remix-run/router": "1.9.0", "react-router-dom": "6.16.0" }, diff --git a/packages/remix/package.json b/packages/remix/package.json index 1c9b8824b01..867778d26ed 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -1,6 +1,6 @@ { "name": "remix", - "version": "2.0.1-pre.0", + "version": "2.0.1", "description": "A framework for building better websites", "homepage": "https://remix.run", "bugs": {