Skip to content

Commit

Permalink
Merge branch 'release-next'
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Sep 19, 2024
2 parents 0e54277 + e596b9b commit 89ea919
Show file tree
Hide file tree
Showing 46 changed files with 340 additions and 90 deletions.
125 changes: 75 additions & 50 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,151 +13,154 @@ We manage release notes in this file instead of the paginated Github Releases Pa
<summary>Table of Contents</summary>

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

</details>

Expand Down Expand Up @@ -218,6 +221,28 @@ Date: YYYY-MM-DD
-->

## v2.12.1

Date: 2024-09-19

### Patch Changes

- `@remix-run/dev` - Properly abort `request.signal` during `vite dev` when the node response is closed ([#9976](https://github.com/remix-run/remix/pull/9976))
- `@remix-run/dev` - CSS imports with `?inline`, `?inline-css` and `?raw` are no longer incorrectly injected during SSR in development ([#9910](https://github.com/remix-run/remix/pull/9910))
- `@remix-run/server-runtime`: Single Fetch: Fix types when `loader`, `action`, `clientLoader`, or `clientAction` return a mixture of bare objects, `json(...)`, `defer(...)`, and `unstable_data(...)`. ([#9999](https://github.com/remix-run/remix/pull/9999))
- `@remix-run/node`/`@remix-run/cloudflare`/`@remix-run/deno` - Single Fetch: Re-export `interface Future` through runtime packages so that `pnpm` doesn't complain about `@remix-run/server-runtime` not being a dependency ([#9982](https://github.com/remix-run/remix/pull/9982))
- If you've already opted into Single Fetch, you can change your [Single Fetch type augmentation](https://remix.run/docs/guides/single-fetch#enable-single-fetch-types) in `vite.config.ts` to augment `@remix-run/node` (or `cloudflare`/`deno`) instead of `@remix-run/server-runtime`

### Changes by Package

- [`@remix-run/cloudflare`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-cloudflare/CHANGELOG.md#2XY)
- [`@remix-run/deno`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-deno/CHANGELOG.md#2XY)
- [`@remix-run/dev`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-dev/CHANGELOG.md#2XY)
- [`@remix-run/node`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-node/CHANGELOG.md#2XY)
- [`@remix-run/server-runtime`](https://github.com/remix-run/remix/blob/remix%402.X.Y/packages/remix-server-runtime/CHANGELOG.md#2XY)

**Full Changelog**: [`v2.12.0...v2.12.1`](https://github.com/remix-run/remix/compare/remix@2.12.0...remix@2.12.1)

## v2.12.0

Date: 2024-09-09
Expand Down
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
- dhargitai
- dhmacs
- dima-takoy
- dj-rabel
- dmarkow
- dmillar
- DNLHC
Expand Down
3 changes: 2 additions & 1 deletion docs/guides/single-fetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ You can do this in any file covered by your `tsconfig.json` > `include`.
We recommend you do this in your `vite.config.ts` to keep it colocated with the `future.unstable_singleFetch` future flag in the Remix plugin:

```ts
declare module "@remix-run/server-runtime" {
declare module "@remix-run/node" {
// or cloudflare, deno, etc.
interface Future {
unstable_singleFetch: true;
}
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.12.0",
"@remix-run/cloudflare-pages": "2.12.0",
"@remix-run/react": "2.12.0",
"@remix-run/cloudflare": "2.12.1",
"@remix-run/cloudflare-pages": "2.12.1",
"@remix-run/react": "2.12.1",
"isbot": "^4.1.0",
"miniflare": "^3.20231030.4",
"react": "^18.2.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-remix/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# `create-remix`

## 2.12.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.12.1.

## 2.12.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.12.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.12.0",
"version": "2.12.1",
"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.12.1

### Patch Changes

- Updated dependencies:
- `@remix-run/node@2.12.1`

## 2.12.0

### 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.12.0",
"version": "2.12.1",
"description": "Architect server request handler for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand Down
7 changes: 7 additions & 0 deletions packages/remix-cloudflare-pages/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# `@remix-run/cloudflare-pages`

## 2.12.1

### Patch Changes

- Updated dependencies:
- `@remix-run/cloudflare@2.12.1`

## 2.12.0

### Patch Changes
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.12.0",
"version": "2.12.1",
"description": "Cloudflare Pages request handler for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand Down
7 changes: 7 additions & 0 deletions packages/remix-cloudflare-workers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# `@remix-run/cloudflare-workers`

## 2.12.1

### Patch Changes

- Updated dependencies:
- `@remix-run/cloudflare@2.12.1`

## 2.12.0

### Patch Changes
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.12.0",
"version": "2.12.1",
"description": "Cloudflare worker request handler for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand Down
8 changes: 8 additions & 0 deletions packages/remix-cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# `@remix-run/cloudflare`

## 2.12.1

### Patch Changes

- Single Fetch: Re-export `interface Future` through `@remix-run/node`/`@remix-run/cloudflare`/`@remix-run/deno` packages so that `pnpm` doesn't complain about `@remix-run/server-runtime` not being a dependency ([#9982](https://github.com/remix-run/remix/pull/9982))
- Updated dependencies:
- `@remix-run/server-runtime@2.12.1`

## 2.12.0

### Patch Changes
Expand Down
1 change: 1 addition & 0 deletions packages/remix-cloudflare/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export type {
DataFunctionArgs,
EntryContext,
ErrorResponse,
Future,
HandleDataRequestFunction,
HandleDocumentRequestFunction,
HeadersArgs,
Expand Down
2 changes: 1 addition & 1 deletion packages/remix-cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/cloudflare",
"version": "2.12.0",
"version": "2.12.1",
"description": "Cloudflare platform abstractions for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand Down
4 changes: 4 additions & 0 deletions packages/remix-css-bundle/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @remix-run/css-bundle

## 2.12.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.12.1.

## 2.12.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.12.0.
Expand Down
Loading

0 comments on commit 89ea919

Please sign in to comment.