Skip to content

Commit

Permalink
Merge branch 'release-next' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Jun 25, 2024
2 parents 2ae39d8 + bc63b11 commit 1789c0c
Show file tree
Hide file tree
Showing 123 changed files with 1,866 additions and 570 deletions.
7 changes: 0 additions & 7 deletions .changeset/afraid-bears-fry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/forty-gifts-boil.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/heavy-ways-rule.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/mighty-experts-agree.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/neat-ghosts-thank.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shiny-bags-breathe.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/smart-mirrors-flow.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/strange-chefs-think.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/two-jars-help.md

This file was deleted.

48 changes: 24 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ jobs:
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: 18
cache: "npm"
node-version-file: ".nvmrc"
cache: "pnpm"

- id: find_package_version
run: |
Expand All @@ -98,26 +98,26 @@ jobs:
needs: [release, find_package_version]
uses: ./.github/workflows/release-comments.yml

deployments:
name: 🚀 Deployment Tests
if: github.repository == 'remix-run/remix'
needs: [release, find_package_version]
uses: ./.github/workflows/deployments.yml
secrets:
TEST_AWS_ACCESS_KEY_ID: ${{ secrets.TEST_AWS_ACCESS_KEY_ID }}
TEST_AWS_SECRET_ACCESS_KEY: ${{ secrets.TEST_AWS_SECRET_ACCESS_KEY }}
TEST_CF_ACCOUNT_ID: ${{ secrets.TEST_CF_ACCOUNT_ID }}
TEST_CF_GLOBAL_API_KEY: ${{ secrets.TEST_CF_GLOBAL_API_KEY }}
TEST_CF_EMAIL: ${{ secrets.TEST_CF_EMAIL }}
TEST_CF_PAGES_API_TOKEN: ${{ secrets.TEST_CF_PAGES_API_TOKEN }}
TEST_CF_API_TOKEN: ${{ secrets.TEST_CF_API_TOKEN }}
TEST_DENO_DEPLOY_TOKEN: ${{ secrets.TEST_DENO_DEPLOY_TOKEN }}
TEST_FLY_TOKEN: ${{ secrets.TEST_FLY_TOKEN }}
# deployments:
# name: 🚀 Deployment Tests
# if: github.repository == 'remix-run/remix'
# needs: [release, find_package_version]
# uses: ./.github/workflows/deployments.yml
# secrets:
# TEST_AWS_ACCESS_KEY_ID: ${{ secrets.TEST_AWS_ACCESS_KEY_ID }}
# TEST_AWS_SECRET_ACCESS_KEY: ${{ secrets.TEST_AWS_SECRET_ACCESS_KEY }}
# TEST_CF_ACCOUNT_ID: ${{ secrets.TEST_CF_ACCOUNT_ID }}
# TEST_CF_GLOBAL_API_KEY: ${{ secrets.TEST_CF_GLOBAL_API_KEY }}
# TEST_CF_EMAIL: ${{ secrets.TEST_CF_EMAIL }}
# TEST_CF_PAGES_API_TOKEN: ${{ secrets.TEST_CF_PAGES_API_TOKEN }}
# TEST_CF_API_TOKEN: ${{ secrets.TEST_CF_API_TOKEN }}
# TEST_DENO_DEPLOY_TOKEN: ${{ secrets.TEST_DENO_DEPLOY_TOKEN }}
# TEST_FLY_TOKEN: ${{ secrets.TEST_FLY_TOKEN }}

stacks:
name: 🥞 Remix Stacks Test
if: github.repository == 'remix-run/remix'
needs: [release, find_package_version]
uses: ./.github/workflows/stacks.yml
with:
version: ${{ needs.find_package_version.outputs.package_version }}
# stacks:
# name: 🥞 Remix Stacks Test
# if: github.repository == 'remix-run/remix'
# needs: [release, find_package_version]
# uses: ./.github/workflows/stacks.yml
# with:
# version: ${{ needs.find_package_version.outputs.package_version }}
160 changes: 111 additions & 49 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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>

Expand Down Expand Up @@ -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
Expand Down
Loading

0 comments on commit 1789c0c

Please sign in to comment.