diff --git a/.changeset/angry-dingos-buy.md b/.changeset/angry-dingos-buy.md deleted file mode 100644 index 8f9df1f5c57..00000000000 --- a/.changeset/angry-dingos-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Upgrade Vite peer dependency range to v5 diff --git a/.changeset/blue-guests-raise.md b/.changeset/blue-guests-raise.md deleted file mode 100644 index ad2b1441581..00000000000 --- a/.changeset/blue-guests-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Support HMR for routes with `handle` export in Vite dev diff --git a/.changeset/breezy-guests-repair.md b/.changeset/breezy-guests-repair.md deleted file mode 100644 index 627feb380bb..00000000000 --- a/.changeset/breezy-guests-repair.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@remix-run/dev": patch -"@remix-run/server-runtime": patch ---- - -Fix flash of unstyled content for non-Express custom servers in Vite dev diff --git a/.changeset/brown-hotels-rush.md b/.changeset/brown-hotels-rush.md deleted file mode 100644 index 5a898777775..00000000000 --- a/.changeset/brown-hotels-rush.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Bundle CSS imported in client entry file in Vite plugin diff --git a/.changeset/chatty-shrimps-sell.md b/.changeset/chatty-shrimps-sell.md deleted file mode 100644 index 6a6f7ba3664..00000000000 --- a/.changeset/chatty-shrimps-sell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": minor ---- - -Vite: exclude modules within `.server` directories from client build diff --git a/.changeset/clean-boats-deliver.md b/.changeset/clean-boats-deliver.md deleted file mode 100644 index 732810c8b1a..00000000000 --- a/.changeset/clean-boats-deliver.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -[REMOVE] Enhance inferred types to avoid deserialization for client data functions diff --git a/.changeset/client-data.md b/.changeset/client-data.md deleted file mode 100644 index 8364f16dafc..00000000000 --- a/.changeset/client-data.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -"@remix-run/dev": minor -"@remix-run/react": minor -"@remix-run/server-runtime": minor -"@remix-run/testing": minor ---- - -Add support for `clientLoader`/`clientAction`/`HydrateFallback` route exports ([RFC](https://github.com/remix-run/remix/discussions/7634)). - -Remix now supports loaders/actions that run on the client (in addition to, or instead of the loader/action that runs on the server). While we still recommend server loaders/actions for the majority of your data needs in a Remix app - these provide some levers you can pull for more advanced use-cases such as: - -- Leveraging a data source local to the browser (i.e., `localStorage`) -- Managing a client-side cache of server data (like `IndexedDB`) -- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser -- Migrating a React Router SPA to a Remix application - -By default, `clientLoader` will not run on hydration, and will only run on subsequent client side navigations. - -If you wish to run your client loader on hydration, you can set `clientLoader.hydrate=true` to force Remix to execute it on initial page load. Keep in mind that Remix will still SSR your route component so you should ensure that there is no new _required_ data being added by your `clientLoader`. - -If your `clientLoader` needs to run on hydration and adds data you require to render the route component, you can export a `HydrateFallback` component that will render during SSR, and then your route component will not render until the `clientLoader` has executed on hydration. - -`clientAction` is simpler than `clientLoader` because it has no hydration use-cases. `clientAction` will only run on client-side navigations. - -For more information, please refer to the [`clientLoader`](https://remix.run/route/client-loader) and [`clientAction`](https://remix.run/route/client-action) documentation. diff --git a/.changeset/data-function-args.md b/.changeset/data-function-args.md deleted file mode 100644 index d18d0c404af..00000000000 --- a/.changeset/data-function-args.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@remix-run/cloudflare": minor -"@remix-run/deno": minor -"@remix-run/node": minor -"@remix-run/server-runtime": minor ---- - -Deprecate `DataFunctionArgs` in favor of `LoaderFunctionArgs`/`ActionFunctionArgs`. This is aimed at keeping the types aligned across server/client loaders/actions now that `clientLoader`/`clientActon` functions have `serverLoader`/`serverAction` parameters which differentiate `ClientLoaderFunctionArgs`/`ClientActionFunctionArgs`. diff --git a/.changeset/dull-numbers-fry.md b/.changeset/dull-numbers-fry.md deleted file mode 100644 index 8adf8152fb4..00000000000 --- a/.changeset/dull-numbers-fry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/node": patch ---- - -Update to `@remix-run/web-fetch@4.4.2` diff --git a/.changeset/fast-cars-poke.md b/.changeset/fast-cars-poke.md deleted file mode 100644 index e4df8a1e34b..00000000000 --- a/.changeset/fast-cars-poke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/node": patch ---- - -Bump `@remix-run/web-fetch` dependency diff --git a/.changeset/fast-needles-sort.md b/.changeset/fast-needles-sort.md deleted file mode 100644 index 979b2ecb290..00000000000 --- a/.changeset/fast-needles-sort.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Change Vite build output paths to fix a conflict between how Vite and the Remix compiler each manage the `public` directory. - -**This is a breaking change for projects using the unstable Vite plugin.** - -The server is now compiled into `build/server` rather than `build`, and the client is now compiled into `build/client` rather than `public`. - -For more information on the changes and guidance on how to migrate your project, refer to the updated [Remix Vite documentation](https://remix.run/docs/en/main/future/vite). diff --git a/.changeset/few-forks-behave.md b/.changeset/few-forks-behave.md deleted file mode 100644 index a2d02abf267..00000000000 --- a/.changeset/few-forks-behave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Remove undocumented `legacyCssImports` option from Vite plugin due to issues with `?url` imports of CSS files not being processed correctly in Vite diff --git a/.changeset/green-balloons-promise.md b/.changeset/green-balloons-promise.md deleted file mode 100644 index abc4ef636b7..00000000000 --- a/.changeset/green-balloons-promise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Vite: fix access to default `entry.{client,server}.tsx` within pnpm workspace on Windows diff --git a/.changeset/grumpy-cats-roll.md b/.changeset/grumpy-cats-roll.md deleted file mode 100644 index 28e1cf06b84..00000000000 --- a/.changeset/grumpy-cats-roll.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@remix-run/dev": minor ---- - -Vite: Strict route exports - -With Vite, Remix gets stricter about which exports are allowed from your route modules. -Previously, the Remix compiler would allow any export from routes. -While this was convenient, it was also a common source of bugs that were hard to track down because they only surfaced at runtime. - -For more, see https://remix.run/docs/en/main/future/vite#strict-route-exports diff --git a/.changeset/hungry-buckets-repair.md b/.changeset/hungry-buckets-repair.md deleted file mode 100644 index 2571209cdd9..00000000000 --- a/.changeset/hungry-buckets-repair.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Remove `unstable_createViteServer` and `unstable_loadViteServerBuild` which were only minimal wrappers around Vite's `createServer` and `ssrLoadModule` functions when using a custom server. - -**This is a breaking change for projects using the unstable Vite plugin with a custom server.** - -Instead, we now provide `unstable_viteServerBuildModuleId` so that custom servers interact with Vite directly rather than via Remix APIs, for example: - -```diff --import { -- unstable_createViteServer, -- unstable_loadViteServerBuild, --} from "@remix-run/dev"; -+import { unstable_viteServerBuildModuleId } from "@remix-run/dev"; -``` - -Creating the Vite server in middleware mode: - -```diff -const vite = - process.env.NODE_ENV === "production" - ? undefined -- : await unstable_createViteServer(); -+ : await import("vite").then(({ createServer }) => -+ createServer({ -+ server: { -+ middlewareMode: true, -+ }, -+ }) -+ ); -``` - -Loading the Vite server build in the request handler: - -```diff -app.all( - "*", - createRequestHandler({ - build: vite -- ? () => unstable_loadViteServerBuild(vite) -+ ? () => vite.ssrLoadModule(unstable_viteServerBuildModuleId) - : await import("./build/server/index.js"), - }) -); -``` diff --git a/.changeset/kind-radios-know.md b/.changeset/kind-radios-know.md deleted file mode 100644 index f7f23467406..00000000000 --- a/.changeset/kind-radios-know.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -[Remove] Bump router diff --git a/.changeset/mean-falcons-love.md b/.changeset/mean-falcons-love.md deleted file mode 100644 index 43b1742b591..00000000000 --- a/.changeset/mean-falcons-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -[REMOVE] Fix a few edge cases with client data (throw if server handler doesnt exist, and only return initialData on first loader call) diff --git a/.changeset/mean-knives-beam.md b/.changeset/mean-knives-beam.md deleted file mode 100644 index 461c0e72ddf..00000000000 --- a/.changeset/mean-knives-beam.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@remix-run/dev": patch -"@remix-run/server-runtime": patch ---- - -Pass request handler errors to `vite.ssrFixStacktrace` in Vite dev to ensure stack traces correctly map to the original source code diff --git a/.changeset/metal-dragons-wink.md b/.changeset/metal-dragons-wink.md deleted file mode 100644 index 71d2ff7ea10..00000000000 --- a/.changeset/metal-dragons-wink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -[REMOVE] Lock into stable router version diff --git a/.changeset/pink-pumpkins-clean.md b/.changeset/pink-pumpkins-clean.md deleted file mode 100644 index 1b2789d2a91..00000000000 --- a/.changeset/pink-pumpkins-clean.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -[REMOVE] Minor client data updates diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index d7300330ecf..00000000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "mode": "exit", - "tag": "pre", - "initialVersions": { - "integration-tests": "0.0.0", - "create-remix": "2.3.1", - "remix": "2.3.1", - "@remix-run/architect": "2.3.1", - "@remix-run/cloudflare": "2.3.1", - "@remix-run/cloudflare-pages": "2.3.1", - "@remix-run/cloudflare-workers": "2.3.1", - "@remix-run/css-bundle": "2.3.1", - "@remix-run/deno": "2.3.1", - "@remix-run/dev": "2.3.1", - "@remix-run/eslint-config": "2.3.1", - "@remix-run/express": "2.3.1", - "@remix-run/node": "2.3.1", - "@remix-run/react": "2.3.1", - "@remix-run/serve": "2.3.1", - "@remix-run/server-runtime": "2.3.1", - "@remix-run/testing": "2.3.1" - }, - "changesets": [ - "angry-dingos-buy", - "blue-guests-raise", - "breezy-guests-repair", - "brown-hotels-rush", - "chatty-shrimps-sell", - "clean-boats-deliver", - "client-data", - "data-function-args", - "dull-numbers-fry", - "fast-cars-poke", - "fast-needles-sort", - "few-forks-behave", - "green-balloons-promise", - "grumpy-cats-roll", - "hungry-buckets-repair", - "kind-radios-know", - "mean-falcons-love", - "mean-knives-beam", - "metal-dragons-wink", - "pink-pumpkins-clean", - "pretty-eagles-brush", - "pretty-ravens-brush", - "relative-splat-path", - "rude-keys-heal", - "shiny-timers-bake", - "short-mayflies-stare", - "short-phones-admire", - "sour-stingrays-roll", - "tidy-timers-share", - "wise-pumas-thank", - "witty-gifts-glow" - ] -} diff --git a/.changeset/pretty-eagles-brush.md b/.changeset/pretty-eagles-brush.md deleted file mode 100644 index f7f23467406..00000000000 --- a/.changeset/pretty-eagles-brush.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -[Remove] Bump router diff --git a/.changeset/pretty-ravens-brush.md b/.changeset/pretty-ravens-brush.md deleted file mode 100644 index f7f23467406..00000000000 --- a/.changeset/pretty-ravens-brush.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -[Remove] Bump router diff --git a/.changeset/relative-splat-path.md b/.changeset/relative-splat-path.md deleted file mode 100644 index 711a5811339..00000000000 --- a/.changeset/relative-splat-path.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@remix-run/dev": minor -"@remix-run/react": minor -"@remix-run/server-runtime": minor -"@remix-run/testing": minor ---- - -Add a new `future.v3_relativeSplatPath` flag to implement a breaking bug fix to relative routing when inside a splat route. For more information, please see the React Router [`6.21.0` Release Notes](https://github.com/remix-run/react-router/blob/release-next/CHANGELOG.md#futurev7_relativesplatpath) and the [`useResolvedPath` docs](https://remix.run/hooks/use-resolved-path#splat-paths). diff --git a/.changeset/rude-keys-heal.md b/.changeset/rude-keys-heal.md deleted file mode 100644 index 7b54c69e2a9..00000000000 --- a/.changeset/rude-keys-heal.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Vite: Preserve names for exports from .client imports - -Unlike `.server` modules, the main idea is not to prevent code from leaking into the server build -since the client build is already public. Rather, the goal is to isolate the SSR render from client-only code. -Routes need to import code from `.client` modules without compilation failing and then rely on runtime checks -to determine if the code is running on the server or client. - -Replacing `.client` modules with empty modules would cause the build to fail as ESM named imports are statically analyzed. -So instead, we preserve the named export but replace each exported value with an empty object. -That way, the import is valid at build time and the standard runtime checks can be used to determine if then -code is running on the server or client. diff --git a/.changeset/shiny-timers-bake.md b/.changeset/shiny-timers-bake.md deleted file mode 100644 index 9c815ee3251..00000000000 --- a/.changeset/shiny-timers-bake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Add `@remix-run/node` to Vite's `optimizeDeps.include` array diff --git a/.changeset/short-mayflies-stare.md b/.changeset/short-mayflies-stare.md deleted file mode 100644 index 2da4600d147..00000000000 --- a/.changeset/short-mayflies-stare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/server-runtime": patch ---- - -[REMOVE] Add missing `hasClientAction`/`hasClientLoader` to `EntryRoute` type diff --git a/.changeset/short-phones-admire.md b/.changeset/short-phones-admire.md deleted file mode 100644 index 87af35f70a1..00000000000 --- a/.changeset/short-phones-admire.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Improve Vite plugin performance - -- Parallelize detection of route module exports -- Disable `server.preTransformRequests` in Vite child compiler since it's only used to process route modules diff --git a/.changeset/sour-stingrays-roll.md b/.changeset/sour-stingrays-roll.md deleted file mode 100644 index ebe7c9be607..00000000000 --- a/.changeset/sour-stingrays-roll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/serve": patch ---- - -Fix source map loading when file has `?t=timestamp` suffix (rebuilds) diff --git a/.changeset/tidy-timers-share.md b/.changeset/tidy-timers-share.md deleted file mode 100644 index 44dc9ecf721..00000000000 --- a/.changeset/tidy-timers-share.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Remove automatic global Node polyfill installation from the built-in Vite dev server and instead allow explicit opt-in. - -**This is a breaking change for projects using the unstable Vite plugin without a custom server.** - -If you're not using a custom server, you should call `installGlobals` in your Vite config instead. - -```diff -import { unstable_vitePlugin as remix } from "@remix-run/dev"; -+import { installGlobals } from "@remix-run/node"; -import { defineConfig } from "vite"; - -+installGlobals(); - -export default defineConfig({ - plugins: [remix()], -}); -``` diff --git a/.changeset/wise-pumas-thank.md b/.changeset/wise-pumas-thank.md deleted file mode 100644 index ea670839485..00000000000 --- a/.changeset/wise-pumas-thank.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Vite: Errors at build-time when client imports .server default export - -Remix already stripped .server file code before ensuring that server code never makes it into the client. -That results in errors when client code tries to import server code, which is exactly what we want! -But those errors were happening at runtime for default imports. -A better experience is to have those errors happen at build-time so that you guarantee that your users won't hit them. diff --git a/.changeset/witty-gifts-glow.md b/.changeset/witty-gifts-glow.md deleted file mode 100644 index cc38f656043..00000000000 --- a/.changeset/witty-gifts-glow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Fix `request instanceof Request` checks when using Vite dev server diff --git a/CHANGELOG.md b/CHANGELOG.md index 00ed84c48f4..40900cfc0b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -211,14 +211,12 @@ Remix now enforces strict route exports, and will will throw an error if you hav - `@remix-run/dev`: Pass request handler errors to `vite.ssrFixStacktrace` in Vite dev to ensure stack traces correctly map to the original source code ([#8066](https://github.com/remix-run/remix/pull/8066)) - `@remix-run/dev`: Vite: Preserve names for exports from `.client` imports ([#8200](https://github.com/remix-run/remix/pull/8200)) - - Unlike `.server` modules, the main idea is not to prevent code from leaking into the server build - since the client build is already public. Rather, the goal is to isolate the SSR render from client-only code. - Routes need to import code from `.client` modules without compilation failing and then rely on runtime checks - to determine if the code is running on the server or client - - Replacing `.client` modules with empty modules would cause the build to fail as ESM named imports are statically analyzed. - So instead, we preserve the named export but replace each exported value with an empty object. - That way, the import is valid at build time and the standard runtime checks can be used to determine if then - code is running on the server or client + - Unlike `.server` modules, the main idea is not to prevent code from leaking into the server build since the client build is already public + - Rather, the goal is to isolate the SSR render from client-only code + - Routes need to import code from `.client` modules without compilation failing and then rely on runtime checks to determine if the code is running on the server or client + - Replacing `.client` modules with empty modules would cause the build to fail as ESM named imports are statically analyzed + - So instead, we preserve the named export but replace each exported value with an empty object + - That way, the import is valid at build time and the standard runtime checks can be used to determine if then code is running on the server or client - `@remix-run/dev`: Add `@remix-run/node` to Vite's `optimizeDeps.include` array ([#8177](https://github.com/remix-run/remix/pull/8177)) - `@remix-run/dev`: Improve Vite plugin performance ([#8121](https://github.com/remix-run/remix/pull/8121)) - Parallelize detection of route module exports @@ -241,10 +239,10 @@ Remix now enforces strict route exports, and will will throw an error if you hav ``` - `@remix-run/dev`: Vite: Errors at build-time when client imports .server default export ([#8184](https://github.com/remix-run/remix/pull/8184)) - - Remix already stripped .server file code before ensuring that server code never makes it into the client. + - Remix already stripped .server file code before ensuring that server code never makes it into the client - That results in errors when client code tries to import server code, which is exactly what we want! - - But those errors were happening at runtime for default imports. - - A better experience is to have those errors happen at build-time so that you guarantee that your users won't hit them. + - But those errors were happening at runtime for default imports + - A better experience is to have those errors happen at build-time so that you guarantee that your users won't hit them - `@remix-run/dev`: Fix `request instanceof Request` checks when using Vite dev server ([#8062](https://github.com/remix-run/remix/pull/8062)) ### Updated Dependencies @@ -271,7 +269,7 @@ Remix now enforces strict route exports, and will will throw an error if you hav - [`@remix-run/server-runtime`](https://github.com/remix-run/remix/blob/remix%402.4.0/packages/remix-server-runtime/CHANGELOG.md#240) - [`@remix-run/testing`](https://github.com/remix-run/remix/blob/remix%402.4.0/packages/remix-testing/CHANGELOG.md#240) -**Full Changelog**: [`v2.3.Y...v2.4.0`](https://github.com/remix-run/remix/compare/remix@2.3.1...remix@2.4.0) +**Full Changelog**: [`v2.3.1...v2.4.0`](https://github.com/remix-run/remix/compare/remix@2.3.1...remix@2.4.0) ## v2.3.1 diff --git a/packages/create-remix/CHANGELOG.md b/packages/create-remix/CHANGELOG.md index ad4bb846f87..9679e18c48a 100644 --- a/packages/create-remix/CHANGELOG.md +++ b/packages/create-remix/CHANGELOG.md @@ -1,26 +1,8 @@ # `create-remix` -## 2.4.0-pre.10 +## 2.4.0 -## 2.4.0-pre.9 - -## 2.4.0-pre.8 - -## 2.4.0-pre.7 - -## 2.4.0-pre.6 - -## 2.4.0-pre.5 - -## 2.4.0-pre.4 - -## 2.4.0-pre.3 - -## 2.4.0-pre.2 - -## 2.4.0-pre.1 - -## 2.4.0-pre.0 +No significant changes to this package were made in this release. [See the repo `CHANGELOG.md`](https://github.com/remix-run/remix/blob/main/CHANGELOG.md) for an overview of all changes in v2.4.0. ## 2.3.1 diff --git a/packages/create-remix/package.json b/packages/create-remix/package.json index cd5e0401f0b..10505f959e6 100644 --- a/packages/create-remix/package.json +++ b/packages/create-remix/package.json @@ -1,6 +1,6 @@ { "name": "create-remix", - "version": "2.4.0-pre.10", + "version": "2.4.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 dc3471dfd5e..d07bb1760cd 100644 --- a/packages/remix-architect/CHANGELOG.md +++ b/packages/remix-architect/CHANGELOG.md @@ -1,81 +1,11 @@ # `@remix-run/architect` -## 2.4.0-pre.10 +## 2.4.0 ### Patch Changes - Updated dependencies: - - `@remix-run/node@2.4.0-pre.10` - -## 2.4.0-pre.9 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.9` - -## 2.4.0-pre.8 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.8` - -## 2.4.0-pre.7 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.7` - -## 2.4.0-pre.6 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.6` - -## 2.4.0-pre.5 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.5` - -## 2.4.0-pre.4 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.4` - -## 2.4.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.3` - -## 2.4.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.2` - -## 2.4.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.1` - -## 2.4.0-pre.0 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.0` + - `@remix-run/node@2.4.0` ## 2.3.1 diff --git a/packages/remix-architect/package.json b/packages/remix-architect/package.json index 05606d3324b..aa521c97692 100644 --- a/packages/remix-architect/package.json +++ b/packages/remix-architect/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/architect", - "version": "2.4.0-pre.10", + "version": "2.4.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.4.0-pre.10", + "@remix-run/node": "2.4.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 28839cdf8b7..f95c0bfbf22 100644 --- a/packages/remix-cloudflare-pages/CHANGELOG.md +++ b/packages/remix-cloudflare-pages/CHANGELOG.md @@ -1,81 +1,11 @@ # `@remix-run/cloudflare-pages` -## 2.4.0-pre.10 +## 2.4.0 ### Patch Changes - Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.10` - -## 2.4.0-pre.9 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.9` - -## 2.4.0-pre.8 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.8` - -## 2.4.0-pre.7 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.7` - -## 2.4.0-pre.6 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.6` - -## 2.4.0-pre.5 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.5` - -## 2.4.0-pre.4 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.4` - -## 2.4.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.3` - -## 2.4.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.2` - -## 2.4.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.1` - -## 2.4.0-pre.0 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.0` + - `@remix-run/cloudflare@2.4.0` ## 2.3.1 diff --git a/packages/remix-cloudflare-pages/package.json b/packages/remix-cloudflare-pages/package.json index b3b47c29b2c..65dfeee446a 100644 --- a/packages/remix-cloudflare-pages/package.json +++ b/packages/remix-cloudflare-pages/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/cloudflare-pages", - "version": "2.4.0-pre.10", + "version": "2.4.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.4.0-pre.10" + "@remix-run/cloudflare": "2.4.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 102e2332308..aab71de08e7 100644 --- a/packages/remix-cloudflare-workers/CHANGELOG.md +++ b/packages/remix-cloudflare-workers/CHANGELOG.md @@ -1,81 +1,11 @@ # `@remix-run/cloudflare-workers` -## 2.4.0-pre.10 +## 2.4.0 ### Patch Changes - Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.10` - -## 2.4.0-pre.9 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.9` - -## 2.4.0-pre.8 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.8` - -## 2.4.0-pre.7 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.7` - -## 2.4.0-pre.6 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.6` - -## 2.4.0-pre.5 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.5` - -## 2.4.0-pre.4 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.4` - -## 2.4.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.3` - -## 2.4.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.2` - -## 2.4.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.1` - -## 2.4.0-pre.0 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/cloudflare@2.4.0-pre.0` + - `@remix-run/cloudflare@2.4.0` ## 2.3.1 diff --git a/packages/remix-cloudflare-workers/package.json b/packages/remix-cloudflare-workers/package.json index 28e6cdb78f4..4507f938753 100644 --- a/packages/remix-cloudflare-workers/package.json +++ b/packages/remix-cloudflare-workers/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/cloudflare-workers", - "version": "2.4.0-pre.10", + "version": "2.4.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.4.0-pre.10" + "@remix-run/cloudflare": "2.4.0" }, "devDependencies": { "@cloudflare/workers-types": "^4.20230518.0", diff --git a/packages/remix-cloudflare/CHANGELOG.md b/packages/remix-cloudflare/CHANGELOG.md index 856a41296b1..626df1cc6c5 100644 --- a/packages/remix-cloudflare/CHANGELOG.md +++ b/packages/remix-cloudflare/CHANGELOG.md @@ -1,85 +1,16 @@ # `@remix-run/cloudflare` -## 2.4.0-pre.10 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.10` - -## 2.4.0-pre.9 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.9` - -## 2.4.0-pre.8 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.8` - -## 2.4.0-pre.7 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.7` - -## 2.4.0-pre.6 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.6` - -## 2.4.0-pre.5 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.5` - -## 2.4.0-pre.4 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.4` - -## 2.4.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.3` - -## 2.4.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.2` - -## 2.4.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.1` - -## 2.4.0-pre.0 +## 2.4.0 ### Minor Changes -- Deprecate `DataFunctionArgs` in favor of `LoaderFunctionArgs`/`ActionFunctionArgs`. This is aimed at keeping the types aligned across server/client loaders/actions now that `clientLoader`/`clientActon` functions have `serverLoader`/`serverAction` parameters which differentiate `ClientLoaderFunctionArgs`/`ClientActionFunctionArgs`. ([#8173](https://github.com/remix-run/remix/pull/8173)) +- Deprecate `DataFunctionArgs` in favor of `LoaderFunctionArgs`/`ActionFunctionArgs` ([#8173](https://github.com/remix-run/remix/pull/8173)) + - This is aimed at keeping the types aligned across server/client loaders/actions now that `clientLoader`/`clientActon` functions have `serverLoader`/`serverAction` parameters which differentiate `ClientLoaderFunctionArgs`/`ClientActionFunctionArgs` ### Patch Changes - Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.0` + - `@remix-run/server-runtime@2.4.0` ## 2.3.1 diff --git a/packages/remix-cloudflare/package.json b/packages/remix-cloudflare/package.json index 0f615f0733b..1b54580120c 100644 --- a/packages/remix-cloudflare/package.json +++ b/packages/remix-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/cloudflare", - "version": "2.4.0-pre.10", + "version": "2.4.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.4.0-pre.10" + "@remix-run/server-runtime": "2.4.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 53479a95f94..5296007aebd 100644 --- a/packages/remix-css-bundle/CHANGELOG.md +++ b/packages/remix-css-bundle/CHANGELOG.md @@ -1,26 +1,8 @@ # @remix-run/css-bundle -## 2.4.0-pre.10 +## 2.4.0 -## 2.4.0-pre.9 - -## 2.4.0-pre.8 - -## 2.4.0-pre.7 - -## 2.4.0-pre.6 - -## 2.4.0-pre.5 - -## 2.4.0-pre.4 - -## 2.4.0-pre.3 - -## 2.4.0-pre.2 - -## 2.4.0-pre.1 - -## 2.4.0-pre.0 +No significant changes to this package were made in this release. [See the repo `CHANGELOG.md`](https://github.com/remix-run/remix/blob/main/CHANGELOG.md) for an overview of all changes in v2.4.0. ## 2.3.1 diff --git a/packages/remix-css-bundle/package.json b/packages/remix-css-bundle/package.json index 9ff6144c07e..42d693f3ca9 100644 --- a/packages/remix-css-bundle/package.json +++ b/packages/remix-css-bundle/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/css-bundle", - "version": "2.4.0-pre.10", + "version": "2.4.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 2912d8f41b5..8c8055a3aa7 100644 --- a/packages/remix-deno/CHANGELOG.md +++ b/packages/remix-deno/CHANGELOG.md @@ -1,85 +1,16 @@ # `@remix-run/deno` -## 2.4.0-pre.10 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.10` - -## 2.4.0-pre.9 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.9` - -## 2.4.0-pre.8 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.8` - -## 2.4.0-pre.7 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.7` - -## 2.4.0-pre.6 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.6` - -## 2.4.0-pre.5 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.5` - -## 2.4.0-pre.4 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.4` - -## 2.4.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.3` - -## 2.4.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.2` - -## 2.4.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.1` - -## 2.4.0-pre.0 +## 2.4.0 ### Minor Changes -- Deprecate `DataFunctionArgs` in favor of `LoaderFunctionArgs`/`ActionFunctionArgs`. This is aimed at keeping the types aligned across server/client loaders/actions now that `clientLoader`/`clientActon` functions have `serverLoader`/`serverAction` parameters which differentiate `ClientLoaderFunctionArgs`/`ClientActionFunctionArgs`. ([#8173](https://github.com/remix-run/remix/pull/8173)) +- Deprecate `DataFunctionArgs` in favor of `LoaderFunctionArgs`/`ActionFunctionArgs` ([#8173](https://github.com/remix-run/remix/pull/8173)) + - This is aimed at keeping the types aligned across server/client loaders/actions now that `clientLoader`/`clientActon` functions have `serverLoader`/`serverAction` parameters which differentiate `ClientLoaderFunctionArgs`/`ClientActionFunctionArgs` ### Patch Changes - Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.0` + - `@remix-run/server-runtime@2.4.0` ## 2.3.1 diff --git a/packages/remix-deno/package.json b/packages/remix-deno/package.json index ef16a703efa..8e9829d0354 100644 --- a/packages/remix-deno/package.json +++ b/packages/remix-deno/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/deno", - "version": "2.4.0-pre.10", + "version": "2.4.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.4.0-pre.10", + "@remix-run/server-runtime": "2.4.0", "mime": "^3.0.0" }, "peerDependencies": { diff --git a/packages/remix-dev/CHANGELOG.md b/packages/remix-dev/CHANGELOG.md index 518de5bbadf..c0d1981a41c 100644 --- a/packages/remix-dev/CHANGELOG.md +++ b/packages/remix-dev/CHANGELOG.md @@ -1,91 +1,12 @@ # `@remix-run/dev` -## 2.4.0-pre.10 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.10` - - `@remix-run/server-runtime@2.4.0-pre.10` - -## 2.4.0-pre.9 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.9` - - `@remix-run/server-runtime@2.4.0-pre.9` - -## 2.4.0-pre.8 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.8` - - `@remix-run/server-runtime@2.4.0-pre.8` - -## 2.4.0-pre.7 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.7` - - `@remix-run/node@2.4.0-pre.7` - -## 2.4.0-pre.6 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.6` - - `@remix-run/server-runtime@2.4.0-pre.6` - -## 2.4.0-pre.5 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.5` - - `@remix-run/server-runtime@2.4.0-pre.5` - -## 2.4.0-pre.4 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.4` - - `@remix-run/server-runtime@2.4.0-pre.4` - -## 2.4.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.3` - - `@remix-run/server-runtime@2.4.0-pre.3` - -## 2.4.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.2` - - `@remix-run/server-runtime@2.4.0-pre.2` - -## 2.4.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.1` - - `@remix-run/server-runtime@2.4.0-pre.1` - -## 2.4.0-pre.0 +## 2.4.0 ### Minor Changes - Vite: exclude modules within `.server` directories from client build ([#8154](https://github.com/remix-run/remix/pull/8154)) -- Add support for `clientLoader`/`clientAction`/`HydrateFallback` route exports ([RFC](https://github.com/remix-run/remix/discussions/7634)). ([#8173](https://github.com/remix-run/remix/pull/8173)) + +- Add support for `clientLoader`/`clientAction`/`HydrateFallback` route exports ([RFC](https://github.com/remix-run/remix/discussions/7634)) ([#8173](https://github.com/remix-run/remix/pull/8173)) Remix now supports loaders/actions that run on the client (in addition to, or instead of the loader/action that runs on the server). While we still recommend server loaders/actions for the majority of your data needs in a Remix app - these provide some levers you can pull for more advanced use-cases such as: @@ -110,16 +31,20 @@ Previously, the Remix compiler would allow any export from routes. While this was convenient, it was also a common source of bugs that were hard to track down because they only surfaced at runtime. - For more, see https://remix.run/docs/en/main/future/vite#strict-route-exports + For more, see - Add a new `future.v3_relativeSplatPath` flag to implement a breaking bug fix to relative routing when inside a splat route. For more information, please see the React Router [`6.21.0` Release Notes](https://github.com/remix-run/react-router/blob/release-next/CHANGELOG.md#futurev7_relativesplatpath) and the [`useResolvedPath` docs](https://remix.run/hooks/use-resolved-path#splat-paths). ([#8216](https://github.com/remix-run/remix/pull/8216)) ### Patch Changes - Upgrade Vite peer dependency range to v5 ([#8172](https://github.com/remix-run/remix/pull/8172)) + - Support HMR for routes with `handle` export in Vite dev ([#8022](https://github.com/remix-run/remix/pull/8022)) + - Fix flash of unstyled content for non-Express custom servers in Vite dev ([#8076](https://github.com/remix-run/remix/pull/8076)) + - Bundle CSS imported in client entry file in Vite plugin ([#8143](https://github.com/remix-run/remix/pull/8143)) + - Change Vite build output paths to fix a conflict between how Vite and the Remix compiler each manage the `public` directory. ([#8077](https://github.com/remix-run/remix/pull/8077)) **This is a breaking change for projects using the unstable Vite plugin.** @@ -129,7 +54,9 @@ For more information on the changes and guidance on how to migrate your project, refer to the updated [Remix Vite documentation](https://remix.run/docs/en/main/future/vite). - Remove undocumented `legacyCssImports` option from Vite plugin due to issues with `?url` imports of CSS files not being processed correctly in Vite ([#8096](https://github.com/remix-run/remix/pull/8096)) + - Vite: fix access to default `entry.{client,server}.tsx` within pnpm workspace on Windows ([#8057](https://github.com/remix-run/remix/pull/8057)) + - Remove `unstable_createViteServer` and `unstable_loadViteServerBuild` which were only minimal wrappers around Vite's `createServer` and `ssrLoadModule` functions when using a custom server. ([#8120](https://github.com/remix-run/remix/pull/8120)) **This is a breaking change for projects using the unstable Vite plugin with a custom server.** @@ -175,6 +102,7 @@ ``` - Pass request handler errors to `vite.ssrFixStacktrace` in Vite dev to ensure stack traces correctly map to the original source code ([#8066](https://github.com/remix-run/remix/pull/8066)) + - Vite: Preserve names for exports from .client imports ([#8200](https://github.com/remix-run/remix/pull/8200)) Unlike `.server` modules, the main idea is not to prevent code from leaking into the server build @@ -188,6 +116,7 @@ code is running on the server or client. - Add `@remix-run/node` to Vite's `optimizeDeps.include` array ([#8177](https://github.com/remix-run/remix/pull/8177)) + - Improve Vite plugin performance ([#8121](https://github.com/remix-run/remix/pull/8121)) - Parallelize detection of route module exports @@ -219,10 +148,10 @@ A better experience is to have those errors happen at build-time so that you guarantee that your users won't hit them. - Fix `request instanceof Request` checks when using Vite dev server ([#8062](https://github.com/remix-run/remix/pull/8062)) + - Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.0` - - `@remix-run/node@2.4.0-pre.0` - - `@remix-run/serve@2.4.0-pre.0` + - `@remix-run/server-runtime@2.4.0` + - `@remix-run/node@2.4.0` ## 2.3.1 diff --git a/packages/remix-dev/package.json b/packages/remix-dev/package.json index db12c218855..30e4bc5fd11 100644 --- a/packages/remix-dev/package.json +++ b/packages/remix-dev/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/dev", - "version": "2.4.0-pre.10", + "version": "2.4.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.4.0-pre.10", + "@remix-run/node": "2.4.0", "@remix-run/router": "1.14.0", - "@remix-run/server-runtime": "2.4.0-pre.10", + "@remix-run/server-runtime": "2.4.0", "@types/mdx": "^2.0.5", "@vanilla-extract/integration": "^6.2.0", "arg": "^5.0.1", @@ -74,7 +74,7 @@ "ws": "^7.4.5" }, "devDependencies": { - "@remix-run/serve": "2.4.0-pre.10", + "@remix-run/serve": "2.4.0", "@types/cacache": "^17.0.0", "@types/cross-spawn": "^6.0.2", "@types/gunzip-maybe": "^1.4.0", @@ -96,7 +96,7 @@ "vite": "^5.0.0" }, "peerDependencies": { - "@remix-run/serve": "^2.4.0-pre.10", + "@remix-run/serve": "^2.4.0", "typescript": "^5.1.0", "vite": "^5.0.0" }, diff --git a/packages/remix-eslint-config/CHANGELOG.md b/packages/remix-eslint-config/CHANGELOG.md index c39851fecce..87f48935ef5 100644 --- a/packages/remix-eslint-config/CHANGELOG.md +++ b/packages/remix-eslint-config/CHANGELOG.md @@ -1,26 +1,8 @@ # `@remix-run/eslint-config` -## 2.4.0-pre.10 +## 2.4.0 -## 2.4.0-pre.9 - -## 2.4.0-pre.8 - -## 2.4.0-pre.7 - -## 2.4.0-pre.6 - -## 2.4.0-pre.5 - -## 2.4.0-pre.4 - -## 2.4.0-pre.3 - -## 2.4.0-pre.2 - -## 2.4.0-pre.1 - -## 2.4.0-pre.0 +No significant changes to this package were made in this release. [See the repo `CHANGELOG.md`](https://github.com/remix-run/remix/blob/main/CHANGELOG.md) for an overview of all changes in v2.4.0. ## 2.3.1 diff --git a/packages/remix-eslint-config/package.json b/packages/remix-eslint-config/package.json index 28af8f1ccfd..c7d60d8dc6d 100644 --- a/packages/remix-eslint-config/package.json +++ b/packages/remix-eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/eslint-config", - "version": "2.4.0-pre.10", + "version": "2.4.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 f688d9c9345..dbe35462069 100644 --- a/packages/remix-express/CHANGELOG.md +++ b/packages/remix-express/CHANGELOG.md @@ -1,81 +1,11 @@ # `@remix-run/express` -## 2.4.0-pre.10 +## 2.4.0 ### Patch Changes - Updated dependencies: - - `@remix-run/node@2.4.0-pre.10` - -## 2.4.0-pre.9 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.9` - -## 2.4.0-pre.8 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.8` - -## 2.4.0-pre.7 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.7` - -## 2.4.0-pre.6 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.6` - -## 2.4.0-pre.5 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.5` - -## 2.4.0-pre.4 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.4` - -## 2.4.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.3` - -## 2.4.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.2` - -## 2.4.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.1` - -## 2.4.0-pre.0 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.0` + - `@remix-run/node@2.4.0` ## 2.3.1 diff --git a/packages/remix-express/package.json b/packages/remix-express/package.json index b4206e88ffb..4c34569673d 100644 --- a/packages/remix-express/package.json +++ b/packages/remix-express/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/express", - "version": "2.4.0-pre.10", + "version": "2.4.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.4.0-pre.10" + "@remix-run/node": "2.4.0" }, "devDependencies": { "@types/express": "^4.17.9", diff --git a/packages/remix-node/CHANGELOG.md b/packages/remix-node/CHANGELOG.md index f5194e06153..483e5e34d7c 100644 --- a/packages/remix-node/CHANGELOG.md +++ b/packages/remix-node/CHANGELOG.md @@ -1,78 +1,6 @@ # `@remix-run/node` -## 2.4.0-pre.10 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.10` - -## 2.4.0-pre.9 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.9` - -## 2.4.0-pre.8 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.8` - -## 2.4.0-pre.7 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.7` - -## 2.4.0-pre.6 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.6` - -## 2.4.0-pre.5 - -### Patch Changes - -- Update to `@remix-run/web-fetch@4.4.2` ([#8231](https://github.com/remix-run/remix/pull/8231)) -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.5` - -## 2.4.0-pre.4 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.4` - -## 2.4.0-pre.3 - -### Patch Changes - -- Bump `@remix-run/web-fetch` dependency ([#8225](https://github.com/remix-run/remix/pull/8225)) -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.3` - -## 2.4.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.2` - -## 2.4.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.1` - -## 2.4.0-pre.0 +## 2.4.0 ### Minor Changes @@ -80,8 +8,9 @@ ### Patch Changes +- Update to `@remix-run/web-fetch@4.4.2` ([#8231](https://github.com/remix-run/remix/pull/8231)) - Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.0` + - `@remix-run/server-runtime@2.4.0` ## 2.3.1 diff --git a/packages/remix-node/package.json b/packages/remix-node/package.json index bbc1a62bc14..732f57685d2 100644 --- a/packages/remix-node/package.json +++ b/packages/remix-node/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/node", - "version": "2.4.0-pre.10", + "version": "2.4.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.4.0-pre.10", + "@remix-run/server-runtime": "2.4.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 942b9485b3c..01cef4e18f5 100644 --- a/packages/remix-react/CHANGELOG.md +++ b/packages/remix-react/CHANGELOG.md @@ -1,83 +1,6 @@ # `@remix-run/react` -## 2.4.0-pre.10 - -### Patch Changes - -- [REMOVE] Lock into stable router version ([#8277](https://github.com/remix-run/remix/pull/8277)) -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.10` - -## 2.4.0-pre.9 - -### Patch Changes - -- [REMOVE] Enhance inferred types to avoid deserialization for client data functions ([#8269](https://github.com/remix-run/remix/pull/8269)) -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.9` - -## 2.4.0-pre.8 - -### Patch Changes - -- [REMOVE] Fix a few edge cases with client data (throw if server handler doesnt exist, and only return initialData on first loader call) ([#8253](https://github.com/remix-run/remix/pull/8253)) -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.8` - -## 2.4.0-pre.7 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.7` - -## 2.4.0-pre.6 - -### Patch Changes - -- [REMOVE] Minor client data updates ([#8236](https://github.com/remix-run/remix/pull/8236)) -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.6` - -## 2.4.0-pre.5 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.5` - -## 2.4.0-pre.4 - -### Patch Changes - -- [Remove] Bump router ([#8227](https://github.com/remix-run/remix/pull/8227)) -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.4` - -## 2.4.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.3` - -## 2.4.0-pre.2 - -### Patch Changes - -- [Remove] Bump router ([`49a850c20`](https://github.com/remix-run/remix/commit/49a850c2067592a301fdde78c2bad14a88c7e444)) -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.2` - -## 2.4.0-pre.1 - -### Patch Changes - -- [Remove] Bump router ([`b0edb429f`](https://github.com/remix-run/remix/commit/b0edb429ff189300a934b5b9ddebb4af37e6f64e)) -- Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.1` - -## 2.4.0-pre.0 +## 2.4.0 ### Minor Changes @@ -105,7 +28,7 @@ ### Patch Changes - Updated dependencies: - - `@remix-run/server-runtime@2.4.0-pre.0` + - `@remix-run/server-runtime@2.4.0` ## 2.3.1 diff --git a/packages/remix-react/package.json b/packages/remix-react/package.json index be572da7eeb..0e64facefe2 100644 --- a/packages/remix-react/package.json +++ b/packages/remix-react/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/react", - "version": "2.4.0-pre.10", + "version": "2.4.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.14.0", - "@remix-run/server-runtime": "2.4.0-pre.10", + "@remix-run/server-runtime": "2.4.0", "react-router": "6.21.0", "react-router-dom": "6.21.0" }, diff --git a/packages/remix-serve/CHANGELOG.md b/packages/remix-serve/CHANGELOG.md index ccfa4d8256b..cd77d1ee01e 100644 --- a/packages/remix-serve/CHANGELOG.md +++ b/packages/remix-serve/CHANGELOG.md @@ -1,93 +1,13 @@ # `@remix-run/serve` -## 2.4.0-pre.10 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/express@2.4.0-pre.10` - - `@remix-run/node@2.4.0-pre.10` - -## 2.4.0-pre.9 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/express@2.4.0-pre.9` - - `@remix-run/node@2.4.0-pre.9` - -## 2.4.0-pre.8 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/express@2.4.0-pre.8` - - `@remix-run/node@2.4.0-pre.8` - -## 2.4.0-pre.7 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.7` - - `@remix-run/express@2.4.0-pre.7` - -## 2.4.0-pre.6 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/express@2.4.0-pre.6` - - `@remix-run/node@2.4.0-pre.6` - -## 2.4.0-pre.5 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.5` - - `@remix-run/express@2.4.0-pre.5` - -## 2.4.0-pre.4 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/express@2.4.0-pre.4` - - `@remix-run/node@2.4.0-pre.4` - -## 2.4.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.3` - - `@remix-run/express@2.4.0-pre.3` - -## 2.4.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/express@2.4.0-pre.2` - - `@remix-run/node@2.4.0-pre.2` - -## 2.4.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/express@2.4.0-pre.1` - - `@remix-run/node@2.4.0-pre.1` - -## 2.4.0-pre.0 +## 2.4.0 ### Patch Changes - Fix source map loading when file has `?t=timestamp` suffix (rebuilds) ([#8174](https://github.com/remix-run/remix/pull/8174)) - Updated dependencies: - - `@remix-run/node@2.4.0-pre.0` - - `@remix-run/express@2.4.0-pre.0` + - `@remix-run/node@2.4.0` + - `@remix-run/express@2.4.0` ## 2.3.1 diff --git a/packages/remix-serve/package.json b/packages/remix-serve/package.json index 2383e08493b..132af85573a 100644 --- a/packages/remix-serve/package.json +++ b/packages/remix-serve/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/serve", - "version": "2.4.0-pre.10", + "version": "2.4.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.4.0-pre.10", - "@remix-run/node": "2.4.0-pre.10", + "@remix-run/express": "2.4.0", + "@remix-run/node": "2.4.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 1f45431a331..908c1660bce 100644 --- a/packages/remix-server-runtime/CHANGELOG.md +++ b/packages/remix-server-runtime/CHANGELOG.md @@ -1,30 +1,6 @@ # `@remix-run/server-runtime` -## 2.4.0-pre.10 - -## 2.4.0-pre.9 - -## 2.4.0-pre.8 - -## 2.4.0-pre.7 - -### Patch Changes - -- [REMOVE] Add missing `hasClientAction`/`hasClientLoader` to `EntryRoute` type ([#8248](https://github.com/remix-run/remix/pull/8248)) - -## 2.4.0-pre.6 - -## 2.4.0-pre.5 - -## 2.4.0-pre.4 - -## 2.4.0-pre.3 - -## 2.4.0-pre.2 - -## 2.4.0-pre.1 - -## 2.4.0-pre.0 +## 2.4.0 ### Minor Changes @@ -48,6 +24,7 @@ For more information, please refer to the [`clientLoader`](https://remix.run/route/client-loader) and [`clientAction`](https://remix.run/route/client-action) documentation. - Deprecate `DataFunctionArgs` in favor of `LoaderFunctionArgs`/`ActionFunctionArgs`. This is aimed at keeping the types aligned across server/client loaders/actions now that `clientLoader`/`clientActon` functions have `serverLoader`/`serverAction` parameters which differentiate `ClientLoaderFunctionArgs`/`ClientActionFunctionArgs`. ([#8173](https://github.com/remix-run/remix/pull/8173)) + - Add a new `future.v3_relativeSplatPath` flag to implement a breaking bug fix to relative routing when inside a splat route. For more information, please see the React Router [`6.21.0` Release Notes](https://github.com/remix-run/react-router/blob/release-next/CHANGELOG.md#futurev7_relativesplatpath) and the [`useResolvedPath` docs](https://remix.run/hooks/use-resolved-path#splat-paths). ([#8216](https://github.com/remix-run/remix/pull/8216)) ### Patch Changes diff --git a/packages/remix-server-runtime/package.json b/packages/remix-server-runtime/package.json index a93a50e9254..7801ae9809e 100644 --- a/packages/remix-server-runtime/package.json +++ b/packages/remix-server-runtime/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/server-runtime", - "version": "2.4.0-pre.10", + "version": "2.4.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 4afdee51724..fa4b7d26097 100644 --- a/packages/remix-testing/CHANGELOG.md +++ b/packages/remix-testing/CHANGELOG.md @@ -1,115 +1,17 @@ # `@remix-run/testing` -## 2.4.0-pre.10 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/react@2.4.0-pre.10` - - `@remix-run/node@2.4.0-pre.10` - -## 2.4.0-pre.9 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/react@2.4.0-pre.9` - - `@remix-run/node@2.4.0-pre.9` - -## 2.4.0-pre.8 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/react@2.4.0-pre.8` - - `@remix-run/node@2.4.0-pre.8` - -## 2.4.0-pre.7 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.7` - - `@remix-run/react@2.4.0-pre.7` - -## 2.4.0-pre.6 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/react@2.4.0-pre.6` - - `@remix-run/node@2.4.0-pre.6` - -## 2.4.0-pre.5 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.5` - - `@remix-run/react@2.4.0-pre.5` - -## 2.4.0-pre.4 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/react@2.4.0-pre.4` - - `@remix-run/node@2.4.0-pre.4` - -## 2.4.0-pre.3 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/node@2.4.0-pre.3` - - `@remix-run/react@2.4.0-pre.3` - -## 2.4.0-pre.2 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/react@2.4.0-pre.2` - - `@remix-run/node@2.4.0-pre.2` - -## 2.4.0-pre.1 - -### Patch Changes - -- Updated dependencies: - - `@remix-run/react@2.4.0-pre.1` - - `@remix-run/node@2.4.0-pre.1` - -## 2.4.0-pre.0 +## 2.4.0 ### Minor Changes - Add support for `clientLoader`/`clientAction`/`HydrateFallback` route exports ([RFC](https://github.com/remix-run/remix/discussions/7634)). ([#8173](https://github.com/remix-run/remix/pull/8173)) - - Remix now supports loaders/actions that run on the client (in addition to, or instead of the loader/action that runs on the server). While we still recommend server loaders/actions for the majority of your data needs in a Remix app - these provide some levers you can pull for more advanced use-cases such as: - - - Leveraging a data source local to the browser (i.e., `localStorage`) - - Managing a client-side cache of server data (like `IndexedDB`) - - Bypassing the Remix server in a BFF setup and hitting your API directly from the browser - - Migrating a React Router SPA to a Remix application - - By default, `clientLoader` will not run on hydration, and will only run on subsequent client side navigations. - - If you wish to run your client loader on hydration, you can set `clientLoader.hydrate=true` to force Remix to execute it on initial page load. Keep in mind that Remix will still SSR your route component so you should ensure that there is no new _required_ data being added by your `clientLoader`. - - If your `clientLoader` needs to run on hydration and adds data you require to render the route component, you can export a `HydrateFallback` component that will render during SSR, and then your route component will not render until the `clientLoader` has executed on hydration. - - `clientAction` is simpler than `clientLoader` because it has no hydration use-cases. `clientAction` will only run on client-side navigations. - - For more information, please refer to the [`clientLoader`](https://remix.run/route/client-loader) and [`clientAction`](https://remix.run/route/client-action) documentation. - - Add a new `future.v3_relativeSplatPath` flag to implement a breaking bug fix to relative routing when inside a splat route. For more information, please see the React Router [`6.21.0` Release Notes](https://github.com/remix-run/react-router/blob/release-next/CHANGELOG.md#futurev7_relativesplatpath) and the [`useResolvedPath` docs](https://remix.run/hooks/use-resolved-path#splat-paths). ([#8216](https://github.com/remix-run/remix/pull/8216)) ### Patch Changes - Updated dependencies: - - `@remix-run/react@2.4.0-pre.0` - - `@remix-run/node@2.4.0-pre.0` + - `@remix-run/react@2.4.0` + - `@remix-run/node@2.4.0` ## 2.3.1 diff --git a/packages/remix-testing/package.json b/packages/remix-testing/package.json index 198a6f1d11e..740eec8fad6 100644 --- a/packages/remix-testing/package.json +++ b/packages/remix-testing/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/testing", - "version": "2.4.0-pre.10", + "version": "2.4.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.4.0-pre.10", - "@remix-run/react": "2.4.0-pre.10", + "@remix-run/node": "2.4.0", + "@remix-run/react": "2.4.0", "@remix-run/router": "1.14.0", "react-router-dom": "6.21.0" }, diff --git a/packages/remix/package.json b/packages/remix/package.json index 029348d757f..df26cc84aa0 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -1,6 +1,6 @@ { "name": "remix", - "version": "2.4.0-pre.10", + "version": "2.4.0", "description": "A framework for building better websites", "homepage": "https://remix.run", "bugs": {