-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release-next' into dev
- Loading branch information
Showing
123 changed files
with
1,866 additions
and
570 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,109 +13,116 @@ We manage release notes in this file instead of the paginated Github Releases Pa | |
<summary>Table of Contents</summary> | ||
|
||
- [Remix Releases](#remix-releases) | ||
- [v2.9.2](#v292) | ||
- [v2.10.0](#v2100) | ||
- [What's Changed](#whats-changed) | ||
- [Updated Type-Safety for Single Fetch](#updated-type-safety-for-single-fetch) | ||
- [Lazy Route Discovery (a.k.a. Fog of War)](#lazy-route-discovery-aka-fog-of-war) | ||
- [Minor Changes](#minor-changes) | ||
- [Patch Changes](#patch-changes) | ||
- [Updated Dependencies](#updated-dependencies) | ||
- [Changes by Package](#changes-by-package) | ||
- [v2.9.1](#v291) | ||
- [v2.9.2](#v292) | ||
- [What's Changed](#whats-changed-1) | ||
- [Updated Type-Safety for Single Fetch](#updated-type-safety-for-single-fetch) | ||
- [Patch Changes](#patch-changes-1) | ||
- [Updated Dependencies](#updated-dependencies-1) | ||
- [Changes by Package](#changes-by-package-1) | ||
- [v2.9.1](#v291) | ||
- [Patch Changes](#patch-changes-2) | ||
- [Changes by Package](#changes-by-package-2) | ||
- [v2.9.0](#v290) | ||
- [What's Changed](#whats-changed-1) | ||
- [What's Changed](#whats-changed-2) | ||
- [Single Fetch (unstable)](#single-fetch-unstable) | ||
- [Undici](#undici) | ||
- [Minor Changes](#minor-changes) | ||
- [Patch Changes](#patch-changes-2) | ||
- [Updated Dependencies](#updated-dependencies-1) | ||
- [Changes by Package](#changes-by-package-2) | ||
- [v2.8.1](#v281) | ||
- [Minor Changes](#minor-changes-1) | ||
- [Patch Changes](#patch-changes-3) | ||
- [Updated Dependencies](#updated-dependencies-2) | ||
- [Changes by Package](#changes-by-package-3) | ||
- [v2.8.0](#v280) | ||
- [Minor Changes](#minor-changes-1) | ||
- [v2.8.1](#v281) | ||
- [Patch Changes](#patch-changes-4) | ||
- [Updated Dependencies](#updated-dependencies-3) | ||
- [Changes by Package](#changes-by-package-4) | ||
- [2.7.2](#272) | ||
- [v2.8.0](#v280) | ||
- [Minor Changes](#minor-changes-2) | ||
- [Patch Changes](#patch-changes-5) | ||
- [2.7.1](#271) | ||
- [Updated Dependencies](#updated-dependencies-4) | ||
- [Changes by Package](#changes-by-package-5) | ||
- [2.7.2](#272) | ||
- [Patch Changes](#patch-changes-6) | ||
- [2.7.1](#271) | ||
- [Patch Changes](#patch-changes-7) | ||
- [v2.7.0](#v270) | ||
- [What's Changed](#whats-changed-2) | ||
- [What's Changed](#whats-changed-3) | ||
- [Stabilized Vite Plugin](#stabilized-vite-plugin) | ||
- [New `Layout` Export](#new-layout-export) | ||
- [Basename support](#basename-support) | ||
- [Cloudflare Proxy as a Vite Plugin](#cloudflare-proxy-as-a-vite-plugin) | ||
- [Minor Changes](#minor-changes-2) | ||
- [Patch Changes](#patch-changes-7) | ||
- [Updated Dependencies](#updated-dependencies-4) | ||
- [Changes by Package](#changes-by-package-5) | ||
- [v2.6.0](#v260) | ||
- [What's Changed](#whats-changed-3) | ||
- [Unstable Vite Plugin updates](#unstable-vite-plugin-updates) | ||
- [Minor Changes](#minor-changes-3) | ||
- [Patch Changes](#patch-changes-8) | ||
- [Updated Dependencies](#updated-dependencies-5) | ||
- [Changes by Package](#changes-by-package-6) | ||
- [v2.5.1](#v251) | ||
- [v2.6.0](#v260) | ||
- [What's Changed](#whats-changed-4) | ||
- [Unstable Vite Plugin updates](#unstable-vite-plugin-updates) | ||
- [Minor Changes](#minor-changes-4) | ||
- [Patch Changes](#patch-changes-9) | ||
- [Updated Dependencies](#updated-dependencies-6) | ||
- [Changes by Package](#changes-by-package-7) | ||
- [v2.5.0](#v250) | ||
- [What's Changed](#whats-changed-4) | ||
- [SPA Mode (unstable)](#spa-mode-unstable) | ||
- [Server Bundles (unstable)](#server-bundles-unstable) | ||
- [Minor Changes](#minor-changes-4) | ||
- [v2.5.1](#v251) | ||
- [Patch Changes](#patch-changes-10) | ||
- [Updated Dependencies](#updated-dependencies-7) | ||
- [Changes by Package](#changes-by-package-8) | ||
- [v2.4.1](#v241) | ||
- [v2.5.0](#v250) | ||
- [What's Changed](#whats-changed-5) | ||
- [SPA Mode (unstable)](#spa-mode-unstable) | ||
- [Server Bundles (unstable)](#server-bundles-unstable) | ||
- [Minor Changes](#minor-changes-5) | ||
- [Patch Changes](#patch-changes-11) | ||
- [Updated Dependencies](#updated-dependencies-8) | ||
- [Changes by Package](#changes-by-package-9) | ||
- [v2.4.1](#v241) | ||
- [Patch Changes](#patch-changes-12) | ||
- [Updated Dependencies](#updated-dependencies-9) | ||
- [Changes by Package](#changes-by-package-10) | ||
- [v2.4.0](#v240) | ||
- [What's Changed](#whats-changed-5) | ||
- [What's Changed](#whats-changed-6) | ||
- [Client Data](#client-data) | ||
- [`future.v3_relativeSplatPath`](#futurev3_relativesplatpath) | ||
- [Vite Updates (Unstable)](#vite-updates-unstable) | ||
- [Minor Changes](#minor-changes-5) | ||
- [Patch Changes](#patch-changes-12) | ||
- [Updated Dependencies](#updated-dependencies-9) | ||
- [Changes by Package](#changes-by-package-10) | ||
- [v2.3.1](#v231) | ||
- [Minor Changes](#minor-changes-6) | ||
- [Patch Changes](#patch-changes-13) | ||
- [Updated Dependencies](#updated-dependencies-10) | ||
- [Changes by Package](#changes-by-package-11) | ||
- [v2.3.0](#v230) | ||
- [What's Changed](#whats-changed-6) | ||
- [Stabilized `useBlocker`](#stabilized-useblocker) | ||
- [`unstable_flushSync` API](#unstable_flushsync-api) | ||
- [Minor Changes](#minor-changes-6) | ||
- [v2.3.1](#v231) | ||
- [Patch Changes](#patch-changes-14) | ||
- [Updated Dependencies](#updated-dependencies-11) | ||
- [Changes by Package](#changes-by-package-12) | ||
- [v2.2.0](#v220) | ||
- [v2.3.0](#v230) | ||
- [What's Changed](#whats-changed-7) | ||
- [Vite!](#vite) | ||
- [New Fetcher APIs](#new-fetcher-apis) | ||
- [Persistence Future Flag](#persistence-future-flag) | ||
- [Stabilized `useBlocker`](#stabilized-useblocker) | ||
- [`unstable_flushSync` API](#unstable_flushsync-api) | ||
- [Minor Changes](#minor-changes-7) | ||
- [Patch Changes](#patch-changes-15) | ||
- [Updated Dependencies](#updated-dependencies-12) | ||
- [Changes by Package](#changes-by-package-13) | ||
- [v2.1.0](#v210) | ||
- [v2.2.0](#v220) | ||
- [What's Changed](#whats-changed-8) | ||
- [View Transitions](#view-transitions) | ||
- [Stable `createRemixStub`](#stable-createremixstub) | ||
- [Vite!](#vite) | ||
- [New Fetcher APIs](#new-fetcher-apis) | ||
- [Persistence Future Flag](#persistence-future-flag) | ||
- [Minor Changes](#minor-changes-8) | ||
- [Patch Changes](#patch-changes-16) | ||
- [Updated Dependencies](#updated-dependencies-13) | ||
- [Changes by Package](#changes-by-package-14) | ||
- [v2.0.1](#v201) | ||
- [v2.1.0](#v210) | ||
- [What's Changed](#whats-changed-9) | ||
- [View Transitions](#view-transitions) | ||
- [Stable `createRemixStub`](#stable-createremixstub) | ||
- [Minor Changes](#minor-changes-9) | ||
- [Patch Changes](#patch-changes-17) | ||
- [Updated Dependencies](#updated-dependencies-14) | ||
- [Changes by Package](#changes-by-package-15) | ||
- [v2.0.1](#v201) | ||
- [Patch Changes](#patch-changes-18) | ||
- [Changes by Package 🔗](#changes-by-package-) | ||
- [v2.0.0](#v200) | ||
- [Breaking Changes](#breaking-changes) | ||
|
@@ -127,8 +134,8 @@ We manage release notes in this file instead of the paginated Github Releases Pa | |
- [Breaking Type Changes](#breaking-type-changes) | ||
- [New Features](#new-features) | ||
- [Other Notable Changes](#other-notable-changes) | ||
- [Updated Dependencies](#updated-dependencies-14) | ||
- [Changes by Package](#changes-by-package-15) | ||
- [Updated Dependencies](#updated-dependencies-15) | ||
- [Changes by Package](#changes-by-package-16) | ||
|
||
</details> | ||
|
||
|
@@ -176,6 +183,61 @@ Date: YYYY-MM-DD | |
--> | ||
|
||
## v2.10.0 | ||
|
||
Date: 2024-06-25 | ||
|
||
### What's Changed | ||
|
||
#### Lazy Route Discovery (a.k.a. "Fog of War") | ||
|
||
The "Fog of War" feature in Remix, now available through the `future.unstable_fogOfWar` flag, is an optimization to reduce the up front size of the Remix route manifest. In most scenarios the Remix route manifest isn't prohibitively large so as to impact initial perf metrics, but at scale we've found that some apps can generate large manifests that are expensive to download and execute on app startup. | ||
|
||
When Fog of War is enabled, Remix will only include the initially server-rendered routes in the manifest and then it will fetch manifest "patches" for outgoing links as the user navigates around. By default, to avoid waterfalls Remix fetches patches for all rendered links, so that in the ideal case they've already been patched in prior to being clicked. If a user clicks a link before this eager discovery completes, then a small waterfall will occur to first "discover" the route, and then navigate to the route. | ||
|
||
Enabling this flag should require no application code changes. For more information, please see the [documentation](https://remix.run/docs/guides/fog-of-war). | ||
|
||
### Minor Changes | ||
|
||
- Add support for Lazy Route Discovery (a.k.a. Fog of War) ([#9600](https://github.com/remix-run/remix/pull/9600), [#9619](https://github.com/remix-run/remix/pull/9619)) | ||
|
||
### Patch Changes | ||
|
||
- `@remix-run/{dev|express|serve}` - Upgrade `express` dependency to `^4.19.2` ([#9184](https://github.com/remix-run/remix/pull/9184)) | ||
- `@remix-run/react` - Don't prefetch server `loader` data when `clientLoader` exists ([#9580](https://github.com/remix-run/remix/pull/9580)) | ||
- `@remix-run/react` - Avoid hydration loops when `Layout`/`ErrorBoundary` renders also throw ([#9566](https://github.com/remix-run/remix/pull/9566)) | ||
- `@remix-run/react` - Fix a hydration bug when using child routes and `HydrateFallback` components with a `basename` ([#9584](https://github.com/remix-run/remix/pull/9584)) | ||
- `@remix-run/{server-runtime|react}` - Single Fetch: Update to `[email protected]` ([#9562](https://github.com/remix-run/remix/pull/9562)) | ||
- `@remix-run/server-runtime` - Single Fetch: Properly handle thrown 4xx/5xx response stubs ([#9501](https://github.com/remix-run/remix/pull/9501)) | ||
- `@remix-run/server-runtime` - Single Fetch: Change redirects to use a 202 status to avoid automatic caching ([#9564](https://github.com/remix-run/remix/pull/9564)) | ||
- `@remix-run/server-runtime` - Single Fetch: Fix issues with returning or throwing a response stub from a resource route in single fetch ([#9488](https://github.com/remix-run/remix/pull/9488)) | ||
- `@remix-run/server-runtime` - Single Fetch: Fix error when returning `null` from a resource route ([#9488](https://github.com/remix-run/remix/pull/9488)) | ||
|
||
### Updated Dependencies | ||
|
||
- [`[email protected]`](https://github.com/remix-run/react-router/releases/tag/react-router%406.24.0) | ||
- [`@remix-run/[email protected]`](https://github.com/remix-run/react-router/blob/main/packages/router/CHANGELOG.md#117) | ||
|
||
### Changes by Package | ||
|
||
- [`create-remix`](https://github.com/remix-run/remix/blob/remix%402.10.0/packages/create-remix/CHANGELOG.md#2100) | ||
- [`@remix-run/architect`](https://github.com/remix-run/remix/blob/remix%402.10.0/packages/remix-architect/CHANGELOG.md#2100) | ||
- [`@remix-run/cloudflare`](https://github.com/remix-run/remix/blob/remix%402.10.0/packages/remix-cloudflare/CHANGELOG.md#2100) | ||
- [`@remix-run/cloudflare-pages`](https://github.com/remix-run/remix/blob/remix%402.10.0/packages/remix-cloudflare-pages/CHANGELOG.md#2100) | ||
- [`@remix-run/cloudflare-workers`](https://github.com/remix-run/remix/blob/remix%402.10.0/packages/remix-cloudflare-workers/CHANGELOG.md#2100) | ||
- [`@remix-run/css-bundle`](https://github.com/remix-run/remix/blob/remix%402.10.0/packages/remix-css-bundle/CHANGELOG.md#2100) | ||
- [`@remix-run/deno`](https://github.com/remix-run/remix/blob/remix%402.10.0/packages/remix-deno/CHANGELOG.md#2100) | ||
- [`@remix-run/dev`](https://github.com/remix-run/remix/blob/remix%402.10.0/packages/remix-dev/CHANGELOG.md#2100) | ||
- [`@remix-run/eslint-config`](https://github.com/remix-run/remix/blob/remix%402.10.0/packages/remix-eslint-config/CHANGELOG.md#2100) | ||
- [`@remix-run/express`](https://github.com/remix-run/remix/blob/remix%402.10.0/packages/remix-express/CHANGELOG.md#2100) | ||
- [`@remix-run/node`](https://github.com/remix-run/remix/blob/remix%402.10.0/packages/remix-node/CHANGELOG.md#2100) | ||
- [`@remix-run/react`](https://github.com/remix-run/remix/blob/remix%402.10.0/packages/remix-react/CHANGELOG.md#2100) | ||
- [`@remix-run/serve`](https://github.com/remix-run/remix/blob/remix%402.10.0/packages/remix-serve/CHANGELOG.md#2100) | ||
- [`@remix-run/server-runtime`](https://github.com/remix-run/remix/blob/remix%402.10.0/packages/remix-server-runtime/CHANGELOG.md#2100) | ||
- [`@remix-run/testing`](https://github.com/remix-run/remix/blob/remix%402.10.0/packages/remix-testing/CHANGELOG.md#2100) | ||
|
||
**Full Changelog**: [`v2.9.2...v2.10.0`](https://github.com/remix-run/remix/compare/[email protected]@2.10.0) | ||
|
||
## v2.9.2 | ||
|
||
Date: 2024-05-10 | ||
|
Oops, something went wrong.