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 Dec 20, 2024
2 parents cbabd67 + 73f7a25 commit 0e10e98
Show file tree
Hide file tree
Showing 48 changed files with 263 additions and 113 deletions.
5 changes: 0 additions & 5 deletions .changeset/unlucky-melons-promise.md

This file was deleted.

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

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

</details>
Expand Down Expand Up @@ -240,6 +245,21 @@ Date: YYYY-MM-DD
-->

## v2.15.2

Date: 2024-12-20

### Patch Changes

- `@remix-run/dev` - Allow suppression of future flag warnings by setting them to `false` ([#10358](https://github.com/remix-run/remix/pull/10358))
- `@remix-run/react` - Throw unwrapped Single Fetch `redirect` to align with pre-Single Fetch behavior ([#10317](https://github.com/remix-run/remix/pull/10317))

### Updated Dependencies

- [`[email protected]`](https://github.com/remix-run/react-router/releases/tag/react-router%406.28.1)

**Full Changelog**: [`v2.15.1...v2.15.2`](https://github.com/remix-run/remix/compare/[email protected]@2.15.2)

## v2.15.1

Date: 2024-12-09
Expand Down
4 changes: 4 additions & 0 deletions docs/guides/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ description: The quickest way to get rocking and rolling with Remix

# Templates and Stacks

<docs-warning>Just getting started with Remix? The latest version of [Remix is now React Router v7][remix-now-react-router]. If you want to use the latest framework features, you should create your project using a [React Router template][react-router-templates].</docs-warning>

When using [`create-remix`][create_remix] to generate a new project, you can choose a Template or a Stack to quickly get up and running. Templates are minimal starting points to get you up and running. "Stacks" are templates that are more-complete and closer to production ready architectures (potentially including aspects such as testing, database, CI, and deployment configurations).

## Templates
Expand Down Expand Up @@ -170,3 +172,5 @@ After the init script has been run, the `remix.init` folder gets deleted, so you
[arc]: https://arc.codes/docs/en/get-started/quickstart
[deno]: https://deno.com
[cloudflare]: https://www.cloudflare.com
[remix-now-react-router]: https://remix.run/blog/incremental-path-to-react-19
[react-router-templates]: https://github.com/remix-run/react-router-templates
5 changes: 5 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ hidden: true

# Remix Docs

<docs-warning>Just getting started with Remix? The latest version of [Remix is now React Router v7][remix-now-react-router]. If you want to use the latest framework features, you should use the [React Router docs to get started][react-router-get-started].</docs-warning>

```shellscript nonumber
npx create-remix@latest
```
Expand Down Expand Up @@ -51,3 +53,6 @@ npx create-remix@latest
- **Guides**: They're great for learning how to use Remix in a specific way or for a specific use case.
-->

[remix-now-react-router]: https://remix.run/blog/incremental-path-to-react-19
[react-router-get-started]: https://reactrouter.com/start/framework/installation
4 changes: 4 additions & 0 deletions docs/other-api/create-remix.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ title: "create-remix (CLI)"

# `create-remix`

<docs-warning>Just getting started with Remix? The latest version of [Remix is now React Router v7][remix-now-react-router]. If you want to use the latest framework features, you should use the [`create-react-router` CLI to start a new project][create-react-router].</docs-warning>

The `create-remix` CLI will create a new Remix project. Without passing arguments, this command will launch an interactive CLI to configure the new project and set it up in a given directory.

```sh
Expand Down Expand Up @@ -86,3 +88,5 @@ If `create-remix` detects any file collisions between the template and the direc
[templates]: ../guides/templates
[remix-app-server]: ./serve
[template-flag-hash-link]: #create-remix---template
[remix-now-react-router]: https://remix.run/blog/incremental-path-to-react-19
[create-react-router]: https://reactrouter.com/start/framework/installation
17 changes: 17 additions & 0 deletions docs/start/future-flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,19 @@ type SerializeFrom<T> = ReturnType<typeof useLoaderData<T>>;

In most cases, you should be able to just remove `SerializeFrom` and use the types returned from `useLoaderData`/`useActionData`, or the types of the data in `loader`/`action` functions.

### Multipart Form Data and File Upload utilities

The following utilities are deprecated and will be removed in React Router v7:

- `unstable_parseMultipartFormData`
- `unstable_composeUploadHandlers`
- `unstable_createFileUploadHandler`
- `unstable_createMemoryUploadHandler`

We recommend using [`@mjackson/form-data-parser`][form-data-parser] and [`@mjackson/file-storage`][file-storage] to handle multipart form data and file uploads.

You can also checkout the [React Router "File Uploads" doc][react-router-file-uploads] or ["File uploads with Remix"][file-uploads-with-remix] blog post for guides on using these libraries.

[development-strategy]: ../guides/api-development-strategy
[fetcherpersist-rfc]: https://github.com/remix-run/remix/discussions/7698
[relativesplatpath-changelog]: https://github.com/remix-run/remix/blob/main/CHANGELOG.md#futurev3_relativesplatpath
Expand Down Expand Up @@ -724,3 +737,7 @@ In most cases, you should be able to just remove `SerializeFrom` and use the typ
[data-api]: ../utils/data
[response-json]: https://developer.mozilla.org/en-US/docs/Web/API/Response/json
[remix-template-eslint-config]: https://github.com/remix-run/remix/blob/main/templates/remix/.eslintrc.cjs
[form-data-parser]: https://github.com/mjackson/remix-the-web/tree/main/packages/form-data-parser
[file-storage]: https://github.com/mjackson/remix-the-web/tree/main/packages/file-storage
[file-uploads-with-remix]: https://programmingarehard.com/2024/09/06/remix-file-uploads-updated.html/
[react-router-file-uploads]: https://reactrouter.com/how-to/file-uploads
4 changes: 4 additions & 0 deletions docs/start/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ order: 1

# Quick Start

<docs-warning>Just getting started with Remix? The latest version of [Remix is now React Router v7][remix-now-react-router]. If you want to use the latest features, you should use the [React Router docs to get started][react-router-get-started].</docs-warning>

This guide will get you familiar with the basic plumbing required to run a Remix app as quickly as possible. While there are many starter templates with different runtimes, deploy targets, and databases, we're going to create a bare-bones project from scratch.

When you're ready to get serious about your Remix project, you might consider starting with a community template. They include TypeScript setups, databases, testing harnesses, authentication, and more. You can find a list of community templates on the [Remix Resources][templates] page.
Expand Down Expand Up @@ -284,3 +286,5 @@ What's next?
[vite-config]: https://vitejs.dev/config
[vite-middleware]: https://vitejs.dev/guide/ssr#setting-up-the-dev-server
[cross-env]: https://www.npmjs.com/package/cross-env
[remix-now-react-router]: https://remix.run/blog/incremental-path-to-react-19
[react-router-get-started]: https://reactrouter.com/start/framework/installation
4 changes: 4 additions & 0 deletions docs/start/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ order: 2

# Remix Tutorial

<docs-warning>Just getting started with Remix? The latest version of [Remix is now React Router v7][remix-now-react-router]. If you want to use the latest framework features, you can follow the same [tutorial from the React Router docs][react-router-tutorial].</docs-warning>

We'll be building a small, but feature-rich app that lets you keep track of your contacts. There's no database or other "production ready" things, so we can stay focused on Remix. We expect it to take about 30m if you're following along, otherwise it's a quick read.

<img class="tutorial" src="/docs-images/contacts/01.webp" />
Expand Down Expand Up @@ -1639,3 +1641,5 @@ That's it! Thanks for giving Remix a shot. We hope this tutorial gives you a sol
[quickstart]: ./quickstart
[http-localhost-5173]: http://localhost:5173
[fetch]: https://developer.mozilla.org/en-US/docs/Web/API/fetch
[remix-now-react-router]: https://remix.run/blog/incremental-path-to-react-19
[react-router-tutorial]: https://reactrouter.com/tutorials/address-book
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.15.1",
"@remix-run/cloudflare-pages": "2.15.1",
"@remix-run/react": "2.15.1",
"@remix-run/cloudflare": "2.15.2",
"@remix-run/cloudflare-pages": "2.15.2",
"@remix-run/react": "2.15.2",
"isbot": "^4.1.0",
"miniflare": "^3.20231030.4",
"react": "^18.2.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/create-remix/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# `create-remix`

## 2.15.2

## 2.15.1

### Patch Changes
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.15.1",
"version": "2.15.2",
"description": "Create a new Remix app",
"homepage": "https://remix.run",
"bugs": {
Expand Down
Loading

0 comments on commit 0e10e98

Please sign in to comment.