From 6b6cb513b6b7c2b8be0b2c4e5988ad49204e7afd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 15 Sep 2023 17:50:55 +0000 Subject: [PATCH 1/3] chore: Update version for release --- .changeset/add-error-to-meta.md | 11 - .changeset/align-rr-types.md | 19 -- .changeset/angry-trainers-give.md | 5 - .changeset/beige-pugs-drive.md | 8 - .changeset/brown-flowers-push.md | 5 - .changeset/brown-seals-look.md | 5 - .changeset/chilled-horses-look.md | 8 - .changeset/cool-penguins-film.md | 5 - .changeset/cool-wombats-chew.md | 5 - .changeset/create-remix-folder-names-dot.md | 5 - .changeset/create-remix-overwrite.md | 7 - .changeset/create-remix.md | 8 - .changeset/cuddly-rings-mate.md | 8 - .changeset/curly-moons-cover.md | 9 - .changeset/cyan-cameras-invite.md | 5 - .changeset/decouple-css-bundle-from-dev.md | 8 - .changeset/deduplicate-prefetch-link-tags.md | 5 - .changeset/destory-session-maxage.md | 5 - .changeset/dirty-bags-wink.md | 5 - .changeset/disabled-link-preload.md | 5 - .changeset/early-trains-fold.md | 5 - .changeset/empty-cameras-walk.md | 5 - .changeset/enable-css-features-by-default.md | 16 - .changeset/error-response-type.md | 9 - .changeset/fair-falcons-wink.md | 10 - .changeset/five-mugs-leave.md | 5 - .changeset/fix-commit-session-expires.md | 5 - .changeset/fix-stub-route-object-type.md | 5 - .changeset/fluffy-bananas-love.md | 5 - .changeset/fluffy-fishes-lay.md | 5 - .changeset/friendly-fireants-report.md | 6 - .changeset/fuzzy-mugs-swim.md | 5 - .changeset/giant-crews-care.md | 5 - .changeset/global-fetch-instanceof.md | 5 - .changeset/global-polyfills.md | 22 -- .changeset/gorgeous-carrots-dance.md | 33 -- .changeset/grumpy-trees-flow.md | 7 - .changeset/handle-error-response.md | 5 - .changeset/heavy-crabs-kick.md | 5 - .changeset/heavy-items-search.md | 5 - .../improve-minified-css-compatibility.md | 7 - .changeset/khaki-roses-matter.md | 5 - .changeset/kind-grapes-clap.md | 6 - .changeset/large-goats-double.md | 6 - .changeset/lemon-dodos-crash.md | 5 - .changeset/light-rivers-tell.md | 7 - .changeset/loud-pandas-do.md | 7 - .changeset/lovely-drinks-bow.md | 5 - .changeset/lovely-suits-appear.md | 5 - .changeset/memory-session-id.md | 5 - .changeset/metal-horses-camp.md | 5 - .changeset/moody-pants-laugh.md | 8 - .changeset/neat-impalas-divide.md | 5 - .changeset/odd-bananas-teach.md | 7 - .changeset/olive-chefs-jam.md | 5 - .changeset/olive-lemons-marry.md | 5 - .changeset/orange-suits-nail.md | 7 - .changeset/perfect-dodos-itch.md | 5 - .../polyfill-package-imports-in-deps.md | 5 - .changeset/poor-dolls-nail.md | 8 - .changeset/popular-trains-do.md | 6 - .changeset/postcss-surface-errors.md | 5 - .changeset/pre.json | 131 ------- .changeset/pretty-ears-vanish.md | 5 - .changeset/purple-tables-switch.md | 8 - .changeset/purple-zoos-refuse.md | 19 -- .changeset/quiet-lemons-fold.md | 5 - .changeset/remix-serve-esm-usage-error.md | 5 - .changeset/remix-testing-meta-links.md | 6 - .changeset/remove-default-node-polyfills.md | 33 -- ...e-fetch-polyfill-references-in-adapters.md | 6 - .../remove-magic-import-eslint-warnings.md | 5 - .changeset/remove-stream-recursion.md | 5 - .changeset/remove-unstable-should-reload.md | 5 - .changeset/remove-v1-meta.md | 49 --- .changeset/resource-route-boundary-only.md | 5 - ...start-dev-server-on-remix-config-change.md | 5 - .changeset/rich-months-search.md | 8 - .changeset/rotten-penguins-eat.md | 9 - .changeset/selfish-months-behave.md | 8 - .changeset/seven-queens-try.md | 7 - .changeset/shiny-teachers-cheer.md | 5 - .changeset/silver-readers-think.md | 5 - .changeset/small-impalas-invent.md | 5 - .changeset/sour-parrots-dream.md | 7 - .changeset/strong-rice-applaud.md | 13 - .changeset/stupid-emus-repair.md | 5 - .changeset/tame-moons-buy.md | 5 - .changeset/tasty-apricots-doubt.md | 5 - .changeset/tidy-paws-promise.md | 5 - .changeset/use-fetch-duplex.md | 5 - .changeset/useloaderdata-types-yarn-pnp.md | 5 - .changeset/v2-default-to-esm.md | 6 - .changeset/v2-remove-auto-globals-install.md | 25 -- .changeset/v2-remove-catch-boundary.md | 8 - .changeset/v2-remove-fetcher-compat.md | 9 - .changeset/v2-remove-magic-exports.md | 19 -- .changeset/v2-remove-normalize-form-method.md | 9 - .changeset/v2-remove-unstable-warnings.md | 9 - .changeset/v2-remove-use-transition.md | 9 - .changeset/v2-route-convention.md | 8 - .changeset/v2-serve-dynamic-import.md | 5 - .changeset/v2-use-deepest-headers-function.md | 8 - .changeset/wicked-points-unite.md | 8 - .changeset/wild-garlics-draw.md | 5 - .changeset/xdm-to-mdx.md | 5 - .changeset/young-pants-buy.md | 7 - packages/create-remix/CHANGELOG.md | 37 +- packages/create-remix/package.json | 2 +- packages/remix-architect/CHANGELOG.md | 95 +----- packages/remix-architect/package.json | 4 +- packages/remix-cloudflare-pages/CHANGELOG.md | 95 +----- packages/remix-cloudflare-pages/package.json | 4 +- .../remix-cloudflare-workers/CHANGELOG.md | 95 +----- .../remix-cloudflare-workers/package.json | 4 +- packages/remix-cloudflare/CHANGELOG.md | 103 +----- packages/remix-cloudflare/package.json | 4 +- packages/remix-css-bundle/CHANGELOG.md | 28 +- packages/remix-css-bundle/package.json | 2 +- packages/remix-deno/CHANGELOG.md | 101 +----- packages/remix-deno/package.json | 4 +- packages/remix-dev/CHANGELOG.md | 321 +++++++----------- packages/remix-dev/package.json | 8 +- packages/remix-eslint-config/CHANGELOG.md | 28 +- packages/remix-eslint-config/package.json | 2 +- packages/remix-express/CHANGELOG.md | 95 +----- packages/remix-express/package.json | 4 +- packages/remix-node/CHANGELOG.md | 110 +----- packages/remix-node/package.json | 4 +- packages/remix-react/CHANGELOG.md | 130 ++----- packages/remix-react/package.json | 4 +- packages/remix-serve/CHANGELOG.md | 118 +------ packages/remix-serve/package.json | 6 +- packages/remix-server-runtime/CHANGELOG.md | 66 +--- packages/remix-server-runtime/package.json | 2 +- packages/remix-testing/CHANGELOG.md | 120 +------ packages/remix-testing/package.json | 6 +- packages/remix/package.json | 2 +- 138 files changed, 252 insertions(+), 2319 deletions(-) delete mode 100644 .changeset/add-error-to-meta.md delete mode 100644 .changeset/align-rr-types.md delete mode 100644 .changeset/angry-trainers-give.md delete mode 100644 .changeset/beige-pugs-drive.md delete mode 100644 .changeset/brown-flowers-push.md delete mode 100644 .changeset/brown-seals-look.md delete mode 100644 .changeset/chilled-horses-look.md delete mode 100644 .changeset/cool-penguins-film.md delete mode 100644 .changeset/cool-wombats-chew.md delete mode 100644 .changeset/create-remix-folder-names-dot.md delete mode 100644 .changeset/create-remix-overwrite.md delete mode 100644 .changeset/create-remix.md delete mode 100644 .changeset/cuddly-rings-mate.md delete mode 100644 .changeset/curly-moons-cover.md delete mode 100644 .changeset/cyan-cameras-invite.md delete mode 100644 .changeset/decouple-css-bundle-from-dev.md delete mode 100644 .changeset/deduplicate-prefetch-link-tags.md delete mode 100644 .changeset/destory-session-maxage.md delete mode 100644 .changeset/dirty-bags-wink.md delete mode 100644 .changeset/disabled-link-preload.md delete mode 100644 .changeset/early-trains-fold.md delete mode 100644 .changeset/empty-cameras-walk.md delete mode 100644 .changeset/enable-css-features-by-default.md delete mode 100644 .changeset/error-response-type.md delete mode 100644 .changeset/fair-falcons-wink.md delete mode 100644 .changeset/five-mugs-leave.md delete mode 100644 .changeset/fix-commit-session-expires.md delete mode 100644 .changeset/fix-stub-route-object-type.md delete mode 100644 .changeset/fluffy-bananas-love.md delete mode 100644 .changeset/fluffy-fishes-lay.md delete mode 100644 .changeset/friendly-fireants-report.md delete mode 100644 .changeset/fuzzy-mugs-swim.md delete mode 100644 .changeset/giant-crews-care.md delete mode 100644 .changeset/global-fetch-instanceof.md delete mode 100644 .changeset/global-polyfills.md delete mode 100644 .changeset/gorgeous-carrots-dance.md delete mode 100644 .changeset/grumpy-trees-flow.md delete mode 100644 .changeset/handle-error-response.md delete mode 100644 .changeset/heavy-crabs-kick.md delete mode 100644 .changeset/heavy-items-search.md delete mode 100644 .changeset/improve-minified-css-compatibility.md delete mode 100644 .changeset/khaki-roses-matter.md delete mode 100644 .changeset/kind-grapes-clap.md delete mode 100644 .changeset/large-goats-double.md delete mode 100644 .changeset/lemon-dodos-crash.md delete mode 100644 .changeset/light-rivers-tell.md delete mode 100644 .changeset/loud-pandas-do.md delete mode 100644 .changeset/lovely-drinks-bow.md delete mode 100644 .changeset/lovely-suits-appear.md delete mode 100644 .changeset/memory-session-id.md delete mode 100644 .changeset/metal-horses-camp.md delete mode 100644 .changeset/moody-pants-laugh.md delete mode 100644 .changeset/neat-impalas-divide.md delete mode 100644 .changeset/odd-bananas-teach.md delete mode 100644 .changeset/olive-chefs-jam.md delete mode 100644 .changeset/olive-lemons-marry.md delete mode 100644 .changeset/orange-suits-nail.md delete mode 100644 .changeset/perfect-dodos-itch.md delete mode 100644 .changeset/polyfill-package-imports-in-deps.md delete mode 100644 .changeset/poor-dolls-nail.md delete mode 100644 .changeset/popular-trains-do.md delete mode 100644 .changeset/postcss-surface-errors.md delete mode 100644 .changeset/pre.json delete mode 100644 .changeset/pretty-ears-vanish.md delete mode 100644 .changeset/purple-tables-switch.md delete mode 100644 .changeset/purple-zoos-refuse.md delete mode 100644 .changeset/quiet-lemons-fold.md delete mode 100644 .changeset/remix-serve-esm-usage-error.md delete mode 100644 .changeset/remix-testing-meta-links.md delete mode 100644 .changeset/remove-default-node-polyfills.md delete mode 100644 .changeset/remove-fetch-polyfill-references-in-adapters.md delete mode 100644 .changeset/remove-magic-import-eslint-warnings.md delete mode 100644 .changeset/remove-stream-recursion.md delete mode 100644 .changeset/remove-unstable-should-reload.md delete mode 100644 .changeset/remove-v1-meta.md delete mode 100644 .changeset/resource-route-boundary-only.md delete mode 100644 .changeset/restart-dev-server-on-remix-config-change.md delete mode 100644 .changeset/rich-months-search.md delete mode 100644 .changeset/rotten-penguins-eat.md delete mode 100644 .changeset/selfish-months-behave.md delete mode 100644 .changeset/seven-queens-try.md delete mode 100644 .changeset/shiny-teachers-cheer.md delete mode 100644 .changeset/silver-readers-think.md delete mode 100644 .changeset/small-impalas-invent.md delete mode 100644 .changeset/sour-parrots-dream.md delete mode 100644 .changeset/strong-rice-applaud.md delete mode 100644 .changeset/stupid-emus-repair.md delete mode 100644 .changeset/tame-moons-buy.md delete mode 100644 .changeset/tasty-apricots-doubt.md delete mode 100644 .changeset/tidy-paws-promise.md delete mode 100644 .changeset/use-fetch-duplex.md delete mode 100644 .changeset/useloaderdata-types-yarn-pnp.md delete mode 100644 .changeset/v2-default-to-esm.md delete mode 100644 .changeset/v2-remove-auto-globals-install.md delete mode 100644 .changeset/v2-remove-catch-boundary.md delete mode 100644 .changeset/v2-remove-fetcher-compat.md delete mode 100644 .changeset/v2-remove-magic-exports.md delete mode 100644 .changeset/v2-remove-normalize-form-method.md delete mode 100644 .changeset/v2-remove-unstable-warnings.md delete mode 100644 .changeset/v2-remove-use-transition.md delete mode 100644 .changeset/v2-route-convention.md delete mode 100644 .changeset/v2-serve-dynamic-import.md delete mode 100644 .changeset/v2-use-deepest-headers-function.md delete mode 100644 .changeset/wicked-points-unite.md delete mode 100644 .changeset/wild-garlics-draw.md delete mode 100644 .changeset/xdm-to-mdx.md delete mode 100644 .changeset/young-pants-buy.md diff --git a/.changeset/add-error-to-meta.md b/.changeset/add-error-to-meta.md deleted file mode 100644 index 8e7cc0e5548..00000000000 --- a/.changeset/add-error-to-meta.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@remix-run/react": patch ---- - -Add error to meta params so you can render error titles, etc. - -```tsx -export function meta({ error }) { - return [{ title: error.message }]; -} -``` diff --git a/.changeset/align-rr-types.md b/.changeset/align-rr-types.md deleted file mode 100644 index 7d489708dd9..00000000000 --- a/.changeset/align-rr-types.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -"@remix-run/cloudflare": major -"@remix-run/deno": major -"@remix-run/node": major -"@remix-run/react": major -"@remix-run/server-runtime": major ---- - -Remove/align Remix types with those used in React Router - -* Change exposed `any` types to `unknown` - * `AppData` - * `useLocation.state` - * `useMatches()[i].data` - * `useFetcher().data` - * `MetaMatch.handle` -* `useMatches()[i].handle` type changed from `{ [k: string]: any }` to `unknown` -* Rename the `useMatches()` return type from `RouteMatch` to `UIMatch` -* Rename `LoaderArgs`/`ActionArgs` to `LoaderFunctionArgs`/`ActionFunctionArgs` diff --git a/.changeset/angry-trainers-give.md b/.changeset/angry-trainers-give.md deleted file mode 100644 index 82c46aa8054..00000000000 --- a/.changeset/angry-trainers-give.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/node": patch ---- - -Update to latest web-std-io prereleases diff --git a/.changeset/beige-pugs-drive.md b/.changeset/beige-pugs-drive.md deleted file mode 100644 index c1641d09fe1..00000000000 --- a/.changeset/beige-pugs-drive.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@remix-run/serve": major ---- - -`remix-serve` picks an open port if 3000 is taken - -- 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) diff --git a/.changeset/brown-flowers-push.md b/.changeset/brown-flowers-push.md deleted file mode 100644 index 70db01c4b7b..00000000000 --- a/.changeset/brown-flowers-push.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -Re-Export `ShouldRevalidateFunctionArgs` type from React Router diff --git a/.changeset/brown-seals-look.md b/.changeset/brown-seals-look.md deleted file mode 100644 index 89ea98e61aa..00000000000 --- a/.changeset/brown-seals-look.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": minor ---- - -Warn users about obsolete future flags in remix.config.js diff --git a/.changeset/chilled-horses-look.md b/.changeset/chilled-horses-look.md deleted file mode 100644 index 6cff118b60b..00000000000 --- a/.changeset/chilled-horses-look.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@remix-run/cloudflare": major -"@remix-run/deno": major -"@remix-run/node": major -"@remix-run/server-runtime": major ---- - -Remove `AppData`/`RouteHandle` types which are just aliases for `unknown` diff --git a/.changeset/cool-penguins-film.md b/.changeset/cool-penguins-film.md deleted file mode 100644 index 7ed727b4c1d..00000000000 --- a/.changeset/cool-penguins-film.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Fix importing of PNGs, SVGs, and other assets from packages in `node_modules` ([#6813](https://github.com/remix-run/remix/pull/6813)) diff --git a/.changeset/cool-wombats-chew.md b/.changeset/cool-wombats-chew.md deleted file mode 100644 index 1cde73225cf..00000000000 --- a/.changeset/cool-wombats-chew.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": major ---- - -Remove `serverBuildTarget` config option diff --git a/.changeset/create-remix-folder-names-dot.md b/.changeset/create-remix-folder-names-dot.md deleted file mode 100644 index 681d3020972..00000000000 --- a/.changeset/create-remix-folder-names-dot.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-remix": patch ---- - -Allow dots in github repo shorthand notation folder names (i.e., `npx create-remix --template remix-run/examples/socket.io`) diff --git a/.changeset/create-remix-overwrite.md b/.changeset/create-remix-overwrite.md deleted file mode 100644 index 5bd3b026b89..00000000000 --- a/.changeset/create-remix-overwrite.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"create-remix": minor ---- - -Remove empty directory checking in favor of `overwrite` prompt/flag. - -`create-remix` now allows you to write into an existing non-empty directory. It will perform a file-level comparison and if the template will overwrite any existing files in the destination directory, it will prompt you if it's OK to overwrite those files. If you answer no (the default) then it will exit without copying any files. You may skip this prompt with the `--overwrite` CLI flag. diff --git a/.changeset/create-remix.md b/.changeset/create-remix.md deleted file mode 100644 index 6b2cbd8f09a..00000000000 --- a/.changeset/create-remix.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"create-remix": major -"@remix-run/dev": major ---- - -The `create-remix` CLI has been rewritten to feature a cleaner interface, Git repo initialization and optional `remix.init` script execution. The interactive template prompt and official Remix stack/template shorthands have also been removed so that community/third-party templates are now on a more equal footing. - -The code for `create-remix` has been moved out of the Remix CLI since it's not intended for use within an existing Remix application. This means that the `remix create` command is no longer available. diff --git a/.changeset/cuddly-rings-mate.md b/.changeset/cuddly-rings-mate.md deleted file mode 100644 index a74254b870d..00000000000 --- a/.changeset/cuddly-rings-mate.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@remix-run/dev": major -"@remix-run/server-runtime": major ---- - -Remove deprecated REMIX_DEV_HTTP_ORIGIN env var. - -Use REMIX_DEV_ORIGIN instead. diff --git a/.changeset/curly-moons-cover.md b/.changeset/curly-moons-cover.md deleted file mode 100644 index 48ac6717a4f..00000000000 --- a/.changeset/curly-moons-cover.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@remix-run/dev": minor -"@remix-run/server-runtime": minor ---- - -detect built mode via `build.mode` - -Prevents mode mismatch between built Remix server entry and user-land server. -Additionally, all runtimes (including non-Node runtimes) can use `build.mode` to determine if HMR should be performed. diff --git a/.changeset/cyan-cameras-invite.md b/.changeset/cyan-cameras-invite.md deleted file mode 100644 index eca67b15d61..00000000000 --- a/.changeset/cyan-cameras-invite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/server-runtime": patch ---- - -[Remove] Fix AppLoadContext diff --git a/.changeset/decouple-css-bundle-from-dev.md b/.changeset/decouple-css-bundle-from-dev.md deleted file mode 100644 index 596ba2dd8b0..00000000000 --- a/.changeset/decouple-css-bundle-from-dev.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@remix-run/css-bundle": patch -"@remix-run/dev": patch ---- - -Decouple the `@remix-run/dev` package from the contents of the `@remix-run/css-bundle` package. - -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`. diff --git a/.changeset/deduplicate-prefetch-link-tags.md b/.changeset/deduplicate-prefetch-link-tags.md deleted file mode 100644 index b0b8ad82b6a..00000000000 --- a/.changeset/deduplicate-prefetch-link-tags.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -Deduplicate prefetch link tags diff --git a/.changeset/destory-session-maxage.md b/.changeset/destory-session-maxage.md deleted file mode 100644 index 660b51c0dac..00000000000 --- a/.changeset/destory-session-maxage.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/server-runtime": patch ---- - -Fix `destroySession` for sessions using a `maxAge` cookie. The data in the cookie was always properly destroyed but when using `maxAge`, the cookie itself wasn't deleted because `Max-Age` takes precedence over `Expires` in the cookie spec. diff --git a/.changeset/dirty-bags-wink.md b/.changeset/dirty-bags-wink.md deleted file mode 100644 index e4b3c406d0f..00000000000 --- a/.changeset/dirty-bags-wink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/serve": major ---- - -integrate manual mode in remix-serve diff --git a/.changeset/disabled-link-preload.md b/.changeset/disabled-link-preload.md deleted file mode 100644 index 3bd459b3d9b..00000000000 --- a/.changeset/disabled-link-preload.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -Skip preloading of stylesheets on client-side route transitions if the browser does not support ``. 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. diff --git a/.changeset/early-trains-fold.md b/.changeset/early-trains-fold.md deleted file mode 100644 index 541665eb412..00000000000 --- a/.changeset/early-trains-fold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/node": patch ---- - -Remove `atob`/`btoa` polyfills in favor of built-in versions diff --git a/.changeset/empty-cameras-walk.md b/.changeset/empty-cameras-walk.md deleted file mode 100644 index ecfc05c10f8..00000000000 --- a/.changeset/empty-cameras-walk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -allow non-development modes for remix watch diff --git a/.changeset/enable-css-features-by-default.md b/.changeset/enable-css-features-by-default.md deleted file mode 100644 index fa7f23b3e84..00000000000 --- a/.changeset/enable-css-features-by-default.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"@remix-run/dev": major ---- - -Enable built-in PostCSS and Tailwind support by default. - -These tools are now automatically used within the Remix compiler if PostCSS and/or Tailwind configuration files are present in your project. - -If you have a custom PostCSS and/or Tailwind setup outside of Remix, you can disable these features in your `remix.config.js`. - -```js -module.exports = { - postcss: false, - tailwind: false, -}; -``` diff --git a/.changeset/error-response-type.md b/.changeset/error-response-type.md deleted file mode 100644 index e605d9c9859..00000000000 --- a/.changeset/error-response-type.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@remix-run/cloudflare": patch -"@remix-run/deno": patch -"@remix-run/node": patch -"@remix-run/react": patch -"@remix-run/server-runtime": patch ---- - -Export proper `ErrorResponse` type for usage alongside `isRouteErrorResponse` diff --git a/.changeset/fair-falcons-wink.md b/.changeset/fair-falcons-wink.md deleted file mode 100644 index 60ecc958e9c..00000000000 --- a/.changeset/fair-falcons-wink.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"remix": major ---- - -The `@remix-run/vercel` runtime adapter has been removed in favor of out of the box Vercel functionality. Please update your code by removing `@remix-run/vercel` & `@vercel/node` from your `package.json`, removing your `server.ts`/`server.js` file, and removing the `server` & `serverBuildPath` options from your `remix.config.js`. ((#7035)[https://github.com/remix-run/remix/pull/7035]) - -Due to the removal of this adapter, we also removed our [Vercel template][vercel-template] in favor of the [official Vercel template][official-vercel-template] ((#6784)[https://github.com/remix-run/remix/pull/6784]). - -[vercel-template]: https://github.com/remix-run/remix/tree/main/templates/vercel -[official-vercel-template]: https://github.com/vercel/vercel/tree/main/examples/remix diff --git a/.changeset/five-mugs-leave.md b/.changeset/five-mugs-leave.md deleted file mode 100644 index cb402b7dec8..00000000000 --- a/.changeset/five-mugs-leave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/node": patch ---- - -Add the rest of the Web Streams API to `installGlobals` diff --git a/.changeset/fix-commit-session-expires.md b/.changeset/fix-commit-session-expires.md deleted file mode 100644 index 825522dc027..00000000000 --- a/.changeset/fix-commit-session-expires.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/server-runtime": patch ---- - -Ensure `maxAge`/`expires` options passed to `commitSession` take precedence over the original `cookie.expires` value ([#6598](https://github.com/remix-run/remix/pull/6598)) diff --git a/.changeset/fix-stub-route-object-type.md b/.changeset/fix-stub-route-object-type.md deleted file mode 100644 index 98ddf284c90..00000000000 --- a/.changeset/fix-stub-route-object-type.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/testing": patch ---- - -Fix types for `StubRouteObject` `children` property diff --git a/.changeset/fluffy-bananas-love.md b/.changeset/fluffy-bananas-love.md deleted file mode 100644 index d3f1d1aaa3c..00000000000 --- a/.changeset/fluffy-bananas-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -stop remix dev when esbuild is not running diff --git a/.changeset/fluffy-fishes-lay.md b/.changeset/fluffy-fishes-lay.md deleted file mode 100644 index c91aa2ecf5b..00000000000 --- a/.changeset/fluffy-fishes-lay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -Use the hostname from `REMIX_DEV_ORIGIN` to connect to the live reload socket diff --git a/.changeset/friendly-fireants-report.md b/.changeset/friendly-fireants-report.md deleted file mode 100644 index 2e9aa764329..00000000000 --- a/.changeset/friendly-fireants-report.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@remix-run/react": minor -"@remix-run/server-runtime": minor ---- - -[REMOVE] Update to experimental react router version with Remix back compat code removed diff --git a/.changeset/fuzzy-mugs-swim.md b/.changeset/fuzzy-mugs-swim.md deleted file mode 100644 index 2d5e453ccc1..00000000000 --- a/.changeset/fuzzy-mugs-swim.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/cloudflare": major ---- - -Remove `createCloudflareKVSessionStorage` diff --git a/.changeset/giant-crews-care.md b/.changeset/giant-crews-care.md deleted file mode 100644 index 68612cbfdb3..00000000000 --- a/.changeset/giant-crews-care.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": major ---- - -Remove `devServerBroadcastDelay` config option diff --git a/.changeset/global-fetch-instanceof.md b/.changeset/global-fetch-instanceof.md deleted file mode 100644 index b9dff67555e..00000000000 --- a/.changeset/global-fetch-instanceof.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/node": patch ---- - -ensures fetch() return is instanceof global Response by removing extended classes for NodeRequest and NodeResponse in favor of custom interface type cast. diff --git a/.changeset/global-polyfills.md b/.changeset/global-polyfills.md deleted file mode 100644 index 15cf1d0b13b..00000000000 --- a/.changeset/global-polyfills.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -"@remix-run/dev": minor ---- - -The `serverNodeBuiltinsPolyfill` option (along with the newly added `browserNodeBuiltinsPolyfill`) now supports defining global polyfills in addition to module polyfills. - -For example, to polyfill Node's `Buffer` global: - -```js -module.exports = { - serverNodeBuiltinsPolyfill: { - globals: { - Buffer: true, - }, - // You'll probably need to polyfill the "buffer" module - // too since the global polyfill imports this: - modules: { - buffer: true, - }, - }, -}; -``` diff --git a/.changeset/gorgeous-carrots-dance.md b/.changeset/gorgeous-carrots-dance.md deleted file mode 100644 index d843ee57b93..00000000000 --- a/.changeset/gorgeous-carrots-dance.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Do not interpret JSX in .ts files - -While JSX is supported in `.js` files for compatibility with existing apps and libraries, -`.ts` files should not contain JSX. By not interpreting `.ts` files as JSX, `.ts` files -can contain single-argument type generics without needing a comma to disambiguate from JSX: - -```ts -// this works in .ts files - -const id = (x: T) => x; -// ^ single-argument type generic -``` - -```tsx -// this doesn't work in .tsx files - -const id = (x: T) => x; -// ^ is this a JSX element? or a single-argument type generic? -``` - -```tsx -// this works in .tsx files - -const id = (x: T) => x; -// ^ comma: this is a generic, not a JSX element - -const component =

hello

-// ^ no comma: this is a JSX element -``` diff --git a/.changeset/grumpy-trees-flow.md b/.changeset/grumpy-trees-flow.md deleted file mode 100644 index 133ab845079..00000000000 --- a/.changeset/grumpy-trees-flow.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@remix-run/serve": major ---- - -Remove undocumented `createApp` Node API - -`remix-serve` should a CLI, not a library diff --git a/.changeset/handle-error-response.md b/.changeset/handle-error-response.md deleted file mode 100644 index 393b425f3da..00000000000 --- a/.changeset/handle-error-response.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/server-runtime": patch ---- - -Fix `handleError` method to correctly receive `ErrorResponse` instances on `?_data` and resource route requests. It now receives the `ErrorResponse` instance the same way a document request would. Users can leverage `isRouteErrorResponse`to detect these error instances and log accordingly. diff --git a/.changeset/heavy-crabs-kick.md b/.changeset/heavy-crabs-kick.md deleted file mode 100644 index 9b7839b2a7e..00000000000 --- a/.changeset/heavy-crabs-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/eslint-config": major ---- - -Remove `@remix-run/eslint-config/jest` ESLint config diff --git a/.changeset/heavy-items-search.md b/.changeset/heavy-items-search.md deleted file mode 100644 index 70c2f34e907..00000000000 --- a/.changeset/heavy-items-search.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/node": major ---- - -Stop exporting the `fetch` API in favor of using the version in the global scope - which is polyfilled via `installGlobals` diff --git a/.changeset/improve-minified-css-compatibility.md b/.changeset/improve-minified-css-compatibility.md deleted file mode 100644 index b0c877c10c8..00000000000 --- a/.changeset/improve-minified-css-compatibility.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -[REMOVE] Improve browser compatibility of minified CSS - -[REMOVE] We now minify CSS targeting the Remix browser support baseline (i.e. anything that supports [ES module scripts](https://caniuse.com/es6-module)), whereas previously CSS was minified using esbuild's default "esnext" target. This meant that CSS in the production build could be using properties that are unsupported in some browsers. This change also means you now have more control over CSS transformations using the built-in PostCSS support since they won't be reversed by esbuild's minification. diff --git a/.changeset/khaki-roses-matter.md b/.changeset/khaki-roses-matter.md deleted file mode 100644 index b3274fe7cba..00000000000 --- a/.changeset/khaki-roses-matter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -allow decorators in app code diff --git a/.changeset/kind-grapes-clap.md b/.changeset/kind-grapes-clap.md deleted file mode 100644 index 85f45601d9a..00000000000 --- a/.changeset/kind-grapes-clap.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"create-remix": major -"@remix-run/dev": major ---- - -Stop passing `isTypeScript` to `remix.init` script diff --git a/.changeset/large-goats-double.md b/.changeset/large-goats-double.md deleted file mode 100644 index 7fc8c2324d2..00000000000 --- a/.changeset/large-goats-double.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@remix-run/react": major -"@remix-run/server-runtime": major ---- - -Remove `imagesizes` & `imagesrcset` properties from `HtmlLinkDescriptor`, `LinkDescriptor` & `PrefetchPageDescriptor` types diff --git a/.changeset/lemon-dodos-crash.md b/.changeset/lemon-dodos-crash.md deleted file mode 100644 index 2ecf5b4ac43..00000000000 --- a/.changeset/lemon-dodos-crash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/server-runtime": patch ---- - -[REMOVE] Revert AppLoadContext back to an interface for use with module augmentation diff --git a/.changeset/light-rivers-tell.md b/.changeset/light-rivers-tell.md deleted file mode 100644 index 2afd8722b29..00000000000 --- a/.changeset/light-rivers-tell.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@remix-run/react": patch -"@remix-run/server-runtime": patch -"@remix-run/testing": patch ---- - -Bump router to 1.9.0/6.16.0 prereleases diff --git a/.changeset/loud-pandas-do.md b/.changeset/loud-pandas-do.md deleted file mode 100644 index 7757830fe24..00000000000 --- a/.changeset/loud-pandas-do.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@remix-run/dev": major ---- - -remove deprecated `devServerPort` option - -use `--port` / `config.dev.port` option instead diff --git a/.changeset/lovely-drinks-bow.md b/.changeset/lovely-drinks-bow.md deleted file mode 100644 index a5773d320f8..00000000000 --- a/.changeset/lovely-drinks-bow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -allow jsx in js files during hmr diff --git a/.changeset/lovely-suits-appear.md b/.changeset/lovely-suits-appear.md deleted file mode 100644 index 7fc1a1f3a68..00000000000 --- a/.changeset/lovely-suits-appear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -[REMOVE] Fix TS error in entry.server.tsx to make PassThrough body a ReadableStream diff --git a/.changeset/memory-session-id.md b/.changeset/memory-session-id.md deleted file mode 100644 index bcfe10bd50d..00000000000 --- a/.changeset/memory-session-id.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/server-runtime": patch ---- - -Update `createMemorySessionStorage` to use an internal hash value instead of an integer for the session `id` diff --git a/.changeset/metal-horses-camp.md b/.changeset/metal-horses-camp.md deleted file mode 100644 index ab27531dbed..00000000000 --- a/.changeset/metal-horses-camp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -REMOVE: removed dependency that caused TS error diff --git a/.changeset/moody-pants-laugh.md b/.changeset/moody-pants-laugh.md deleted file mode 100644 index 640ba1b9ab6..00000000000 --- a/.changeset/moody-pants-laugh.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@remix-run/dev": major -"@remix-run/react": major ---- - -remove deprecated REMIX_DEV_SERVER_WS_PORT env var - -use `remix dev`'s '`--port`/`port` option instead diff --git a/.changeset/neat-impalas-divide.md b/.changeset/neat-impalas-divide.md deleted file mode 100644 index 1af68b5ca4b..00000000000 --- a/.changeset/neat-impalas-divide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": major ---- - -Remove `replace-remix-magic-imports` codemod diff --git a/.changeset/odd-bananas-teach.md b/.changeset/odd-bananas-teach.md deleted file mode 100644 index 509d3364349..00000000000 --- a/.changeset/odd-bananas-teach.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Warn if `future.v2_dev` is set - -Prompt user to delete it if its set to `true` or move it to `dev` if its an object. diff --git a/.changeset/olive-chefs-jam.md b/.changeset/olive-chefs-jam.md deleted file mode 100644 index 168d26cc22f..00000000000 --- a/.changeset/olive-chefs-jam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -kill app server when remix dev terminates diff --git a/.changeset/olive-lemons-marry.md b/.changeset/olive-lemons-marry.md deleted file mode 100644 index e178e0b3401..00000000000 --- a/.changeset/olive-lemons-marry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": patch ---- - -Use unique key for `script:ld+json` meta descriptors diff --git a/.changeset/orange-suits-nail.md b/.changeset/orange-suits-nail.md deleted file mode 100644 index 9fe5caad30b..00000000000 --- a/.changeset/orange-suits-nail.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@remix-run/architect": patch -"@remix-run/express": patch ---- - -- Switch to `headers.entries()` instead of non-spec-compliant `headers.raw()` in `sendRemixResponse` -- Update to `@remix-run/web-fetch@4.3.7` diff --git a/.changeset/perfect-dodos-itch.md b/.changeset/perfect-dodos-itch.md deleted file mode 100644 index 44889ac98d3..00000000000 --- a/.changeset/perfect-dodos-itch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -[REMOVE] Revert CSS minification changes from #7187 diff --git a/.changeset/polyfill-package-imports-in-deps.md b/.changeset/polyfill-package-imports-in-deps.md deleted file mode 100644 index 95d6649b3cb..00000000000 --- a/.changeset/polyfill-package-imports-in-deps.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -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). 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`). diff --git a/.changeset/poor-dolls-nail.md b/.changeset/poor-dolls-nail.md deleted file mode 100644 index 12dca686bf2..00000000000 --- a/.changeset/poor-dolls-nail.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@remix-run/node": patch -"@remix-run/react": patch -"@remix-run/server-runtime": patch -"@remix-run/testing": patch ---- - -[Remove] Update to stable `web-std-io` and `react-router` releases diff --git a/.changeset/popular-trains-do.md b/.changeset/popular-trains-do.md deleted file mode 100644 index e8f8bc9e18f..00000000000 --- a/.changeset/popular-trains-do.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"create-remix": minor -"@remix-run/dev": minor ---- - -Support bun package manager diff --git a/.changeset/postcss-surface-errors.md b/.changeset/postcss-surface-errors.md deleted file mode 100644 index bd021fbdbee..00000000000 --- a/.changeset/postcss-surface-errors.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -Surface errors when PostCSS config is invalid diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 30fe21a38df..00000000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "mode": "exit", - "tag": "pre", - "initialVersions": { - "integration-tests": "0.0.0-local-version", - "create-remix": "1.19.3", - "remix": "1.19.3", - "@remix-run/architect": "1.19.3", - "@remix-run/cloudflare": "1.19.3", - "@remix-run/cloudflare-pages": "1.19.3", - "@remix-run/cloudflare-workers": "1.19.3", - "@remix-run/css-bundle": "1.19.3", - "@remix-run/deno": "1.19.3", - "@remix-run/dev": "1.19.3", - "@remix-run/eslint-config": "1.19.3", - "@remix-run/express": "1.19.3", - "@remix-run/node": "1.19.3", - "@remix-run/react": "1.19.3", - "@remix-run/serve": "1.19.3", - "@remix-run/server-runtime": "1.19.3", - "@remix-run/testing": "1.19.3" - }, - "changesets": [ - "add-error-to-meta", - "align-rr-types", - "angry-trainers-give", - "beige-pugs-drive", - "brown-flowers-push", - "brown-seals-look", - "chilled-horses-look", - "cool-penguins-film", - "cool-wombats-chew", - "create-remix-folder-names-dot", - "create-remix-overwrite", - "create-remix", - "cuddly-rings-mate", - "curly-moons-cover", - "cyan-cameras-invite", - "decouple-css-bundle-from-dev", - "deduplicate-prefetch-link-tags", - "destory-session-maxage", - "dirty-bags-wink", - "disabled-link-preload", - "early-trains-fold", - "empty-cameras-walk", - "enable-css-features-by-default", - "error-response-type", - "fair-falcons-wink", - "five-mugs-leave", - "fix-commit-session-expires", - "fix-stub-route-object-type", - "fluffy-bananas-love", - "fluffy-fishes-lay", - "friendly-fireants-report", - "fuzzy-mugs-swim", - "giant-crews-care", - "global-fetch-instanceof", - "global-polyfills", - "gorgeous-carrots-dance", - "grumpy-trees-flow", - "handle-error-response", - "heavy-crabs-kick", - "heavy-items-search", - "improve-minified-css-compatibility", - "khaki-roses-matter", - "kind-grapes-clap", - "large-goats-double", - "lemon-dodos-crash", - "light-rivers-tell", - "loud-pandas-do", - "lovely-drinks-bow", - "lovely-suits-appear", - "memory-session-id", - "metal-horses-camp", - "moody-pants-laugh", - "neat-impalas-divide", - "odd-bananas-teach", - "olive-chefs-jam", - "olive-lemons-marry", - "orange-suits-nail", - "perfect-dodos-itch", - "polyfill-package-imports-in-deps", - "poor-dolls-nail", - "popular-trains-do", - "postcss-surface-errors", - "pretty-ears-vanish", - "purple-tables-switch", - "purple-zoos-refuse", - "quiet-lemons-fold", - "remix-serve-esm-usage-error", - "remix-testing-meta-links", - "remove-default-node-polyfills", - "remove-fetch-polyfill-references-in-adapters", - "remove-magic-import-eslint-warnings", - "remove-stream-recursion", - "remove-unstable-should-reload", - "remove-v1-meta", - "resource-route-boundary-only", - "restart-dev-server-on-remix-config-change", - "rich-months-search", - "rotten-penguins-eat", - "selfish-months-behave", - "seven-queens-try", - "shiny-teachers-cheer", - "silver-readers-think", - "small-impalas-invent", - "sour-parrots-dream", - "strong-rice-applaud", - "stupid-emus-repair", - "tame-moons-buy", - "tasty-apricots-doubt", - "tidy-paws-promise", - "use-fetch-duplex", - "useloaderdata-types-yarn-pnp", - "v2-default-to-esm", - "v2-remove-auto-globals-install", - "v2-remove-catch-boundary", - "v2-remove-fetcher-compat", - "v2-remove-magic-exports", - "v2-remove-normalize-form-method", - "v2-remove-unstable-warnings", - "v2-remove-use-transition", - "v2-route-convention", - "v2-serve-dynamic-import", - "v2-use-deepest-headers-function", - "wicked-points-unite", - "wild-garlics-draw", - "xdm-to-mdx", - "young-pants-buy" - ] -} diff --git a/.changeset/pretty-ears-vanish.md b/.changeset/pretty-ears-vanish.md deleted file mode 100644 index 0d332cd0e02..00000000000 --- a/.changeset/pretty-ears-vanish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/dev": patch ---- - -internal: write a version.txt sentinel file _after_ server build is completely written diff --git a/.changeset/purple-tables-switch.md b/.changeset/purple-tables-switch.md deleted file mode 100644 index 55d8f2650eb..00000000000 --- a/.changeset/purple-tables-switch.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@remix-run/dev": major -"@remix-run/eslint-config": major -"@remix-run/react": major -"@remix-run/testing": major ---- - -Drop React 17 support diff --git a/.changeset/purple-zoos-refuse.md b/.changeset/purple-zoos-refuse.md deleted file mode 100644 index 2ec4b7364b3..00000000000 --- a/.changeset/purple-zoos-refuse.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -"create-remix": major -"remix": major -"@remix-run/architect": major -"@remix-run/cloudflare": major -"@remix-run/cloudflare-pages": major -"@remix-run/cloudflare-workers": major -"@remix-run/css-bundle": major -"@remix-run/deno": major -"@remix-run/dev": major -"@remix-run/express": major -"@remix-run/node": major -"@remix-run/react": major -"@remix-run/serve": major -"@remix-run/server-runtime": major -"@remix-run/testing": major ---- - -Require Node >=18.0.0 diff --git a/.changeset/quiet-lemons-fold.md b/.changeset/quiet-lemons-fold.md deleted file mode 100644 index 59c66a44c28..00000000000 --- a/.changeset/quiet-lemons-fold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": minor ---- - -Export the `Navigation` type returned from `useNavigation` diff --git a/.changeset/remix-serve-esm-usage-error.md b/.changeset/remix-serve-esm-usage-error.md deleted file mode 100644 index 077564b5917..00000000000 --- a/.changeset/remix-serve-esm-usage-error.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/serve": patch ---- - -Update remix-serve usage error message to support ESM projects diff --git a/.changeset/remix-testing-meta-links.md b/.changeset/remix-testing-meta-links.md deleted file mode 100644 index f6d219c134d..00000000000 --- a/.changeset/remix-testing-meta-links.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@remix-run/testing": minor ---- - -- `unstable_createRemixStub` now supports adding `meta`/`links` functions on stubbed Remix routes -- ⚠️ `unstable_createRemixStub` no longer supports the `element`/`errorElement` properties on routes. You must use `Component`/`ErrorBoundary` to match what you would export from a Remix route module. diff --git a/.changeset/remove-default-node-polyfills.md b/.changeset/remove-default-node-polyfills.md deleted file mode 100644 index a222b9b14d3..00000000000 --- a/.changeset/remove-default-node-polyfills.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -"@remix-run/dev": major ---- - -Remove default Node.js polyfills. - -Any Node.js polyfills (or empty polyfills) that are required for your browser code must be configured via the `browserNodeBuiltinsPolyfill` option in `remix.config.js`. - -```js -exports.browserNodeBuiltinsPolyfill = { - modules: { - buffer: true, - fs: "empty", - }, - globals: { - Buffer: true, - }, -}; -``` - -If you're targeting a non-Node.js server platform, any Node.js polyfills (or empty polyfills) that are required for your server code must be configured via the `serverNodeBuiltinsPolyfill` option in `remix.config.js`. - -```js -exports.serverNodeBuiltinsPolyfill = { - modules: { - buffer: true, - fs: "empty", - }, - globals: { - Buffer: true, - }, -}; -``` diff --git a/.changeset/remove-fetch-polyfill-references-in-adapters.md b/.changeset/remove-fetch-polyfill-references-in-adapters.md deleted file mode 100644 index bbe261f79e7..00000000000 --- a/.changeset/remove-fetch-polyfill-references-in-adapters.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@remix-run/architect": patch -"@remix-run/express": patch ---- - -remove references to fetch polyfills in node and arc adapters diff --git a/.changeset/remove-magic-import-eslint-warnings.md b/.changeset/remove-magic-import-eslint-warnings.md deleted file mode 100644 index da5994b7af5..00000000000 --- a/.changeset/remove-magic-import-eslint-warnings.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/eslint-config": major ---- - -Remove magic imports ESLint warnings diff --git a/.changeset/remove-stream-recursion.md b/.changeset/remove-stream-recursion.md deleted file mode 100644 index 7f9c27061df..00000000000 --- a/.changeset/remove-stream-recursion.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/node": patch ---- - -remove recursion from stream utilities diff --git a/.changeset/remove-unstable-should-reload.md b/.changeset/remove-unstable-should-reload.md deleted file mode 100644 index 2fcffcc8f01..00000000000 --- a/.changeset/remove-unstable-should-reload.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/react": major ---- - -Remove `unstable_shouldReload`, which has been replaced by `shouldRevalidate` diff --git a/.changeset/remove-v1-meta.md b/.changeset/remove-v1-meta.md deleted file mode 100644 index 9e3474d43e4..00000000000 --- a/.changeset/remove-v1-meta.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -"@remix-run/cloudflare": major -"@remix-run/deno": major -"@remix-run/dev": major -"@remix-run/node": major -"@remix-run/react": major -"@remix-run/server-runtime": major -"@remix-run/testing": major ---- - -We have made a few important changes to the route `meta` API as reflected in the v1 implementation when using the `future.v2_meta` config option. - -- The `meta` function should no longer return an object, but an array of objects that map to the HTML tag's respective attributes. This provides more flexibility and control over how certain tags are rendered, and the order in which they appear. -- In most cases, `meta` descriptor objects render a `` tag. There are a few notable exceptions: - - `{ title: "My app" }` will render `My app`. - - `{ 'script:ld+json': { /* ... */ } }` will render ``, where the value is serialized to JSON and rendered inside the ``, where the value is serialized to JSON and rendered inside the ``, where the value is serialized to JSON and rendered inside the ``, where the value is serialized to JSON and rendered inside the ``, where the value is serialized to JSON and rendered inside the ``, where the value is serialized to JSON and rendered inside the ``, where the value is serialized to JSON and rendered inside the ``, where the value is serialized to JSON and rendered inside the `