Skip to content

Commit

Permalink
chore: Update version for release (#9655)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Brophy <[email protected]>
  • Loading branch information
3 people authored Jun 25, 2024
1 parent 4c37ea2 commit bc63b11
Show file tree
Hide file tree
Showing 50 changed files with 74 additions and 541 deletions.
7 changes: 0 additions & 7 deletions .changeset/afraid-bears-fry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eleven-snakes-end.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/popular-numbers-hang.md

This file was deleted.

43 changes: 0 additions & 43 deletions .changeset/pre.json

This file was deleted.

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

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shiny-squids-wave.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.

5 changes: 0 additions & 5 deletions .changeset/tall-news-trade.md

This file was deleted.

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

This file was deleted.

8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,15 +185,15 @@ Date: YYYY-MM-DD

## v2.10.0

Date: 2024-06-18
Date: 2024-06-25

### What's Changed

#### Lazy Route Discovery (a.k.a. Fog of War)
#### 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 waterwall will occur to first "discover" the route, and then navigate to the route.
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).

Expand All @@ -207,11 +207,11 @@ Enabling this flag should require no application code changes. For more informat
- `@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))
- `@remix-run/server-runtime` - Single Fetch: Update to `[email protected]` ([#9562](https://github.com/remix-run/remix/pull/9562))

### Updated Dependencies

Expand Down
3 changes: 1 addition & 2 deletions docs/file-conventions/vite-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The path to the `app` directory, relative to the project root. Defaults to

#### future

The `future` config lets you opt-into future breaking changes via [Future Flags][future-flags]. Please see the [Current Future Flags][current-future-flags] section for a list of all available Future Flags.
The `future` config lets you opt-into future breaking changes via [Future Flags][future-flags].

#### ignoredRouteFiles

Expand Down Expand Up @@ -143,4 +143,3 @@ You may also want to enable the `manifest` option since, when server bundles are
[rr-basename]: https://reactrouter.com/routers/create-browser-router#basename
[vite-public-base-path]: https://vitejs.dev/config/shared-options.html#base
[vite-base]: https://vitejs.dev/config/shared-options.html#base
[current-future-flags]: ../start/future-flags#current-future-flags
6 changes: 4 additions & 2 deletions docs/guides/fog-of-war.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title: Fog of War

# Fog Of War

Remix introduced support for "Fog of War" ([RFC][rfc]) behind the [`future.unstable_fogOfWar`][future-flags] flag in [`v2.10.0`][2.10.0] which allows you to opt-into this behavior which will become the default in the next major version of Remix - a.k.a. React Router v7 ([1][rr-v7], [2][rr-v7-2]).
<docs-warning>This is an unstable API and will continue to change, do not adopt in production</docs-warning>

Remix introduced support for "Fog of War" ([RFC][rfc]) behind the `future.unstable_fogOfWar` [Future Flag][future-flags] in [`v2.10.0`][2.10.0]. This allows you to opt-into this behavior which will become the default in the next major version of Remix - a.k.a. React Router v7 ([1][rr-v7], [2][rr-v7-2]).

## Current Behavior

Expand Down Expand Up @@ -48,7 +50,7 @@ If you wish to opt-out of this eager route discovery on a per-link basis, you ca
- ⚠️ This is considered an internal implementation detail and is not intended to be requested by application code.

[rfc]: https://github.com/remix-run/react-router/discussions/11113
[future-flags]: ../file-conventions/remix-config#future
[future-flags]: ../guides/api-development-strategy
[2.10.0]: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#v2100
[link]: ../components/link
[navlink]: ../components/nav-link
Expand Down
6 changes: 3 additions & 3 deletions integration/helpers/vite-cloudflare-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"typecheck": "tsc"
},
"dependencies": {
"@remix-run/cloudflare": "2.10.0-pre.4",
"@remix-run/cloudflare-pages": "2.10.0-pre.4",
"@remix-run/react": "2.10.0-pre.4",
"@remix-run/cloudflare": "2.10.0",
"@remix-run/cloudflare-pages": "2.10.0",
"@remix-run/react": "2.10.0",
"isbot": "^4.1.0",
"miniflare": "^3.20231030.4",
"react": "^18.2.0",
Expand Down
10 changes: 2 additions & 8 deletions packages/create-remix/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
# `create-remix`

## 2.10.0-pre.4
## 2.10.0

## 2.10.0-pre.3

## 2.10.0-pre.2

## 2.10.0-pre.1

## 2.10.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.10.0.

## 2.9.2

Expand Down
2 changes: 1 addition & 1 deletion packages/create-remix/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-remix",
"version": "2.10.0-pre.4",
"version": "2.10.0",
"description": "Create a new Remix app",
"homepage": "https://remix.run",
"bugs": {
Expand Down
32 changes: 2 additions & 30 deletions packages/remix-architect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,11 @@
# `@remix-run/architect`

## 2.10.0-pre.4
## 2.10.0

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`

## 2.10.0-pre.3

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`

## 2.10.0-pre.2

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`

## 2.10.0-pre.1

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`

## 2.10.0-pre.0

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`
- `@remix-run/[email protected]`

## 2.9.2

Expand Down
2 changes: 1 addition & 1 deletion packages/remix-architect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/architect",
"version": "2.10.0-pre.4",
"version": "2.10.0",
"description": "Architect server request handler for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand Down
32 changes: 2 additions & 30 deletions packages/remix-cloudflare-pages/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,11 @@
# `@remix-run/cloudflare-pages`

## 2.10.0-pre.4
## 2.10.0

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`

## 2.10.0-pre.3

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`

## 2.10.0-pre.2

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`

## 2.10.0-pre.1

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`

## 2.10.0-pre.0

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`
- `@remix-run/[email protected]`

## 2.9.2

Expand Down
2 changes: 1 addition & 1 deletion packages/remix-cloudflare-pages/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/cloudflare-pages",
"version": "2.10.0-pre.4",
"version": "2.10.0",
"description": "Cloudflare Pages request handler for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand Down
32 changes: 2 additions & 30 deletions packages/remix-cloudflare-workers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,11 @@
# `@remix-run/cloudflare-workers`

## 2.10.0-pre.4
## 2.10.0

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`

## 2.10.0-pre.3

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`

## 2.10.0-pre.2

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`

## 2.10.0-pre.1

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`

## 2.10.0-pre.0

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`
- `@remix-run/[email protected]`

## 2.9.2

Expand Down
2 changes: 1 addition & 1 deletion packages/remix-cloudflare-workers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/cloudflare-workers",
"version": "2.10.0-pre.4",
"version": "2.10.0",
"description": "Cloudflare worker request handler for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand Down
Loading

0 comments on commit bc63b11

Please sign in to comment.