diff --git a/.changeset/pre.json b/.changeset/pre.json index 851e97cb..ec5afac6 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -7,6 +7,7 @@ "changesets": [ "adopt-core-server-function-protocol", "adopt-hoisted-wire-protocols", + "adopt-path-based-server-function-addressing", "claims-registry-sweep", "claims-sweep-hydration-transparent", "compiler-claimed-anchors", diff --git a/CHANGELOG.md b/CHANGELOG.md index 954158e2..e51b5374 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @solidjs/router +## 2.0.0-next.19 + +### Patch Changes + +- 31ea11b: Adopt path-based server function addressing (solidjs/solid#3076). Action urls are now `/[?args=...]` — the id in the path, bound arguments staying in the query. The generic form-action fallback reads the id back through the runtime's `parseServerFunctionUrl` instead of parsing `?id=` by hand, so the router no longer hard-codes the addressing scheme. Requires `@solidjs/web` 2.0.0-rc.4; the peer floor is raised to `^2.0.0-rc.4`. + ## 2.0.0-next.18 ### Patch Changes diff --git a/package.json b/package.json index 1429e3d7..a85eeddd 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "Ryan Turnquist" ], "license": "MIT", - "version": "2.0.0-next.18", + "version": "2.0.0-next.19", "homepage": "https://github.com/solidjs/solid-router#readme", "repository": { "type": "git",