diff --git a/.changeset/pre.json b/.changeset/pre.json index bfb72f79..771a6481 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -107,6 +107,7 @@ "revalidate-all-wildcard", "revalidate-same-ms-notify", "revert-optimistic-on-resolved-action", + "route-owner-create-root", "router-factory-typed-paths", "router-keys-for", "router-navigation-warning-fix", diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fc52b61..d5344770 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @solidjs/router +## 2.0.0-next.44 + +### Patch Changes + +- d034252: The router's route-root owner now comes from `createRoot(() => getOwner())` instead of `createOwner()`. `createOwner` is leaving solid-js's public types (solid#4515, typed only through `solid-js/internal`), and this uses only public API with the same parent, hydration ids and disposal. + ## 2.0.0-next.43 ### Patch Changes diff --git a/package.json b/package.json index 59aa8801..8fa55749 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "Ryan Turnquist" ], "license": "MIT", - "version": "2.0.0-next.43", + "version": "2.0.0-next.44", "homepage": "https://github.com/solidjs/solid-router#readme", "repository": { "type": "git",