@kudzujs/core 0.13.1 → 0.13.2

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.
package/PERFORMANCE.md CHANGED
@@ -6,6 +6,34 @@ Reproducibility classes: `npm run benchmark`, `npm run benchmark:keyed`, `npm ru
6
6
 
7
7
  The maintained 2026-08-13 comparison used Node 24.14.0 and an Intel Core i5-9500 Linux x64 host, one warm-up, and seven alternating fresh-process samples against clean `v0.8.44`. A narrow fast path skips Kudzu semantic transformation for 450 plain `.ts` modules whose runtime edges are exclusively resolvable relative TypeScript imports or exports; all other modules retain the existing transformer. Compile median fell from 2,323.9 ms to 1,413.2 ms (39.2%) and clean-build median from 3,325.3 ms to 2,382.4 ms (28.4%); every paired sample improved. Compile peak-RSS median fell from 571.2 MiB to 552.6 MiB, while build peak RSS was 570.9 MiB versus 568.8 MiB. Compiler scratch fell from 7,328,390 to 1,971,061 bytes. Both targets emitted the same 50 static HTML files, 10,980 bytes, and deploy SHA-256 `e107d78a7f55bc8a1af0ea6e53efeffa19b3d44d21c892484d103fa346e7ba7b`. This is a source-scale compiler comparison, not a cross-framework result.
8
8
 
9
+ ## 0.13.2 Multistep Draft And Autosave
10
+
11
+ Measured 2026-08-25 on Linux x64 with Node 24.14.0 and Chrome
12
+ 142.0.7444.175. Required Chrome proves native step validation, debounced save,
13
+ server rejection of an older in-flight version, ignored stale completion,
14
+ enhanced-navigation and reload restoration, retained input on conflict, and
15
+ reset with timer and storage cleanup.
16
+
17
+ The application emits 44 files totaling 144,633 raw / 49,217 aggregate gzip
18
+ bytes with deploy SHA-256
19
+ `06a35341c5e70bfec48c46ad767ac351326b39ba701f5c1f1d03992a65ec8b9e`.
20
+ The two-route session remains 17 JavaScript files and totals 68,664 raw / 24,747
21
+ aggregate gzip bytes, 3,260 raw / 848 gzip bytes above `0.13.1`. `/help`
22
+ remains 0 B JavaScript. The added bytes are route-specific authored state,
23
+ conditions, handlers, and effects; there is no wizard or autosave runtime.
24
+
25
+ Navigation samples are `[10.7, 7.4, 3.7, 7.9, 6.1, 4.0, 5.4]` ms, with a 6.1
26
+ ms median and 3.7/10.7 ms minimum/maximum. This changes the destination and the
27
+ range is noisy, so no same-content runtime regression or improvement claim is
28
+ made.
29
+
30
+ Core semantic LOC remains 5,682 with zero new semantic primitives, IR kinds,
31
+ compiler passes, production compiler/runtime lines, normalization rules,
32
+ adapters, runtime concepts, public APIs, wizard schedulers, or autosave
33
+ schedulers. One real application fixture closes the packet through existing
34
+ state, conditional ownership, dependency-effect cleanup, owned fetch, and
35
+ versioned storage semantics.
36
+
9
37
  ## 0.13.1 Nested Form Metadata
10
38
 
11
39
  Measured 2026-08-25 on Linux x64 with Node 24.14.0 and Chrome
package/README.md CHANGED
@@ -14,7 +14,7 @@ Kudzu compiles ordinary React-shaped TypeScript and TSX into complete static HTM
14
14
 
15
15
  > Experimental `0.13.x`: the compiler API and supported TSX surface may change.
16
16
 
17
- **Latest release: 0.13.1 - Nested form metadata.** Conditional fields, dynamic keyed checklist rows, explicit dirty/touched state, reset, and exact DOM identity compose without a field registry or form runtime. Read the [release notes](./RELEASES.md#0131---nested-form-metadata), open the [release page](https://github.com/kudzujs/kudzu/releases/tag/v0.13.1), or follow the [architecture packet](./docs/next-architecture/README.md).
17
+ **Latest release: 0.13.2 - Multistep draft and autosave.** Native step validation, debounced versioned saves, stale-write rejection, navigation and reload restoration, conflict retention, and reset compose without a wizard or autosave runtime. Read the [release notes](./RELEASES.md#0132---multistep-draft-and-autosave), open the [release page](https://github.com/kudzujs/kudzu/releases/tag/v0.13.2), or follow the [architecture packet](./docs/next-architecture/README.md).
18
18
 
19
19
  - [Documentation](https://kudzujs.cloud/docs)
20
20
  - [Installation guide](https://kudzujs.cloud/docs#install)
package/RELEASES.md CHANGED
@@ -1,5 +1,59 @@
1
1
  # Kudzu Releases
2
2
 
3
+ ## 0.13.2 - Multistep Draft And Autosave
4
+
5
+ Kudzu 0.13.2 composes a persistent two-step draft and debounced server save
6
+ from ordinary route state and owned effects without a wizard or autosave runtime.
7
+
8
+ ### Changed in 0.13.2
9
+
10
+ - Added native first-step validation and conditional step navigation over
11
+ parent-owned draft values.
12
+ - Added guarded versioned local-storage restore and immediate draft persistence
13
+ across enhanced navigation and document reload.
14
+ - Added a direct dependency effect with timeout cleanup for debounced owned
15
+ server writes.
16
+ - Rejected stale server versions and ignored late stale completions while
17
+ retaining the current draft through conflict and transport failures.
18
+ - Added reset of step, values, status, version, storage, and pending debounce.
19
+ - Updated `create-kudzu@0.1.120` to generate projects on
20
+ `@kudzujs/core@^0.13.2`.
21
+
22
+ ### Output Evidence
23
+
24
+ - The application emits 44 files totaling 144,633 raw / 49,217 aggregate gzip
25
+ bytes with deploy digest
26
+ `06a35341c5e70bfec48c46ad767ac351326b39ba701f5c1f1d03992a65ec8b9e`.
27
+ - The maintained two-route session remains 17 JavaScript files and totals
28
+ 68,664 raw / 24,747 aggregate gzip bytes; `/help` remains 0 B JavaScript.
29
+ - No semantic primitive, IR kind, compiler pass, production compiler/runtime
30
+ line, normalization rule, adapter, runtime concept, public API, wizard
31
+ scheduler, or autosave scheduler was added.
32
+
33
+ ### Validation
34
+
35
+ - Required Chrome proves native validation, debounced save, server rejection of
36
+ an older in-flight version, ignored stale completion, navigation and reload
37
+ restoration, retained conflict input, and reset cleanup.
38
+ - The complete serial suite passes 273 tests, including the preserved nested
39
+ issue-form and server retry journey.
40
+ - Seven fresh Chrome profiles record a 6.1 ms list-to-detail median with a
41
+ 3.7-10.7 ms range. The destination changed and the range is noisy, so no
42
+ same-content latency change is claimed.
43
+
44
+ ### Limits
45
+
46
+ Draft persistence remains application-owned and versioned per form. Dynamic
47
+ step schemas, cross-document coordination, background sync, retry scheduling,
48
+ and a general autosave scheduler remain unsupported until independent real
49
+ applications prove a shared framework boundary.
50
+
51
+ ### Upgrade
52
+
53
+ ```sh
54
+ npm install @kudzujs/core@^0.13.2
55
+ ```
56
+
3
57
  ## 0.13.1 - Nested Form Metadata
4
58
 
5
59
  Kudzu 0.13.1 composes conditional fields, dynamic keyed rows, dirty/touched
@@ -795,6 +795,33 @@ changed, so no latency regression or improvement is claimed.
795
795
  - **Stop condition:** a wizard or autosave scheduler is added for one form.
796
796
  - **Done condition:** no data loss occurs across navigation, reload, or failure.
797
797
 
798
+ Development evidence is complete. The Alpha application now owns a two-step
799
+ project setup draft with native first-step constraints, parent-owned values,
800
+ versioned local storage, one mount restore effect, and one dependency effect
801
+ whose direct timeout cleanup debounces an owned server write. Required Chrome
802
+ proves step navigation, validation, two overlapping versions, server rejection
803
+ of the older save, ignored stale completion, enhanced-navigation restoration,
804
+ reload restoration, retained conflict input, and reset of state, storage, and
805
+ pending work.
806
+
807
+ The first failing fixture was the `0.13.2` project-application contract against
808
+ the released `0.13.1` Alpha route. Existing ordinary state, conditional
809
+ ownership, dependency invalidation, effect cleanup, owned fetch, late-write
810
+ rejection, and guarded versioned storage close it without a semantic primitive,
811
+ IR kind, compiler pass, production compiler/runtime line, normalization rule,
812
+ adapter, runtime concept, public API, wizard scheduler, or autosave scheduler.
813
+ The machine-readable decision is `closed-by-application-composition`.
814
+
815
+ The application emits 44 files totaling 144,633 raw / 49,217 aggregate gzip
816
+ bytes with deploy SHA-256
817
+ `06a35341c5e70bfec48c46ad767ac351326b39ba701f5c1f1d03992a65ec8b9e`.
818
+ The maintained two-route session remains 17 JavaScript files and grows by 3,260
819
+ raw / 848 aggregate gzip bytes to 68,664 / 24,747 bytes; `/help` remains 0 B
820
+ JavaScript. Seven fresh Linux x64 Chrome 142 profiles record list-to-detail
821
+ samples of `[10.7, 7.4, 3.7, 7.9, 6.1, 4.0, 5.4]` ms, a 6.1 ms median and
822
+ 3.7/10.7 ms range. The destination content changed and the range is noisy, so
823
+ no same-content latency regression or improvement is claimed.
824
+
798
825
  ### `0.13.3`: File Upload Boundary
799
826
 
800
827
  - **Purpose:** move beyond local file reading to a real upload lifecycle.
@@ -1304,5 +1331,6 @@ release transaction where possible or document and publish a forward-fix patch.
1304
1331
  | `0.12.4` | Released | Preserve the published single-layout decision and zero-owner-chain evidence. | None |
1305
1332
  | `0.13.0` | Released | Preserve native constraints, server feedback, focused field errors, retained input, and retry evidence. | None |
1306
1333
  | `0.13.1` | Released | Preserve application-owned nested metadata, keyed row identity, release, and reset evidence. | None |
1307
- | `0.13.2` | Active | Complete the multistep draft and autosave packet. | None |
1308
- | `0.13.3` onward | Blocked | Complete the `0.13.2` release transaction first. | Ordered patch boundary |
1334
+ | `0.13.2` | Released | Preserve multistep validation, versioned persistence, stale-save rejection, conflict retention, and reset evidence. | None |
1335
+ | `0.13.3` | Active | Complete the file upload boundary packet. | None |
1336
+ | `0.14.0` onward | Blocked | Complete the `0.13.3` release transaction first. | Ordered patch boundary |
@@ -66,7 +66,7 @@ Keep each patch behavior-preserving and independently reviewable. If a boundary
66
66
 
67
67
  ## Generator Versions
68
68
 
69
- `create-kudzu@0.1.119` retains the explicit install instructions and generates projects with `@kudzujs/core@^0.13.1`.
69
+ `create-kudzu@0.1.120` retains the explicit install instructions and generates projects with `@kudzujs/core@^0.13.2`.
70
70
 
71
71
  ## Release Boundary
72
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kudzujs/core",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "description": "HTML-first TSX framework with synchronous state semantics and no virtual DOM",
5
5
  "type": "module",
6
6
  "license": "MIT",