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 Aug 15, 2024
2 parents dfc3401 + 37219b4 commit 332640d
Show file tree
Hide file tree
Showing 40 changed files with 277 additions and 163 deletions.
5 changes: 0 additions & 5 deletions .changeset/rich-teachers-warn.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/shy-ducks-repeat.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/sweet-roses-shake.md

This file was deleted.

172 changes: 94 additions & 78 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,138 +13,142 @@ We manage release notes in this file instead of the paginated Github Releases Pa
<summary>Table of Contents</summary>

- [Remix Releases](#remix-releases)
- [v2.11.1](#v2110)
- [v2.11.2](#v2112)
- [Patch Changes](#patch-changes)
- [Updated Dependencies](#updated-dependencies)
- [Changes by Package](#changes-by-package)
- [v2.11.1](#v2111)
- [Patch Changes](#patch-changes-1)
- [Changes by Package](#changes-by-package-1)
- [v2.11.0](#v2110)
- [What's Changed](#whats-changed)
- [Renamed `unstable_fogOfWar` future flag to `unstable_lazyRouteDiscovery` (unstable)](#renamed-unstable_fogofwar-future-flag-to-unstable_lazyroutediscovery-unstable)
- [Removed `response` stub in Single Fetch (unstable)](#removed-response-stub-in-single-fetch-unstable)
- [Minor Changes](#minor-changes)
- [Patch Changes](#patch-changes)
- [Updated Dependencies](#updated-dependencies)
- [Changes by Package](#changes-by-package)
- [v2.10.3](#v2103)
- [Patch Changes](#patch-changes-1)
- [Updated Dependencies](#updated-dependencies-1)
- [Changes by Package](#changes-by-package-1)
- [v2.10.2](#v2102)
- [Patch Changes](#patch-changes-2)
- [Updated Dependencies](#updated-dependencies-1)
- [Changes by Package](#changes-by-package-2)
- [v2.10.1](#v2101)
- [v2.10.3](#v2103)
- [Patch Changes](#patch-changes-3)
- [Updated Dependencies](#updated-dependencies-2)
- [Changes by Package](#changes-by-package-3)
- [v2.10.2](#v2102)
- [Patch Changes](#patch-changes-4)
- [Changes by Package](#changes-by-package-4)
- [v2.10.1](#v2101)
- [Patch Changes](#patch-changes-5)
- [Updated Dependencies](#updated-dependencies-3)
- [Changes by Package](#changes-by-package-5)
- [v2.10.0](#v2100)
- [What's Changed](#whats-changed-1)
- [Lazy Route Discovery (a.k.a. "Fog of War")](#lazy-route-discovery-aka-fog-of-war)
- [Minor Changes](#minor-changes-1)
- [Patch Changes](#patch-changes-4)
- [Updated Dependencies](#updated-dependencies-3)
- [Changes by Package](#changes-by-package-4)
- [Patch Changes](#patch-changes-6)
- [Updated Dependencies](#updated-dependencies-4)
- [Changes by Package](#changes-by-package-6)
- [v2.9.2](#v292)
- [What's Changed](#whats-changed-2)
- [Updated Type-Safety for Single Fetch](#updated-type-safety-for-single-fetch)
- [Patch Changes](#patch-changes-5)
- [Updated Dependencies](#updated-dependencies-4)
- [Changes by Package](#changes-by-package-5)
- [Patch Changes](#patch-changes-7)
- [Updated Dependencies](#updated-dependencies-5)
- [Changes by Package](#changes-by-package-7)
- [v2.9.1](#v291)
- [Patch Changes](#patch-changes-6)
- [Changes by Package](#changes-by-package-6)
- [Patch Changes](#patch-changes-8)
- [Changes by Package](#changes-by-package-8)
- [v2.9.0](#v290)
- [What's Changed](#whats-changed-3)
- [Single Fetch (unstable)](#single-fetch-unstable)
- [Undici](#undici)
- [Minor Changes](#minor-changes-2)
- [Patch Changes](#patch-changes-7)
- [Updated Dependencies](#updated-dependencies-5)
- [Changes by Package](#changes-by-package-7)
- [v2.8.1](#v281)
- [Patch Changes](#patch-changes-8)
- [Patch Changes](#patch-changes-9)
- [Updated Dependencies](#updated-dependencies-6)
- [Changes by Package](#changes-by-package-8)
- [Changes by Package](#changes-by-package-9)
- [v2.8.1](#v281)
- [Patch Changes](#patch-changes-10)
- [Updated Dependencies](#updated-dependencies-7)
- [Changes by Package](#changes-by-package-10)
- [v2.8.0](#v280)
- [Minor Changes](#minor-changes-3)
- [Patch Changes](#patch-changes-9)
- [Updated Dependencies](#updated-dependencies-7)
- [Changes by Package](#changes-by-package-9)
- [Patch Changes](#patch-changes-11)
- [Updated Dependencies](#updated-dependencies-8)
- [Changes by Package](#changes-by-package-11)
- [2.7.2](#272)
- [Patch Changes](#patch-changes-10)
- [Patch Changes](#patch-changes-12)
- [2.7.1](#271)
- [Patch Changes](#patch-changes-11)
- [Patch Changes](#patch-changes-13)
- [v2.7.0](#v270)
- [What's Changed](#whats-changed-4)
- [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-4)
- [Patch Changes](#patch-changes-12)
- [Updated Dependencies](#updated-dependencies-8)
- [Changes by Package](#changes-by-package-10)
- [Patch Changes](#patch-changes-14)
- [Updated Dependencies](#updated-dependencies-9)
- [Changes by Package](#changes-by-package-12)
- [v2.6.0](#v260)
- [What's Changed](#whats-changed-5)
- [Unstable Vite Plugin updates](#unstable-vite-plugin-updates)
- [Minor Changes](#minor-changes-5)
- [Patch Changes](#patch-changes-13)
- [Updated Dependencies](#updated-dependencies-9)
- [Changes by Package](#changes-by-package-11)
- [v2.5.1](#v251)
- [Patch Changes](#patch-changes-14)
- [Patch Changes](#patch-changes-15)
- [Updated Dependencies](#updated-dependencies-10)
- [Changes by Package](#changes-by-package-12)
- [Changes by Package](#changes-by-package-13)
- [v2.5.1](#v251)
- [Patch Changes](#patch-changes-16)
- [Updated Dependencies](#updated-dependencies-11)
- [Changes by Package](#changes-by-package-14)
- [v2.5.0](#v250)
- [What's Changed](#whats-changed-6)
- [SPA Mode (unstable)](#spa-mode-unstable)
- [Server Bundles (unstable)](#server-bundles-unstable)
- [Minor Changes](#minor-changes-6)
- [Patch Changes](#patch-changes-15)
- [Updated Dependencies](#updated-dependencies-11)
- [Changes by Package](#changes-by-package-13)
- [v2.4.1](#v241)
- [Patch Changes](#patch-changes-16)
- [Patch Changes](#patch-changes-17)
- [Updated Dependencies](#updated-dependencies-12)
- [Changes by Package](#changes-by-package-14)
- [Changes by Package](#changes-by-package-15)
- [v2.4.1](#v241)
- [Patch Changes](#patch-changes-18)
- [Updated Dependencies](#updated-dependencies-13)
- [Changes by Package](#changes-by-package-16)
- [v2.4.0](#v240)
- [What's Changed](#whats-changed-7)
- [Client Data](#client-data)
- [`future.v3_relativeSplatPath`](#futurev3_relativesplatpath)
- [Vite Updates (Unstable)](#vite-updates-unstable)
- [Minor Changes](#minor-changes-7)
- [Patch Changes](#patch-changes-17)
- [Updated Dependencies](#updated-dependencies-13)
- [Changes by Package](#changes-by-package-15)
- [v2.3.1](#v231)
- [Patch Changes](#patch-changes-18)
- [Patch Changes](#patch-changes-19)
- [Updated Dependencies](#updated-dependencies-14)
- [Changes by Package](#changes-by-package-16)
- [Changes by Package](#changes-by-package-17)
- [v2.3.1](#v231)
- [Patch Changes](#patch-changes-20)
- [Updated Dependencies](#updated-dependencies-15)
- [Changes by Package](#changes-by-package-18)
- [v2.3.0](#v230)
- [What's Changed](#whats-changed-8)
- [Stabilized `useBlocker`](#stabilized-useblocker)
- [`unstable_flushSync` API](#unstable_flushsync-api)
- [Minor Changes](#minor-changes-8)
- [Patch Changes](#patch-changes-19)
- [Updated Dependencies](#updated-dependencies-15)
- [Changes by Package](#changes-by-package-17)
- [Patch Changes](#patch-changes-21)
- [Updated Dependencies](#updated-dependencies-16)
- [Changes by Package](#changes-by-package-19)
- [v2.2.0](#v220)
- [What's Changed](#whats-changed-9)
- [Vite!](#vite)
- [New Fetcher APIs](#new-fetcher-apis)
- [Persistence Future Flag](#persistence-future-flag)
- [Minor Changes](#minor-changes-9)
- [Patch Changes](#patch-changes-20)
- [Updated Dependencies](#updated-dependencies-16)
- [Changes by Package](#changes-by-package-18)
- [Patch Changes](#patch-changes-22)
- [Updated Dependencies](#updated-dependencies-17)
- [Changes by Package](#changes-by-package-20)
- [v2.1.0](#v210)
- [What's Changed](#whats-changed-10)
- [View Transitions](#view-transitions)
- [Stable `createRemixStub`](#stable-createremixstub)
- [Minor Changes](#minor-changes-10)
- [Patch Changes](#patch-changes-21)
- [Updated Dependencies](#updated-dependencies-17)
- [Changes by Package](#changes-by-package-19)
- [Patch Changes](#patch-changes-23)
- [Updated Dependencies](#updated-dependencies-18)
- [Changes by Package](#changes-by-package-21)
- [v2.0.1](#v201)
- [Patch Changes](#patch-changes-22)
- [Patch Changes](#patch-changes-24)
- [Changes by Package 🔗](#changes-by-package-)
- [v2.0.0](#v200)
- [Breaking Changes](#breaking-changes)
Expand All @@ -156,8 +160,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-18)
- [Changes by Package](#changes-by-package-20)
- [Updated Dependencies](#updated-dependencies-19)
- [Changes by Package](#changes-by-package-22)

</details>

Expand Down Expand Up @@ -205,31 +209,43 @@ Date: YYYY-MM-DD
-->

## v2.11.2

Date: 2024-08-15

### Patch Changes

- `@remix-run/react` - Fog of War: Simplify implementation now that React Router handles slug/splat edge cases and tracks previously discovered routes (see https://github.com/remix-run/react-router/pull/11883) ([#9860](https://github.com/remix-run/remix/pull/9860))
- ⚠️ This changes the return signature of the internal `/__manifest` endpoint since we no longer need the `notFoundPaths` field
- `@remix-run/react` - Fog of War: Update to use renamed `unstable_patchRoutesOnNavigation` function in RR (see https://github.com/remix-run/react-router/pull/11888) ([#9860](https://github.com/remix-run/remix/pull/9860))
- `@remix-run/server-runtime` - Single Fetch: Fix redirects when a `basename` is present ([#9848](https://github.com/remix-run/remix/pull/9848))
- `@remix-run/server-runtime` - Single Fetch: Update `turbo-stream` to `v2.3.0` ([#9856](https://github.com/remix-run/remix/pull/9856))
- Stabilize object key order for serialized payloads
- Remove memory limitations payloads sizes

### Updated Dependencies

- [`[email protected]`](https://github.com/remix-run/react-router/releases/tag/react-router%406.26.1)
- [`@remix-run/[email protected]`](https://github.com/remix-run/react-router/blob/main/packages/router/CHANGELOG.md#1191)

### Changes by Package

- [`@remix-run/react`](https://github.com/remix-run/remix/blob/remix%402.11.2/packages/remix-react/CHANGELOG.md#2112)
- [`@remix-run/server-runtime`](https://github.com/remix-run/remix/blob/remix%402.11.2/packages/remix-server-runtime/CHANGELOG.md#2112)

**Full Changelog**: [`v2.11.1...v2.11.2`](https://github.com/remix-run/remix/compare/[email protected]@2.11.2)

## v2.11.1

Date: 2024-08-05

### Patch Changes

- Revert #9695, stop infinite reload. ([`6dd275797`](https://github.com/remix-run/remix/commit/6dd2757977d9029501b399f02c83d1010df692d1))
- `@remix-run/react` - Revert #9695, stop infinite reload ([`a7cffe57`](https://github.com/remix-run/remix/commit/a7cffe5733c8b7d0f29bd2d8606876c537d87101))

### Changes by Package

- [`create-remix`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/create-remix/CHANGELOG.md#2111)
- [`@remix-run/architect`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-architect/CHANGELOG.md#2111)
- [`@remix-run/cloudflare`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-cloudflare/CHANGELOG.md#2111)
- [`@remix-run/cloudflare-pages`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-cloudflare-pages/CHANGELOG.md#2111)
- [`@remix-run/cloudflare-workers`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-cloudflare-workers/CHANGELOG.md#2111)
- [`@remix-run/css-bundle`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-css-bundle/CHANGELOG.md#2111)
- [`@remix-run/deno`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-deno/CHANGELOG.md#2111)
- [`@remix-run/dev`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-dev/CHANGELOG.md#2111)
- [`@remix-run/eslint-config`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-eslint-config/CHANGELOG.md#2111)
- [`@remix-run/express`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-express/CHANGELOG.md#2111)
- [`@remix-run/node`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-node/CHANGELOG.md#2111)
- [`@remix-run/react`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-react/CHANGELOG.md#2111)
- [`@remix-run/serve`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-serve/CHANGELOG.md#2111)
- [`@remix-run/server-runtime`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-server-runtime/CHANGELOG.md#2111)
- [`@remix-run/testing`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-testing/CHANGELOG.md#2111)
- [`@remix-run/react`](https://github.com/remix-run/remix/blob/remix%402.11.1/packages/remix-react/CHANGELOG.md#2111)

**Full Changelog**: [`v2.11.0...v2.11.1`](https://github.com/remix-run/remix/compare/[email protected]@2.11.1)

Expand Down
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@
- izznatsir
- jacargentina
- jack-r-warren
- jackhkmatthews
- jacob-ebey
- JacobParis
- jacobwgillespie
Expand Down
10 changes: 6 additions & 4 deletions docs/guides/data-loading.md
Original file line number Diff line number Diff line change
Expand Up @@ -631,14 +631,16 @@ You might want to make an abstraction for checkboxes like this:

function SearchCheckbox({ name, value }) {
const [searchParams] = useSearchParams();
const all = searchParams.getAll(name);
const paramsIncludeValue = searchParams
.getAll(name)
.includes(value);
const [checked, setChecked] = React.useState(
all.includes(value)
paramsIncludeValue
);

React.useEffect(() => {
setChecked(all.includes(value));
}, [all, searchParams, value]);
setChecked(paramsIncludeValue);
}, [paramsIncludeValue]);

return (
<input
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.11.1",
"@remix-run/cloudflare-pages": "2.11.1",
"@remix-run/react": "2.11.1",
"@remix-run/cloudflare": "2.11.2",
"@remix-run/cloudflare-pages": "2.11.2",
"@remix-run/react": "2.11.2",
"isbot": "^4.1.0",
"miniflare": "^3.20231030.4",
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@remix-run/dev": "workspace:*",
"@remix-run/express": "workspace:*",
"@remix-run/node": "workspace:*",
"@remix-run/router": "1.19.1-pre.0",
"@remix-run/router": "1.19.1",
"@remix-run/server-runtime": "workspace:*",
"@types/express": "^4.17.9",
"@vanilla-extract/css": "^1.10.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/create-remix/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# `create-remix`

## 2.11.2

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.11.2.

## 2.11.1

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.11.1.

## 2.11.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.11.0.
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.11.1",
"version": "2.11.2",
"description": "Create a new Remix app",
"homepage": "https://remix.run",
"bugs": {
Expand Down
7 changes: 7 additions & 0 deletions packages/remix-architect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# `@remix-run/architect`

## 2.11.2

### Patch Changes

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

## 2.11.1

### Patch Changes
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.11.1",
"version": "2.11.2",
"description": "Architect server request handler for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand Down
Loading

0 comments on commit 332640d

Please sign in to comment.