Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update version for release #12121

Merged
merged 2 commits into from
Oct 11, 2024
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
8 changes: 0 additions & 8 deletions .changeset/calm-wombats-design.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/chatty-impalas-pump.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/gold-frogs-pump.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/happy-grapes-fry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/itchy-shoes-sort.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/nasty-queens-leave.md

This file was deleted.

25 changes: 0 additions & 25 deletions .changeset/pre.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shy-chicken-talk.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/silly-walls-sit.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/soft-maps-fix.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/stabilize-flush-sync.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/stabilize-view-transitions.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/unlucky-keys-collect.md

This file was deleted.

17 changes: 4 additions & 13 deletions packages/react-router-dom-v5-compat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
# `react-router-dom-v5-compat`

## 6.27.0-pre.1
## 6.27.0

### 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

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

## 6.26.2

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.1",
"version": "6.27.0",
"description": "Migration path to React Router v6 from v4/5",
"keywords": [
"react",
Expand Down
23 changes: 8 additions & 15 deletions packages/react-router-dom/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,24 @@
# `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
## 6.27.0

### Minor Changes

- Stabilize `unstable_patchRoutesOnNavigation` ([#11973](https://github.com/remix-run/react-router/pull/11973))
- Add new `PatchRoutesOnNavigationFunctionArgs` type for convenience ([#11967](https://github.com/remix-run/react-router/pull/11967))
- Stabilize `unstable_dataStrategy` ([#11974](https://github.com/remix-run/react-router/pull/11974))
- Stabilize the `unstable_flushSync` option for navigations and fetchers ([#11989](https://github.com/remix-run/react-router/pull/11989))
- Stabilize the `unstable_viewTransition` option for navigations and the corresponding `unstable_useViewTransitionState` hook ([#11989](https://github.com/remix-run/react-router/pull/11989))

### Patch Changes

- - Fix bug when submitting to the current contextual route (parent route with an index child) when an `?index` param already exists from a prior submission ([#12003](https://github.com/remix-run/react-router/pull/12003))
- Fix `useFormAction` bug - when removing `?index` param it would not keep other non-Remix `index` params
- - 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))
- Add new `PatchRoutesOnNavigationFunctionArgs` type for convenience
- Fix bug when submitting to the current contextual route (parent route with an index child) when an `?index` param already exists from a prior submission ([#12003](https://github.com/remix-run/react-router/pull/12003))
- Fix `useFormAction` bug - when removing `?index` param it would not keep other non-Remix `index` params ([#12003](https://github.com/remix-run/react-router/pull/12003))
- 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))

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

## 6.26.2

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.1",
"version": "6.27.0",
"description": "Declarative routing for React web applications",
"keywords": [
"react",
Expand Down
11 changes: 2 additions & 9 deletions packages/react-router-native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
# `react-router-native`

## 6.27.0-pre.1
## 6.27.0

### Patch Changes

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

## 6.27.0-pre.0

### Patch Changes

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

## 6.26.2

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.1",
"version": "6.27.0",
"description": "Declarative routing for React Native applications",
"keywords": [
"react",
Expand Down
20 changes: 7 additions & 13 deletions packages/react-router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,23 @@
# `react-router`

## 6.27.0-pre.1

### Patch Changes

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

## 6.27.0-pre.0
## 6.27.0

### Minor Changes

- Stabilize `unstable_patchRoutesOnNavigation` ([#11973](https://github.com/remix-run/react-router/pull/11973))
- Add new `PatchRoutesOnNavigationFunctionArgs` type for convenience ([#11967](https://github.com/remix-run/react-router/pull/11967))
- Stabilize `unstable_dataStrategy` ([#11974](https://github.com/remix-run/react-router/pull/11974))
- Stabilize the `unstable_flushSync` option for navigations and fetchers ([#11989](https://github.com/remix-run/react-router/pull/11989))
- Stabilize the `unstable_viewTransition` option for navigations and the corresponding `unstable_useViewTransitionState` hook ([#11989](https://github.com/remix-run/react-router/pull/11989))

### Patch Changes

- - Fix bug when submitting to the current contextual route (parent route with an index child) when an `?index` param already exists from a prior submission ([#12003](https://github.com/remix-run/react-router/pull/12003))
- Fix `useFormAction` bug - when removing `?index` param it would not keep other non-Remix `index` params
- - 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))
- Add new `PatchRoutesOnNavigationFunctionArgs` type for convenience
- Fix bug when submitting to the current contextual route (parent route with an index child) when an `?index` param already exists from a prior submission ([#12003](https://github.com/remix-run/react-router/pull/12003))
- Fix `useFormAction` bug - when removing `?index` param it would not keep other non-Remix `index` params ([#12003](https://github.com/remix-run/react-router/pull/12003))
- 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))

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

## 6.26.2

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.1",
"version": "6.27.0",
"description": "Declarative routing for React",
"keywords": [
"react",
Expand Down
21 changes: 7 additions & 14 deletions packages/router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,29 @@
# `@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
## 1.20.0

### Minor Changes

- Stabilize `unstable_patchRoutesOnNavigation` ([#11973](https://github.com/remix-run/react-router/pull/11973))
- Add new `PatchRoutesOnNavigationFunctionArgs` type for convenience ([#11967](https://github.com/remix-run/react-router/pull/11967))
- Stabilize `unstable_dataStrategy` ([#11974](https://github.com/remix-run/react-router/pull/11974))
- Stabilize the `unstable_flushSync` option for navigations and fetchers ([#11989](https://github.com/remix-run/react-router/pull/11989))
- Stabilize the `unstable_viewTransition` option for navigations and the corresponding `unstable_useViewTransitionState` hook ([#11989](https://github.com/remix-run/react-router/pull/11989))

### Patch Changes

- - Fix bug when submitting to the current contextual route (parent route with an index child) when an `?index` param already exists from a prior submission ([#12003](https://github.com/remix-run/react-router/pull/12003))
- Fix `useFormAction` bug - when removing `?index` param it would not keep other non-Remix `index` params
- Fix bug when submitting to the current contextual route (parent route with an index child) when an `?index` param already exists from a prior submission ([#12003](https://github.com/remix-run/react-router/pull/12003))
- Fix `useFormAction` bug - when removing `?index` param it would not keep other non-Remix `index` params ([#12003](https://github.com/remix-run/react-router/pull/12003))
- Fix bug with fetchers not persisting `preventScrollReset` through redirects during concurrent fetches ([#11999](https://github.com/remix-run/react-router/pull/11999))
- Remove internal cache to fix issues with interrupted `patchRoutesOnNavigation` calls ([#12055](https://github.com/remix-run/react-router/pull/12055))

- We used to cache in-progress calls to `patchRoutesOnNavigation` internally so that multiple navigations with the same start/end would only execute the function once and use the same promise
- However, this approach was at odds with `patch` short circuiting if a navigation was interrupted (and the `request.signal` aborted) since the first invocation's `patch` would no-op
- This cache also made some assumptions as to what a valid cache key might be - and is oblivious to any other application-state changes that may have occurred
- So, the cache has been removed because in _most_ cases, repeated calls to something like `import()` for async routes will already be cached automatically - and if not it's easy enough for users to implement this cache in userland

- Avoid unnecessary `console.error` on fetcher abort due to back-to-back revalidation calls ([#12050](https://github.com/remix-run/react-router/pull/12050))
- - 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))
- Add new `PatchRoutesOnNavigationFunctionArgs` type for convenience
- Fix bugs with partialHydration when hydrating with errors ([#12070](https://github.com/remix-run/react-router/pull/12070))
- 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))
- 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))
- Fix bugs with `partialHydration` when hydrating with errors ([#12070](https://github.com/remix-run/react-router/pull/12070))
- Remove internal `discoveredRoutes` FIFO queue from `unstable_patchRoutesOnNavigation` ([#11977](https://github.com/remix-run/react-router/pull/11977))

## 1.19.2
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.1",
"version": "1.20.0",
"description": "Nested/Data-driven/Framework-agnostic Routing",
"keywords": [
"remix",
Expand Down