@uniweb/runtime 0.27.0 → 0.27.1

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/isolate-api.js +22 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/runtime",
3
- "version": "0.27.0",
3
+ "version": "0.27.1",
4
4
  "description": "Minimal runtime for loading Uniweb foundations",
5
5
  "type": "module",
6
6
  "exports": {
@@ -44,7 +44,7 @@
44
44
  "esbuild": "^0.21.0 || ^0.23.0 || ^0.24.0 || ^0.25.0 || ^0.27.0",
45
45
  "vite": "^7.3.1",
46
46
  "vitest": "^4.1.7",
47
- "@uniweb/build": "0.54.1"
47
+ "@uniweb/build": "0.55.0"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "react": "^19.0.0",
@@ -164,15 +164,29 @@ export const ISOLATE_API = Object.freeze({
164
164
  * sites"* stops being free, and this paragraph is the thing to re-argue.
165
165
  */
166
166
  /*
167
- * ⭐ **0.25.0, raised 2026-09-14 [Diego: "you can raise minUsable now to latest"]** — and
168
- * it is also an incompatibility floor again: 0.25.0 is the first runtime that asks the
169
- * records service with `narrow` — the query as saved at the top, the fetch's `where`,
170
- * `sort`, `limit`, `match` and `cursor` inside `narrow`. Every earlier one sends a
171
- * top-level `match` or `cursor`, which the service refuses with a whole-request `400`
172
- * since it took `narrow`. It also carries declared-key delivery and `$route`, so a host
173
- * at the floor may rely on both.
167
+ * ⭐ **0.27.0, raised 2026-09-20 [Diego: "we can raise minVersion to 0.27.0 to have a round
168
+ * and clean baseline"]** — a BASELINE raise, which the 2026-09-12 ruling allows while in 0.x, and
169
+ * it is not an incompatibility: a runtime between 0.25.0 and 0.27.0 works, and a host at 0.26.6
170
+ * has every name the map promises.
171
+ *
172
+ * ⭐ What makes 0.27.0 a clean line rather than an arbitrary one: it is the first runtime whose
173
+ * isolate API is ONLY the current surface. The payload-only prefetch — `prefetchPageData`,
174
+ * `resolvePageFetchConfigs`, `executeFetchConfigs` — was deleted in it, once the one host that
175
+ * called them confirmed the switch to `loadPageData`. Below this line the map and the artifact
176
+ * differ in what they offer; at or above it they do not.
177
+ *
178
+ * ⚠️ **It also takes the lead back from the export map.** `loadPageData`'s stamp (`0.26.6`) led
179
+ * `MIN_USABLE_RUNTIME` for one day — the first time an export ever did — and the wire leads again
180
+ * from here. Which input is larger has changed three times; neither is "the" floor.
181
+ *
182
+ * ⛔ **Previously 0.25.0, raised 2026-09-14 [Diego: "you can raise minUsable now to latest"]** —
183
+ * that one WAS also an incompatibility floor: 0.25.0 is the first runtime that asks the records
184
+ * service with `narrow` — the query as saved at the top, the fetch's `where`, `sort`, `limit`,
185
+ * `match` and `cursor` inside `narrow`. Every earlier one sends a top-level `match` or `cursor`,
186
+ * which the service refuses with a whole-request `400` since it took `narrow`. It also carries
187
+ * declared-key delivery and `$route`. That break is still real and still below this number.
174
188
  */
175
- export const WIRE_FLOOR = '0.25.0'
189
+ export const WIRE_FLOOR = '0.27.0'
176
190
 
177
191
  /**
178
192
  * ⭐ **THE MINIMUM RUNTIME VERSION A SITE MAY BE PUBLISHED AT.** At or above it,