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 Jan 16, 2025
2 parents c364bd4 + acfac48 commit 257328a
Show file tree
Hide file tree
Showing 47 changed files with 484 additions and 142 deletions.
5 changes: 0 additions & 5 deletions .changeset/afraid-jeans-drive.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/beige-ants-pay.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/calm-cycles-dress.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lazy-elephants-tell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/new-news-decide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/polite-clocks-shake.md

This file was deleted.

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

- [React Router Releases](#react-router-releases)
- [v7.1.1](#v711)
- [v7.1.2](#v712)
- [Patch Changes](#patch-changes)
- [v7.1.1](#v711)
- [Patch Changes](#patch-changes-1)
- [v7.1.0](#v710)
- [Minor Changes](#minor-changes)
- [Patch Changes](#patch-changes-1)
- [Patch Changes](#patch-changes-2)
- [Changes by Package](#changes-by-package)
- [v7.0.2](#v702)
- [Patch Changes](#patch-changes-2)
- [v7.0.1](#v701)
- [Patch Changes](#patch-changes-3)
- [v7.0.1](#v701)
- [Patch Changes](#patch-changes-4)
- [v7.0.0](#v700)
- [Breaking Changes](#breaking-changes)
- [Package Restructuring](#package-restructuring)
Expand All @@ -39,190 +41,190 @@ We manage release notes in this file instead of the paginated Github Releases Pa
- [Major Changes (`react-router`)](#major-changes-react-router)
- [Major Changes (`@react-router/*`)](#major-changes-react-router-1)
- [Minor Changes](#minor-changes-1)
- [Patch Changes](#patch-changes-4)
- [Patch Changes](#patch-changes-5)
- [Changes by Package](#changes-by-package-1)
- [v6.28.1](#v6281)
- [Patch Changes](#patch-changes-5)
- [Patch Changes](#patch-changes-6)
- [v6.28.0](#v6280)
- [What's Changed](#whats-changed)
- [Minor Changes](#minor-changes-2)
- [Patch Changes](#patch-changes-6)
- [Patch Changes](#patch-changes-7)
- [v6.27.0](#v6270)
- [What's Changed](#whats-changed-1)
- [Stabilized APIs](#stabilized-apis)
- [Minor Changes](#minor-changes-3)
- [Patch Changes](#patch-changes-7)
- [v6.26.2](#v6262)
- [Patch Changes](#patch-changes-8)
- [v6.26.1](#v6261)
- [v6.26.2](#v6262)
- [Patch Changes](#patch-changes-9)
- [v6.26.1](#v6261)
- [Patch Changes](#patch-changes-10)
- [v6.26.0](#v6260)
- [Minor Changes](#minor-changes-4)
- [Patch Changes](#patch-changes-10)
- [v6.25.1](#v6251)
- [Patch Changes](#patch-changes-11)
- [v6.25.1](#v6251)
- [Patch Changes](#patch-changes-12)
- [v6.25.0](#v6250)
- [What's Changed](#whats-changed-2)
- [Stabilized `v7_skipActionErrorRevalidation`](#stabilized-v7_skipactionerrorrevalidation)
- [Minor Changes](#minor-changes-5)
- [Patch Changes](#patch-changes-12)
- [v6.24.1](#v6241)
- [Patch Changes](#patch-changes-13)
- [v6.24.1](#v6241)
- [Patch Changes](#patch-changes-14)
- [v6.24.0](#v6240)
- [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-6)
- [Patch Changes](#patch-changes-14)
- [v6.23.1](#v6231)
- [Patch Changes](#patch-changes-15)
- [v6.23.1](#v6231)
- [Patch Changes](#patch-changes-16)
- [v6.23.0](#v6230)
- [What's Changed](#whats-changed-4)
- [Data Strategy (unstable)](#data-strategy-unstable)
- [Skip Action Error Revalidation (unstable)](#skip-action-error-revalidation-unstable)
- [Minor Changes](#minor-changes-7)
- [v6.22.3](#v6223)
- [Patch Changes](#patch-changes-16)
- [v6.22.2](#v6222)
- [Patch Changes](#patch-changes-17)
- [v6.22.1](#v6221)
- [v6.22.2](#v6222)
- [Patch Changes](#patch-changes-18)
- [v6.22.1](#v6221)
- [Patch Changes](#patch-changes-19)
- [v6.22.0](#v6220)
- [What's Changed](#whats-changed-5)
- [Core Web Vitals Technology Report Flag](#core-web-vitals-technology-report-flag)
- [Minor Changes](#minor-changes-8)
- [Patch Changes](#patch-changes-19)
- [v6.21.3](#v6213)
- [Patch Changes](#patch-changes-20)
- [v6.21.2](#v6212)
- [v6.21.3](#v6213)
- [Patch Changes](#patch-changes-21)
- [v6.21.1](#v6211)
- [v6.21.2](#v6212)
- [Patch Changes](#patch-changes-22)
- [v6.21.1](#v6211)
- [Patch Changes](#patch-changes-23)
- [v6.21.0](#v6210)
- [What's Changed](#whats-changed-6)
- [`future.v7_relativeSplatPath`](#futurev7_relativesplatpath)
- [Partial Hydration](#partial-hydration)
- [Minor Changes](#minor-changes-9)
- [Patch Changes](#patch-changes-23)
- [v6.20.1](#v6201)
- [Patch Changes](#patch-changes-24)
- [v6.20.1](#v6201)
- [Patch Changes](#patch-changes-25)
- [v6.20.0](#v6200)
- [Minor Changes](#minor-changes-10)
- [Patch Changes](#patch-changes-25)
- [Patch Changes](#patch-changes-26)
- [v6.19.0](#v6190)
- [What's Changed](#whats-changed-7)
- [`unstable_flushSync` API](#unstable_flushsync-api)
- [Minor Changes](#minor-changes-11)
- [Patch Changes](#patch-changes-26)
- [Patch Changes](#patch-changes-27)
- [v6.18.0](#v6180)
- [What's Changed](#whats-changed-8)
- [New Fetcher APIs](#new-fetcher-apis)
- [Persistence Future Flag (`future.v7_fetcherPersist`)](#persistence-future-flag-futurev7_fetcherpersist)
- [Minor Changes](#minor-changes-12)
- [Patch Changes](#patch-changes-27)
- [Patch Changes](#patch-changes-28)
- [v6.17.0](#v6170)
- [What's Changed](#whats-changed-9)
- [View Transitions 🚀](#view-transitions-)
- [Minor Changes](#minor-changes-13)
- [Patch Changes](#patch-changes-28)
- [Patch Changes](#patch-changes-29)
- [v6.16.0](#v6160)
- [Minor Changes](#minor-changes-14)
- [Patch Changes](#patch-changes-29)
- [Patch Changes](#patch-changes-30)
- [v6.15.0](#v6150)
- [Minor Changes](#minor-changes-15)
- [Patch Changes](#patch-changes-30)
- [v6.14.2](#v6142)
- [Patch Changes](#patch-changes-31)
- [v6.14.1](#v6141)
- [v6.14.2](#v6142)
- [Patch Changes](#patch-changes-32)
- [v6.14.1](#v6141)
- [Patch Changes](#patch-changes-33)
- [v6.14.0](#v6140)
- [What's Changed](#whats-changed-10)
- [JSON/Text Submissions](#jsontext-submissions)
- [Minor Changes](#minor-changes-16)
- [Patch Changes](#patch-changes-33)
- [Patch Changes](#patch-changes-34)
- [v6.13.0](#v6130)
- [What's Changed](#whats-changed-11)
- [`future.v7_startTransition`](#futurev7_starttransition)
- [Minor Changes](#minor-changes-17)
- [Patch Changes](#patch-changes-34)
- [v6.12.1](#v6121)
- [Patch Changes](#patch-changes-35)
- [v6.12.1](#v6121)
- [Patch Changes](#patch-changes-36)
- [v6.12.0](#v6120)
- [What's Changed](#whats-changed-12)
- [`React.startTransition` support](#reactstarttransition-support)
- [Minor Changes](#minor-changes-18)
- [Patch Changes](#patch-changes-36)
- [v6.11.2](#v6112)
- [Patch Changes](#patch-changes-37)
- [v6.11.1](#v6111)
- [v6.11.2](#v6112)
- [Patch Changes](#patch-changes-38)
- [v6.11.1](#v6111)
- [Patch Changes](#patch-changes-39)
- [v6.11.0](#v6110)
- [Minor Changes](#minor-changes-19)
- [Patch Changes](#patch-changes-39)
- [Patch Changes](#patch-changes-40)
- [v6.10.0](#v6100)
- [What's Changed](#whats-changed-13)
- [Minor Changes](#minor-changes-20)
- [`future.v7_normalizeFormMethod`](#futurev7_normalizeformmethod)
- [Patch Changes](#patch-changes-40)
- [Patch Changes](#patch-changes-41)
- [v6.9.0](#v690)
- [What's Changed](#whats-changed-14)
- [`Component`/`ErrorBoundary` route properties](#componenterrorboundary-route-properties)
- [Introducing Lazy Route Modules](#introducing-lazy-route-modules)
- [Minor Changes](#minor-changes-21)
- [Patch Changes](#patch-changes-41)
- [v6.8.2](#v682)
- [Patch Changes](#patch-changes-42)
- [v6.8.1](#v681)
- [v6.8.2](#v682)
- [Patch Changes](#patch-changes-43)
- [v6.8.1](#v681)
- [Patch Changes](#patch-changes-44)
- [v6.8.0](#v680)
- [Minor Changes](#minor-changes-22)
- [Patch Changes](#patch-changes-44)
- [Patch Changes](#patch-changes-45)
- [v6.7.0](#v670)
- [Minor Changes](#minor-changes-23)
- [Patch Changes](#patch-changes-45)
- [v6.6.2](#v662)
- [Patch Changes](#patch-changes-46)
- [v6.6.1](#v661)
- [v6.6.2](#v662)
- [Patch Changes](#patch-changes-47)
- [v6.6.1](#v661)
- [Patch Changes](#patch-changes-48)
- [v6.6.0](#v660)
- [What's Changed](#whats-changed-15)
- [Minor Changes](#minor-changes-24)
- [Patch Changes](#patch-changes-48)
- [Patch Changes](#patch-changes-49)
- [v6.5.0](#v650)
- [What's Changed](#whats-changed-16)
- [Minor Changes](#minor-changes-25)
- [Patch Changes](#patch-changes-49)
- [v6.4.5](#v645)
- [Patch Changes](#patch-changes-50)
- [v6.4.4](#v644)
- [v6.4.5](#v645)
- [Patch Changes](#patch-changes-51)
- [v6.4.3](#v643)
- [v6.4.4](#v644)
- [Patch Changes](#patch-changes-52)
- [v6.4.2](#v642)
- [v6.4.3](#v643)
- [Patch Changes](#patch-changes-53)
- [v6.4.1](#v641)
- [v6.4.2](#v642)
- [Patch Changes](#patch-changes-54)
- [v6.4.1](#v641)
- [Patch Changes](#patch-changes-55)
- [v6.4.0](#v640)
- [What's Changed](#whats-changed-17)
- [Remix Data APIs](#remix-data-apis)
- [Patch Changes](#patch-changes-55)
- [Patch Changes](#patch-changes-56)
- [v6.3.0](#v630)
- [Minor Changes](#minor-changes-26)
- [v6.2.2](#v622)
- [Patch Changes](#patch-changes-56)
- [v6.2.1](#v621)
- [Patch Changes](#patch-changes-57)
- [v6.2.1](#v621)
- [Patch Changes](#patch-changes-58)
- [v6.2.0](#v620)
- [Minor Changes](#minor-changes-27)
- [Patch Changes](#patch-changes-58)
- [v6.1.1](#v611)
- [Patch Changes](#patch-changes-59)
- [v6.1.1](#v611)
- [Patch Changes](#patch-changes-60)
- [v6.1.0](#v610)
- [Minor Changes](#minor-changes-28)
- [Patch Changes](#patch-changes-60)
- [v6.0.2](#v602)
- [Patch Changes](#patch-changes-61)
- [v6.0.1](#v601)
- [v6.0.2](#v602)
- [Patch Changes](#patch-changes-62)
- [v6.0.1](#v601)
- [Patch Changes](#patch-changes-63)
- [v6.0.0](#v600)

</details>
Expand Down Expand Up @@ -259,6 +261,27 @@ Date: YYYY-MM-DD
**Full Changelog**: [`v7.X.Y...v7.X.Y`](https://github.com/remix-run/react-router/compare/[email protected]@7.X.Y)
-->

## v7.1.2

Date: 2025-01-16

### Patch Changes

- `react-router` - Fix issue with fetcher data cleanup in the data layer on fetcher unmount ([#12681](https://github.com/remix-run/react-router/pull/12681))
- `react-router` - Do not rely on `symbol` for filtering out `redirect` responses from loader data ([#12694](https://github.com/remix-run/react-router/pull/12694))
- Previously, some projects were getting type checking errors like:
```ts
error TS4058: Return type of exported function has or is using name 'redirectSymbol' from external module "node_modules/..." but cannot be named.
```
- Now that `symbol`s are not used for the `redirect` response type, these errors should no longer be present
- `@react-router/dev` - Fix default external conditions in Vite v6 ([#12644](https://github.com/remix-run/react-router/pull/12644))
- This fixes resolution issues with certain npm packages
- `@react-router/dev` - Fix mismatch in prerendering html/data files when path is missing a leading slash ([#12684](https://github.com/remix-run/react-router/pull/12684))
- `@react-router/dev` - Use `module-sync` server condition when enabled in the runtime. This fixes React context mismatches (e.g. `useHref() may be used only in the context of a <Router> component.`) during development on Node 22.10.0+ when using libraries that have a peer dependency on React Router ([#12729](https://github.com/remix-run/react-router/pull/12729))
- `@react-router/dev` - Fix `react-refresh` source maps ([#12686](https://github.com/remix-run/react-router/pull/12686))

**Full Changelog**: [`v7.1.1...v7.1.2`](https://github.com/remix-run/react-router/compare/[email protected]@7.1.2)

## v7.1.1

Date: 2024-12-23
Expand Down
4 changes: 4 additions & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
- bhbs
- bilalk711
- bobziroll
- bravo-kernel
- Brendonovich
- briankb
- BrianT1414
- brockross
- brookslybrand
Expand Down Expand Up @@ -242,6 +244,7 @@
- printfn
- promet99
- proshunsuke
- pwdcd
- pyitphyoaung
- refusado
- reyronald
Expand Down Expand Up @@ -314,6 +317,7 @@
- valerii15298
- ValiantCat
- vdusart
- VictorElHajj
- vijaypushkin
- vikingviolinist
- vishwast03
Expand Down
2 changes: 1 addition & 1 deletion decisions/0012-type-inference.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ This was an additional indication that maybe a TypeScript plugin was not the rig

## Summary

By leaning into automated typegen within a TypeScript plugin, we radically simplify React Router's runtime APIs while providing strong type inference across the entire framework.
By leaning into automated typegen, we radically simplify React Router's runtime APIs while providing strong type inference across the entire framework.
We can continue to support programmatic routing _and_ file-based routing in `routes.ts` while providing typesafety with the same approach and same code path.
We can design our runtime APIs without introducing bespoke ways to inform TypeScript of the route hierarchy.

Expand Down
Loading

0 comments on commit 257328a

Please sign in to comment.