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

Merged
merged 2 commits into from
Aug 1, 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
11 changes: 0 additions & 11 deletions .changeset/fifty-rockets-hide.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/five-bottles-press.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/hip-poets-provide.md

This file was deleted.

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

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/sour-dryers-walk.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tricky-frogs-hug.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.26.0-pre.1
## 6.26.0

### Patch Changes

- Updated dependencies:
- `@remix-run/router@1.19.0-pre.1`
- `react-router@6.26.0-pre.1`
- `react-router-dom@6.26.0-pre.1`

## 6.26.0-pre.0

### Patch Changes

- Updated dependencies:
- `@remix-run/router@1.19.0-pre.0`
- `react-router@6.26.0-pre.0`
- `react-router-dom@6.26.0-pre.0`
- `@remix-run/router@1.19.0`
- `react-router@6.26.0`
- `react-router-dom@6.26.0`

## 6.25.1

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

## 6.26.0-pre.1

### Patch Changes

- Updated dependencies:
- `@remix-run/router@1.19.0-pre.1`
- `react-router@6.26.0-pre.1`

## 6.26.0-pre.0
## 6.26.0

### Minor Changes

Expand All @@ -17,12 +9,10 @@
### Patch Changes

- Fix initial hydration behavior when using `future.v7_partialHydration` along with `unstable_patchRoutesOnMiss` ([#11838](https://github.com/remix-run/react-router/pull/11838))

- During initial hydration, `router.state.matches` will now include any partial matches so that we can render ancestor `HydrateFallback` components

- Updated dependencies:
- `@remix-run/router@1.19.0-pre.0`
- `react-router@6.26.0-pre.0`
- `@remix-run/router@1.19.0`
- `react-router@6.26.0`

## 6.25.1

Expand All @@ -37,7 +27,6 @@
### Minor Changes

- Stabilize `future.unstable_skipActionErrorRevalidation` as `future.v7_skipActionErrorRevalidation` ([#11769](https://github.com/remix-run/react-router/pull/11769))

- When this flag is enabled, actions will not automatically trigger a revalidation if they return/throw a `Response` with a `4xx`/`5xx` status code
- You may still opt-into revalidation via `shouldRevalidate`
- This also changes `shouldRevalidate`'s `unstable_actionStatus` parameter to `actionStatus`
Expand All @@ -64,7 +53,6 @@
### Minor Changes

- Add support for Lazy Route Discovery (a.k.a. Fog of War) ([#11626](https://github.com/remix-run/react-router/pull/11626))

- RFC: <https://github.com/remix-run/react-router/discussions/11113>
- `unstable_patchRoutesOnMiss` docs: <https://reactrouter.com/en/main/routers/create-browser-router>

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.26.0-pre.1",
"version": "6.26.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.26.0-pre.1
## 6.26.0

### Patch Changes

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

## 6.26.0-pre.0

### Patch Changes

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

## 6.25.1

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

## 6.26.0-pre.1

### Patch Changes

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

## 6.26.0-pre.0
## 6.26.0

### Minor Changes

Expand All @@ -16,11 +9,9 @@
### Patch Changes

- Fix initial hydration behavior when using `future.v7_partialHydration` along with `unstable_patchRoutesOnMiss` ([#11838](https://github.com/remix-run/react-router/pull/11838))

- During initial hydration, `router.state.matches` will now include any partial matches so that we can render ancestor `HydrateFallback` components

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

## 6.25.1

Expand All @@ -31,7 +22,6 @@ No significant changes to this package were made in this release. [See the repo
### Minor Changes

- Stabilize `future.unstable_skipActionErrorRevalidation` as `future.v7_skipActionErrorRevalidation` ([#11769](https://github.com/remix-run/react-router/pull/11769))

- When this flag is enabled, actions will not automatically trigger a revalidation if they return/throw a `Response` with a `4xx`/`5xx` status code
- You may still opt-into revalidation via `shouldRevalidate`
- This also changes `shouldRevalidate`'s `unstable_actionStatus` parameter to `actionStatus`
Expand All @@ -55,7 +45,6 @@ No significant changes to this package were made in this release. [See the repo
### Minor Changes

- Add support for Lazy Route Discovery (a.k.a. Fog of War) ([#11626](https://github.com/remix-run/react-router/pull/11626))

- RFC: <https://github.com/remix-run/react-router/discussions/11113>
- `unstable_patchRoutesOnMiss` docs: <https://reactrouter.com/en/main/routers/create-browser-router>

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.26.0-pre.1",
"version": "6.26.0",
"description": "Declarative routing for React",
"keywords": [
"react",
Expand Down
16 changes: 2 additions & 14 deletions packages/router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,33 @@
# `@remix-run/router`

## 1.19.0-pre.1

### Patch Changes

- [REMOVE] Export DataWithResponseInit for Remix usage ([#11859](https://github.com/remix-run/react-router/pull/11859))

## 1.19.0-pre.0
## 1.19.0

### Minor Changes

- Add a new `replace(url, init?)` alternative to `redirect(url, init?)` that performs a `history.replaceState` instead of a `history.pushState` on client-side navigation redirects ([#11811](https://github.com/remix-run/react-router/pull/11811))
- Add a new `unstable_data()` API for usage with Remix Single Fetch ([#11836](https://github.com/remix-run/react-router/pull/11836))

- This API is not intended for direct usage in React Router SPA applications
- It is primarily intended for usage with `createStaticHandler.query()` to allow loaders/actions to return arbitrary data + `status`/`headers` without forcing the serialization of data into a `Response` instance
- This allows for more advanced serialization tactics via `unstable_dataStrategy` such as serializing via `turbo-stream` in Remix Single Fetch
- ⚠️ This removes the `status` field from `HandlerResult`
- If you need to return a specific `status` from `unstable_dataStrategy` you should instead do so via `unstable_data()`

- Add a new `replace(url, init?)` alternative to `redirect(url, init?)` that performs a `history.replaceState` instead of a `history.pushState` on client-side navigation redirects ([#11811](https://github.com/remix-run/react-router/pull/11811))

### Patch Changes

- Fix internal cleanup of interrupted fetchers to avoid invalid revalidations on navigations ([#11839](https://github.com/remix-run/react-router/pull/11839))

- When a `fetcher.load` is interrupted by an `action` submission, we track it internally and force revalidation once the `action` completes
- We previously only cleared out this internal tracking info on a successful _navigation_ submission
- Therefore, if the `fetcher.load` was interrupted by a `fetcher.submit`, then we wouldn't remove it from this internal tracking info on successful load (incorrectly)
- And then on the next navigation it's presence in the internal tracking would automatically trigger execution of the `fetcher.load` again, ignoring any `shouldRevalidate` logic
- This fix cleans up the internal tracking so it applies to both navigation submission and fetcher submissions

- Fix initial hydration behavior when using `future.v7_partialHydration` along with `unstable_patchRoutesOnMiss` ([#11838](https://github.com/remix-run/react-router/pull/11838))

- During initial hydration, `router.state.matches` will now include any partial matches so that we can render ancestor `HydrateFallback` components

## 1.18.0

### Minor Changes

- Stabilize `future.unstable_skipActionErrorRevalidation` as `future.v7_skipActionErrorRevalidation` ([#11769](https://github.com/remix-run/react-router/pull/11769))

- When this flag is enabled, actions will not automatically trigger a revalidation if they return/throw a `Response` with a `4xx`/`5xx` status code
- You may still opt-into revalidation via `shouldRevalidate`
- This also changes `shouldRevalidate`'s `unstable_actionStatus` parameter to `actionStatus`
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.19.0-pre.1",
"version": "1.19.0",
"description": "Nested/Data-driven/Framework-agnostic Routing",
"keywords": [
"remix",
Expand Down