@qwik.dev/router 2.0.0-rc.2 → 2.0.0-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,10 +103,10 @@ declare type CacheControlTarget = 'Cache-Control' | 'CDN-Cache-Control' | 'Cloud
103
103
  *
104
104
  * - `true`: use the surface's default key.
105
105
  *
106
- * - SSR default: `${status}|${eTag}|${pathname}` when an eTag is set, otherwise
107
- * `${status}|${pathname}`.
108
- * - Loader default: `${pathname}|${filteredSearch}|${loaderId}|${eTag}` when an eTag is set,
109
- * otherwise `${pathname}|${filteredSearch}|${loaderId}`.
106
+ * - SSR default: `${status}|${eTag}|${origin}${pathname}` when an eTag is set, otherwise
107
+ * `${status}|${origin}${pathname}`.
108
+ * - Loader default: `${origin}${pathname}|${filteredSearch}|${loaderId}|${eTag}` when an eTag is set,
109
+ * otherwise `${origin}${pathname}|${filteredSearch}|${loaderId}`.
110
110
  * - Function: receives the request event and the normalized, unquoted eTag (or an empty string when
111
111
  * none was provided). Return the cache key string, or `null` or `''` to skip caching for this
112
112
  * request. Loader callbacks receive the loader-scoped request event, with `url`, `query`, and
@@ -1,4 +1,4 @@
1
- import { H as getRouterConfig, d as loadRoute, ot as _asyncRequestStore } from "../../chunks/head.qwik.mjs";
1
+ import { W as getRouterConfig, d as loadRoute, pt as _asyncRequestStore } from "../../chunks/head.qwik.mjs";
2
2
  import { c as resolveValidInternalFullPathname, l as trimInternalPathname, s as recognizeRequest, u as trimRecognizedInternalPathname } from "../../chunks/request-path.mjs";
3
3
  import { i as RedirectMessage, r as AbortMessage, t as ServerError } from "../../chunks/server-error.mjs";
4
4
  import { t as devPreloadedRouteLoaders } from "../../chunks/dev-preloaded-route-loader.mjs";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qwik.dev/router",
3
3
  "description": "The router for Qwik.",
4
- "version": "2.0.0-rc.2",
4
+ "version": "2.0.0-rc.4",
5
5
  "bugs": "https://github.com/QwikDev/qwik/issues",
6
6
  "dependencies": {
7
7
  "@azure/functions": "3.5.1",
@@ -40,8 +40,8 @@
40
40
  "tsm": "2.3.0",
41
41
  "typescript": "5.9.3",
42
42
  "uvu": "0.5.6",
43
- "vite": "8.2.1",
44
- "@qwik.dev/core": "2.0.0-rc.2"
43
+ "vite": "8.2.4",
44
+ "@qwik.dev/core": "2.0.0-rc.4"
45
45
  },
46
46
  "engines": {
47
47
  "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
@@ -166,7 +166,7 @@
166
166
  "main": "./lib/index.qwik.mjs",
167
167
  "peerDependencies": {
168
168
  "vite": ">=8 <9",
169
- "@qwik.dev/core": "2.0.0-rc.2"
169
+ "@qwik.dev/core": "2.0.0-rc.4"
170
170
  },
171
171
  "publishConfig": {
172
172
  "access": "public"