Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"happy-grapes-fry",
"itchy-shoes-sort",
"nasty-queens-leave",
"shy-chicken-talk",
"silly-walls-sit",
"soft-maps-fix",
"stabilize-flush-sync",
Expand Down
2 changes: 1 addition & 1 deletion .changeset/shy-chicken-talk.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@remix-run/router": patch
---

Expose errors thown from `patchRoutesOnNavigation` directly to `useRouteError` instead of wrapping them in a 400 `ErrorResponse` instance
Expose errors thrown from `patchRoutesOnNavigation` directly to `useRouteError` instead of wrapping them in a 400 `ErrorResponse` instance
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ This release stabilizes a handful of "unstable" APIs in preparation for the pend
- This was originally implemented as an optimization but it proved to be a bit too limiting
- If you need this optimization you can implement your own cache inside `patchRoutesOnNavigation`
- Fix types for `RouteObject` within `PatchRoutesOnNavigationFunction`'s `patch` method so it doesn't expect agnostic route objects passed to `patch` ([#11967](https://github.com/remix-run/react-router/pull/11967))
- Expose errors thrown from `patchRoutesOnNavigation` directly to `useRouteError` instead of wrapping them in a 400 `ErrorResponse` instance ([#12111](https://github.com/remix-run/react-router/pull/12111))

**Full Changelog**: [`v6.26.2...v6.27.0`](https://github.com/remix-run/react-router/compare/react-router@6.26.2...react-router@6.27.0)

Expand Down
9 changes: 9 additions & 0 deletions packages/react-router-dom-v5-compat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# `react-router-dom-v5-compat`

## 6.27.0-pre.1

### Patch Changes

- Updated dependencies:
- `@remix-run/router@1.20.0-pre.1`
- `react-router@6.27.0-pre.1`
- `react-router-dom@6.27.0-pre.1`

## 6.27.0-pre.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-dom-v5-compat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router-dom-v5-compat",
"version": "6.27.0-pre.0",
"version": "6.27.0-pre.1",
"description": "Migration path to React Router v6 from v4/5",
"keywords": [
"react",
Expand Down
8 changes: 8 additions & 0 deletions packages/react-router-dom/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# `react-router-dom`

## 6.27.0-pre.1

### Patch Changes

- Updated dependencies:
- `@remix-run/router@1.20.0-pre.1`
- `react-router@6.27.0-pre.1`

## 6.27.0-pre.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-dom/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router-dom",
"version": "6.27.0-pre.0",
"version": "6.27.0-pre.1",
"description": "Declarative routing for React web applications",
"keywords": [
"react",
Expand Down
7 changes: 7 additions & 0 deletions packages/react-router-native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# `react-router-native`

## 6.27.0-pre.1

### Patch Changes

- Updated dependencies:
- `react-router@6.27.0-pre.1`

## 6.27.0-pre.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router-native",
"version": "6.27.0-pre.0",
"version": "6.27.0-pre.1",
"description": "Declarative routing for React Native applications",
"keywords": [
"react",
Expand Down
7 changes: 7 additions & 0 deletions packages/react-router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# `react-router`

## 6.27.0-pre.1

### Patch Changes

- Updated dependencies:
- `@remix-run/router@1.20.0-pre.1`

## 6.27.0-pre.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router",
"version": "6.27.0-pre.0",
"version": "6.27.0-pre.1",
"description": "Declarative routing for React",
"keywords": [
"react",
Expand Down
6 changes: 6 additions & 0 deletions packages/router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# `@remix-run/router`

## 1.20.0-pre.1

### Patch Changes

- Expose errors thrown from `patchRoutesOnNavigation` directly to `useRouteError` instead of wrapping them in a 400 `ErrorResponse` instance ([#12111](https://github.com/remix-run/react-router/pull/12111))

## 1.20.0-pre.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/router",
"version": "1.20.0-pre.0",
"version": "1.20.0-pre.1",
"description": "Nested/Data-driven/Framework-agnostic Routing",
"keywords": [
"remix",
Expand Down