@kudzujs/core 0.13.2 → 0.13.3
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.3 File Upload Boundary
|
|
10
|
+
|
|
11
|
+
Measured 2026-08-25 on Linux x64 with Node 24.14.0 and Chrome
|
|
12
|
+
142.0.7444.175. Required Chrome proves plain-text type and 1 KiB size
|
|
13
|
+
validation before any request, native file reading, `FormData`/fetch upload,
|
|
14
|
+
user cancellation, delayed failure and retry, route-departure abort, and
|
|
15
|
+
successful keyed attachment mutation.
|
|
16
|
+
|
|
17
|
+
The application emits 44 files totaling 150,023 raw / 50,240 aggregate gzip
|
|
18
|
+
bytes with deploy SHA-256
|
|
19
|
+
`a16fd5dbc08086aa6a7c0ec0aba3a38fbe2a63b96005a81e8747a7f4e45e214e`.
|
|
20
|
+
The two-route session remains 17 JavaScript files and totals 71,031 raw / 25,304
|
|
21
|
+
aggregate gzip bytes, 2,367 raw / 557 gzip bytes above `0.13.2`. `/help`
|
|
22
|
+
remains 0 B JavaScript. The added bytes are route-specific authored file
|
|
23
|
+
validation, multipart upload, effect cleanup, and keyed attachment behavior;
|
|
24
|
+
there is no upload runtime.
|
|
25
|
+
|
|
26
|
+
Navigation samples are `[3.7, 5.0, 3.5, 3.7, 3.8, 3.8, 4.0]` ms, with a 3.8
|
|
27
|
+
ms median and 3.5/5.0 ms minimum/maximum. This changes the destination, so no
|
|
28
|
+
same-content runtime regression or improvement claim is 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, upload schedulers, or transfer
|
|
33
|
+
runtimes. Fetch does not expose upload progress, so the application states that
|
|
34
|
+
boundary instead of fabricating progress. Chunking, resume, background sync,
|
|
35
|
+
and files above the authored 1 KiB in-memory text limit remain unsupported.
|
|
36
|
+
|
|
9
37
|
## 0.13.2 Multistep Draft And Autosave
|
|
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.
|
|
17
|
+
**Latest release: 0.13.3 - File upload boundary.** Native file validation, multipart upload, cancellation, failure and retry, route cleanup, and keyed attachment mutation compose without an upload runtime. Read the [release notes](./RELEASES.md#0133---file-upload-boundary), open the [release page](https://github.com/kudzujs/kudzu/releases/tag/v0.13.3), 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.3 - File Upload Boundary
|
|
4
|
+
|
|
5
|
+
Kudzu 0.13.3 composes a bounded file-upload lifecycle from native controls,
|
|
6
|
+
ordinary state, owned effects, and keyed rows without an upload runtime.
|
|
7
|
+
|
|
8
|
+
### Changed in 0.13.3
|
|
9
|
+
|
|
10
|
+
- Added one native plain-text file input with type and 1 KiB size validation
|
|
11
|
+
before any request.
|
|
12
|
+
- Added application-owned `FormData` and fetch upload with an owned
|
|
13
|
+
`AbortController`.
|
|
14
|
+
- Added explicit user cancellation, delayed transport failure, and retry without
|
|
15
|
+
requiring file reselection.
|
|
16
|
+
- Aborted in-flight upload work when enhanced navigation releases the route.
|
|
17
|
+
- Added successful keyed attachment mutation and an explicit statement that
|
|
18
|
+
fetch does not expose upload progress.
|
|
19
|
+
- Updated `create-kudzu@0.1.121` to generate projects on
|
|
20
|
+
`@kudzujs/core@^0.13.3`.
|
|
21
|
+
|
|
22
|
+
### Output Evidence
|
|
23
|
+
|
|
24
|
+
- The application emits 44 files totaling 150,023 raw / 50,240 aggregate gzip
|
|
25
|
+
bytes with deploy digest
|
|
26
|
+
`a16fd5dbc08086aa6a7c0ec0aba3a38fbe2a63b96005a81e8747a7f4e45e214e`.
|
|
27
|
+
- The maintained two-route session remains 17 JavaScript files and totals
|
|
28
|
+
71,031 raw / 25,304 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, upload
|
|
31
|
+
scheduler, or transfer runtime was added.
|
|
32
|
+
|
|
33
|
+
### Validation
|
|
34
|
+
|
|
35
|
+
- Required Chrome proves pre-request validation, user cancellation, delayed
|
|
36
|
+
`503` feedback, retry, successful attachment mutation, and route-departure
|
|
37
|
+
cancellation.
|
|
38
|
+
- The complete suite passes 273 tests, including the preserved draft, nested
|
|
39
|
+
form, authentication, routing, and server retry journeys.
|
|
40
|
+
- Seven fresh Chrome profiles record a 3.8 ms list-to-detail median with a
|
|
41
|
+
3.5-5.0 ms range. The destination changed, so no same-content latency change
|
|
42
|
+
is claimed.
|
|
43
|
+
|
|
44
|
+
### Limits
|
|
45
|
+
|
|
46
|
+
Fetch upload progress is unavailable and no fake progress is rendered. Chunking,
|
|
47
|
+
resume, background sync, binary formats, concurrent files, and files above the
|
|
48
|
+
authored 1 KiB in-memory text limit remain unsupported until a real application
|
|
49
|
+
requires a different transport.
|
|
50
|
+
|
|
51
|
+
### Upgrade
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
npm install @kudzujs/core@^0.13.3
|
|
55
|
+
```
|
|
56
|
+
|
|
3
57
|
## 0.13.2 - Multistep Draft And Autosave
|
|
4
58
|
|
|
5
59
|
Kudzu 0.13.2 composes a persistent two-step draft and debounced server save
|
|
@@ -834,6 +834,38 @@ no same-content latency regression or improvement is claimed.
|
|
|
834
834
|
- **Done condition:** the supported transport and unsupported progress/resume
|
|
835
835
|
boundary are explicit and tested.
|
|
836
836
|
|
|
837
|
+
Development evidence is complete. The Alpha application accepts one plain-text
|
|
838
|
+
attachment up to 1 KiB, rejects invalid type and size before any request, reads
|
|
839
|
+
the selected file into bounded route state, and reconstructs it as a `Blob` in
|
|
840
|
+
one dependency effect that owns `FormData`, fetch, and `AbortController`.
|
|
841
|
+
Required Chrome proves explicit user cancellation, delayed `503` feedback,
|
|
842
|
+
retry without reselection, successful keyed attachment mutation, and exact
|
|
843
|
+
abort when enhanced navigation releases the route.
|
|
844
|
+
|
|
845
|
+
The first failing fixture was the `0.13.3` project-application contract against
|
|
846
|
+
the released `0.13.2` Alpha route. Existing native file handlers, ordinary
|
|
847
|
+
state, dependency invalidation, effect cleanup, owned fetch, route release, and
|
|
848
|
+
keyed list identity close it without a semantic primitive, IR kind, compiler
|
|
849
|
+
pass, production compiler/runtime line, normalization rule, adapter, runtime
|
|
850
|
+
concept, public API, upload scheduler, or transfer runtime. The machine-readable
|
|
851
|
+
decision is `closed-by-application-composition`.
|
|
852
|
+
|
|
853
|
+
Fetch does not expose upload progress, so the application renders that boundary
|
|
854
|
+
explicitly and does not emit a fake progress element. Chunking, resume,
|
|
855
|
+
background sync, binary formats, multiple concurrent files, and files above the
|
|
856
|
+
authored 1 KiB in-memory text limit remain unsupported. Add a different
|
|
857
|
+
transport only when a real application requires one of those capabilities.
|
|
858
|
+
|
|
859
|
+
The application emits 44 files totaling 150,023 raw / 50,240 aggregate gzip
|
|
860
|
+
bytes with deploy SHA-256
|
|
861
|
+
`a16fd5dbc08086aa6a7c0ec0aba3a38fbe2a63b96005a81e8747a7f4e45e214e`.
|
|
862
|
+
The maintained two-route session remains 17 JavaScript files and grows by 2,367
|
|
863
|
+
raw / 557 aggregate gzip bytes to 71,031 / 25,304 bytes; `/help` remains 0 B
|
|
864
|
+
JavaScript. Seven fresh Linux x64 Chrome 142 profiles record list-to-detail
|
|
865
|
+
samples of `[3.7, 5.0, 3.5, 3.7, 3.8, 3.8, 4.0]` ms, a 3.8 ms median and
|
|
866
|
+
3.5/5.0 ms range. The destination content changed, so no same-content latency
|
|
867
|
+
regression or improvement is claimed.
|
|
868
|
+
|
|
837
869
|
## `0.14.x`: Lists, Tables, And Virtualization
|
|
838
870
|
|
|
839
871
|
### `0.14.0`: Project Table CRUD And Identity
|
|
@@ -1332,5 +1364,6 @@ release transaction where possible or document and publish a forward-fix patch.
|
|
|
1332
1364
|
| `0.13.0` | Released | Preserve native constraints, server feedback, focused field errors, retained input, and retry evidence. | None |
|
|
1333
1365
|
| `0.13.1` | Released | Preserve application-owned nested metadata, keyed row identity, release, and reset evidence. | None |
|
|
1334
1366
|
| `0.13.2` | Released | Preserve multistep validation, versioned persistence, stale-save rejection, conflict retention, and reset evidence. | None |
|
|
1335
|
-
| `0.13.3` |
|
|
1336
|
-
| `0.14.0`
|
|
1367
|
+
| `0.13.3` | Released | Preserve the published upload validation, cancellation, retry, route cleanup, and attachment mutation evidence. | None |
|
|
1368
|
+
| `0.14.0` | Active | Add the first failing project-table CRUD and retained-identity fixture. | None |
|
|
1369
|
+
| `0.14.1` onward | Blocked | Complete or explicitly close `0.14.0` 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.
|
|
69
|
+
`create-kudzu@0.1.121` retains the explicit install instructions and generates projects with `@kudzujs/core@^0.13.3`.
|
|
70
70
|
|
|
71
71
|
## Release Boundary
|
|
72
72
|
|