@uniweb/runtime 1.0.1 → 1.1.0

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 +6 -6
  2. package/src/isolate-api.js +19 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/runtime",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "Minimal runtime for loading Uniweb foundations",
5
5
  "type": "module",
6
6
  "exports": {
@@ -33,18 +33,18 @@
33
33
  "url": "https://github.com/uniweb/runtime/issues"
34
34
  },
35
35
  "engines": {
36
- "node": ">=20.19"
36
+ "node": ">=22.12"
37
37
  },
38
38
  "dependencies": {
39
- "@uniweb/core": "~1.0.1",
40
- "@uniweb/theming": "~1.0.1"
39
+ "@uniweb/core": "~1.1.0",
40
+ "@uniweb/theming": "~1.1.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@vitejs/plugin-react": "^4.5.2",
44
- "esbuild": "^0.21.0 || ^0.23.0 || ^0.24.0 || ^0.25.0 || ^0.27.0",
44
+ "esbuild": "^0.21.0 || ^0.23.0 || ^0.24.0 || ^0.25.0 || ^0.27.0 || ^0.28.0",
45
45
  "vite": "^7.3.1",
46
46
  "vitest": "^4.1.7",
47
- "@uniweb/build": "0.80.4"
47
+ "@uniweb/build": "1.0.1"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "react": "^19.0.0",
@@ -118,7 +118,7 @@ export const ISOLATE_API = Object.freeze({
118
118
  localeUrl: '0.28.6',
119
119
  RESOLUTION_STATUS: '0.28.6',
120
120
  // a redirect the host answers itself, with the visitor's query and fragment on it
121
- carryQuery: UNRELEASED,
121
+ carryQuery: '1.0.1',
122
122
  })
123
123
 
124
124
  /**
@@ -173,11 +173,21 @@ export const ISOLATE_API = Object.freeze({
173
173
  * and refuses to serve a site below it, so the number moves for them when the
174
174
  * CHANNEL republishes — not when this constant changes.
175
175
  *
176
- * ⚖️ Revisit at 1.0: once sites are pinned in the field, *"it does not break
177
- * sites"* stops being free, and this paragraph is the thing to re-argue.
176
+ * ⭐ **Revisited at 1.0 [Diego, 2026-10-11].** This note read: *"Revisit at 1.0: once
177
+ * sites are pinned in the field, 'it does not break sites' stops being free, and this
178
+ * paragraph is the thing to re-argue."* His answer: *"Foundations are not as sensitive
179
+ * to the runtime version as you claim"* — and the first 1.x floor was itself a
180
+ * baseline raise, to 1.0.1: *"We would also set `minUsable` to tell backend to start
181
+ * using 1.0.1+"*. The two mechanical rules above stand.
178
182
  */
179
183
  /*
180
- * ⭐ **0.28.1, raised 2026-09-28 [Diego]** — a BASELINE raise, like the one below: the current
184
+ * ⭐ **1.0.1, raised 2026-10-13 [Diego]** — the first 1.x runtime, a BASELINE raise like the two
185
+ * below: *"We would also set `minUsable` to tell backend to start using 1.0.1+"* (2026-10-11).
186
+ * 1.0.1 is the release that took every package from 0.x to 1.x; the runtime's line since 0.29.7
187
+ * carries `carryQuery`. Raised once npm served 1.0.1 and the channel's `latest` was 1.0.1, and,
188
+ * like every raise, it reaches backend at the next runtime publish.
189
+ *
190
+ * ⛔ **Previously 0.28.1, raised 2026-09-28 [Diego]** — a BASELINE raise, like the one below: the current
181
191
  * published runtime, so an editor writing what it reads can rely on it for every site published
182
192
  * from then on. What the line carries:
183
193
  * - 0.28.0 — a section's `theme` is `theme.yml` for that section (`{ mode, colors, contexts,
@@ -210,7 +220,7 @@ export const ISOLATE_API = Object.freeze({
210
220
  * which the service refuses with a whole-request `400` since it took `narrow`. It also carries
211
221
  * declared-key delivery and `$route`. That break is still real and still below this number.
212
222
  */
213
- export const WIRE_FLOOR = '0.28.1'
223
+ export const WIRE_FLOOR = '1.0.1'
214
224
 
215
225
  /**
216
226
  * ⭐ **THE MINIMUM RUNTIME VERSION A SITE MAY BE PUBLISHED AT.** At or above it,
@@ -226,9 +236,10 @@ export const WIRE_FLOOR = '0.28.1'
226
236
  * than merely being unsupported.
227
237
  *
228
238
  * ⚠️ **The drift that name was chosen to resist was RELAXED 2026-09-12** — see
229
- * `WIRE_FLOOR` above: while pre-1.0 the floor may be raised simply so nobody has
230
- * to check what a version supports, so a raise no longer implies a break at the
231
- * new number. **On the wire it is `minUsable`, and that is the only spelling.**
239
+ * `WIRE_FLOOR` above: the floor may be raised simply so nobody has to check what a
240
+ * version supports — pre-1.0, and to 1.0.1 at the first 1.x release — so a raise
241
+ * does not imply a break at the new number. **On the wire it is `minUsable`, and
242
+ * that is the only spelling.**
232
243
  */
233
244
  export const MIN_USABLE_RUNTIME = [WIRE_FLOOR, ...Object.values(ISOLATE_API)]
234
245
  .filter((v) => v !== UNRELEASED)