diff --git a/.changeset/aborted-query-error-message.md b/.changeset/aborted-query-error-message.md deleted file mode 100644 index 4aabb4e435..0000000000 --- a/.changeset/aborted-query-error-message.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/router": patch ---- - -Add method/url to error message on aborted query/queryRoute calls diff --git a/.changeset/encode-uri-ssr.md b/.changeset/encode-uri-ssr.md deleted file mode 100644 index 39529243c3..0000000000 --- a/.changeset/encode-uri-ssr.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"react-router-dom": patch ---- - -Proeprly encode rendered URIs in server rendering to avoid hydration errors diff --git a/.changeset/error-response-type.md b/.changeset/error-response-type.md deleted file mode 100644 index 6218825360..0000000000 --- a/.changeset/error-response-type.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"react-router-dom-v5-compat": patch -"react-router-native": patch -"react-router-dom": patch -"react-router": patch -"@remix-run/router": patch ---- - -Move the `@private` class export `ErrorResponse` to an `UNSAFE_ErrorResponseImpl` export since it is an implementation detail and there should be no construction of `ErrorResponse` instances in userland. This frees us up to export a `type ErrorResponse` which correlates to an instance of the class via `InstanceType`. Userland code should only ever be using `ErrorResponse` as a type and should be type-narrowing via `isRouteErrorResponse`. diff --git a/.changeset/export-should-revalidate-args.md b/.changeset/export-should-revalidate-args.md deleted file mode 100644 index b7fb51690a..0000000000 --- a/.changeset/export-should-revalidate-args.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"react-router-dom-v5-compat": patch -"react-router-native": patch -"react-router-dom": patch -"react-router": patch -"@remix-run/router": patch ---- - -Export `ShouldRevalidateFunctionArgs` interface diff --git a/.changeset/remix-v2-prep.md b/.changeset/remix-v2-prep.md deleted file mode 100644 index de557ff490..0000000000 --- a/.changeset/remix-v2-prep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/router": minor ---- - -Removed internal API only required for the Remix v1 back-compat layer and no longer needed in Remix v2. (`_isFetchActionRedirect`, `_hasFetcherDoneAnything`). diff --git a/.changeset/route-lazy-race.md b/.changeset/route-lazy-race.md deleted file mode 100644 index 2306be6926..0000000000 --- a/.changeset/route-lazy-race.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/router": patch ---- - -Fix a race-condition with loader/action-thrown errors on route.lazy routes diff --git a/.changeset/should-revalidate-action-result-type.md b/.changeset/should-revalidate-action-result-type.md deleted file mode 100644 index e55e1e77a7..0000000000 --- a/.changeset/should-revalidate-action-result-type.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/router": patch ---- - -Fix type for `actionResult` on the arguments object passed to `shouldRevalidate` diff --git a/packages/react-router-dom-v5-compat/CHANGELOG.md b/packages/react-router-dom-v5-compat/CHANGELOG.md index eba24ac731..2022027a5a 100644 --- a/packages/react-router-dom-v5-compat/CHANGELOG.md +++ b/packages/react-router-dom-v5-compat/CHANGELOG.md @@ -1,5 +1,15 @@ # `react-router-dom-v5-compat` +## 6.15.1 + +### Patch Changes + +- Move the `@private` class export `ErrorResponse` to an `UNSAFE_ErrorResponseImpl` export since it is an implementation detail and there should be no construction of `ErrorResponse` instances in userland. This frees us up to export a `type ErrorResponse` which correlates to an instance of the class via `InstanceType`. Userland code should only ever be using `ErrorResponse` as a type and should be type-narrowing via `isRouteErrorResponse`. ([#10811](https://github.com/remix-run/react-router/pull/10811)) +- Export `ShouldRevalidateFunctionArgs` interface ([#10797](https://github.com/remix-run/react-router/pull/10797)) +- Updated dependencies: + - `react-router-dom@6.15.1` + - `react-router@6.15.1` + ## 6.15.0 ### Minor Changes diff --git a/packages/react-router-dom-v5-compat/package.json b/packages/react-router-dom-v5-compat/package.json index 1397a380c1..a6111b14d0 100644 --- a/packages/react-router-dom-v5-compat/package.json +++ b/packages/react-router-dom-v5-compat/package.json @@ -1,6 +1,6 @@ { "name": "react-router-dom-v5-compat", - "version": "6.15.0", + "version": "6.15.1", "description": "Migration path to React Router v6 from v4/5", "keywords": [ "react", @@ -24,7 +24,7 @@ "types": "./dist/index.d.ts", "dependencies": { "history": "^5.3.0", - "react-router": "6.15.0" + "react-router": "6.15.1" }, "peerDependencies": { "react": ">=16.8", diff --git a/packages/react-router-dom/CHANGELOG.md b/packages/react-router-dom/CHANGELOG.md index 1537c618b3..058e9fb383 100644 --- a/packages/react-router-dom/CHANGELOG.md +++ b/packages/react-router-dom/CHANGELOG.md @@ -1,5 +1,16 @@ # `react-router-dom` +## 6.15.1 + +### Patch Changes + +- Proeprly encode rendered URIs in server rendering to avoid hydration errors ([#10769](https://github.com/remix-run/react-router/pull/10769)) +- Move the `@private` class export `ErrorResponse` to an `UNSAFE_ErrorResponseImpl` export since it is an implementation detail and there should be no construction of `ErrorResponse` instances in userland. This frees us up to export a `type ErrorResponse` which correlates to an instance of the class via `InstanceType`. Userland code should only ever be using `ErrorResponse` as a type and should be type-narrowing via `isRouteErrorResponse`. ([#10811](https://github.com/remix-run/react-router/pull/10811)) +- Export `ShouldRevalidateFunctionArgs` interface ([#10797](https://github.com/remix-run/react-router/pull/10797)) +- Updated dependencies: + - `@remix-run/router@1.9.0` + - `react-router@6.15.1` + ## 6.15.0 ### Minor Changes diff --git a/packages/react-router-dom/package.json b/packages/react-router-dom/package.json index 473658b04b..5513520f72 100644 --- a/packages/react-router-dom/package.json +++ b/packages/react-router-dom/package.json @@ -1,6 +1,6 @@ { "name": "react-router-dom", - "version": "6.15.0", + "version": "6.15.1", "description": "Declarative routing for React web applications", "keywords": [ "react", @@ -23,8 +23,8 @@ "module": "./dist/index.js", "types": "./dist/index.d.ts", "dependencies": { - "@remix-run/router": "1.8.0", - "react-router": "6.15.0" + "@remix-run/router": "1.9.0", + "react-router": "6.15.1" }, "devDependencies": { "react": "^18.2.0", diff --git a/packages/react-router-native/CHANGELOG.md b/packages/react-router-native/CHANGELOG.md index 128fd1120b..8346d30b07 100644 --- a/packages/react-router-native/CHANGELOG.md +++ b/packages/react-router-native/CHANGELOG.md @@ -1,5 +1,14 @@ # `react-router-native` +## 6.15.1 + +### Patch Changes + +- Move the `@private` class export `ErrorResponse` to an `UNSAFE_ErrorResponseImpl` export since it is an implementation detail and there should be no construction of `ErrorResponse` instances in userland. This frees us up to export a `type ErrorResponse` which correlates to an instance of the class via `InstanceType`. Userland code should only ever be using `ErrorResponse` as a type and should be type-narrowing via `isRouteErrorResponse`. ([#10811](https://github.com/remix-run/react-router/pull/10811)) +- Export `ShouldRevalidateFunctionArgs` interface ([#10797](https://github.com/remix-run/react-router/pull/10797)) +- Updated dependencies: + - `react-router@6.15.1` + ## 6.15.0 ### Minor Changes diff --git a/packages/react-router-native/package.json b/packages/react-router-native/package.json index b15e9312fa..83cc2bf69a 100644 --- a/packages/react-router-native/package.json +++ b/packages/react-router-native/package.json @@ -1,6 +1,6 @@ { "name": "react-router-native", - "version": "6.15.0", + "version": "6.15.1", "description": "Declarative routing for React Native applications", "keywords": [ "react", @@ -22,7 +22,7 @@ "types": "./dist/index.d.ts", "dependencies": { "@ungap/url-search-params": "^0.2.2", - "react-router": "6.15.0" + "react-router": "6.15.1" }, "devDependencies": { "react": "^18.2.0", diff --git a/packages/react-router/CHANGELOG.md b/packages/react-router/CHANGELOG.md index 10de026d7a..968d8566ca 100644 --- a/packages/react-router/CHANGELOG.md +++ b/packages/react-router/CHANGELOG.md @@ -1,5 +1,14 @@ # `react-router` +## 6.15.1 + +### Patch Changes + +- Move the `@private` class export `ErrorResponse` to an `UNSAFE_ErrorResponseImpl` export since it is an implementation detail and there should be no construction of `ErrorResponse` instances in userland. This frees us up to export a `type ErrorResponse` which correlates to an instance of the class via `InstanceType`. Userland code should only ever be using `ErrorResponse` as a type and should be type-narrowing via `isRouteErrorResponse`. ([#10811](https://github.com/remix-run/react-router/pull/10811)) +- Export `ShouldRevalidateFunctionArgs` interface ([#10797](https://github.com/remix-run/react-router/pull/10797)) +- Updated dependencies: + - `@remix-run/router@1.9.0` + ## 6.15.0 ### Minor Changes diff --git a/packages/react-router/package.json b/packages/react-router/package.json index 2664433a53..b09ed36b92 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -1,6 +1,6 @@ { "name": "react-router", - "version": "6.15.0", + "version": "6.15.1", "description": "Declarative routing for React", "keywords": [ "react", @@ -23,7 +23,7 @@ "module": "./dist/index.js", "types": "./dist/index.d.ts", "dependencies": { - "@remix-run/router": "1.8.0" + "@remix-run/router": "1.9.0" }, "devDependencies": { "react": "^18.2.0" diff --git a/packages/router/CHANGELOG.md b/packages/router/CHANGELOG.md index 211c4d3b7a..3fe079b72f 100644 --- a/packages/router/CHANGELOG.md +++ b/packages/router/CHANGELOG.md @@ -1,5 +1,19 @@ # `@remix-run/router` +## 1.9.0 + +### Minor Changes + +- Removed internal API only required for the Remix v1 back-compat layer and no longer needed in Remix v2. (`_isFetchActionRedirect`, `_hasFetcherDoneAnything`). ([#10715](https://github.com/remix-run/react-router/pull/10715)) + +### Patch Changes + +- Add method/url to error message on aborted query/queryRoute calls ([#10793](https://github.com/remix-run/react-router/pull/10793)) +- Move the `@private` class export `ErrorResponse` to an `UNSAFE_ErrorResponseImpl` export since it is an implementation detail and there should be no construction of `ErrorResponse` instances in userland. This frees us up to export a `type ErrorResponse` which correlates to an instance of the class via `InstanceType`. Userland code should only ever be using `ErrorResponse` as a type and should be type-narrowing via `isRouteErrorResponse`. ([#10811](https://github.com/remix-run/react-router/pull/10811)) +- Export `ShouldRevalidateFunctionArgs` interface ([#10797](https://github.com/remix-run/react-router/pull/10797)) +- Fix a race-condition with loader/action-thrown errors on route.lazy routes ([#10778](https://github.com/remix-run/react-router/pull/10778)) +- Fix type for `actionResult` on the arguments object passed to `shouldRevalidate` ([#10779](https://github.com/remix-run/react-router/pull/10779)) + ## 1.8.0 ### Minor Changes diff --git a/packages/router/package.json b/packages/router/package.json index 423f2c415c..6fb89b8c6a 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/router", - "version": "1.8.0", + "version": "1.9.0", "description": "Nested/Data-driven/Framework-agnostic Routing", "keywords": [ "remix",