Repository navigation
fix: make JSONEnvelope schema versions portable to WASI for 1.10.0 - #102
Conversation
Final source freeze — 1.10.0Post-merge review: PR #102 is merged; main is Pre-merge Native/Linux CI: 20 successful checks; PR Pages deployment skipped as expected. Previous full WASI receipt: 82/82 subprocesses, 2,046 test-method executions, archive SHA-256 Final-main workflows: Native, Linux. Require completion on the frozen SHA, fresh full WASI evidence with Swift.org 6.4.2 / matching SDK / WasmKit 0.3.1 / Node 26.5.0, final public API review, exact-source archive/DocC assets and public qualification receipt. Retain the 1.10-only performance exception as an exception (not a measured pass), with final-source applicability reviewed before publication. No new source commit, tag or release. Foundation Models remains outside 1.10.0. |
Final 1.10.0 qualification and asset review — GREENExact final main: Final Studio return: API digester against 1.9.0: actual exit 1, precisely the two previously documented package-internal findings (binaryConversionText and doubleValue meter overloads). Both old/new declarations checked; public doubleValue(policy:limits:) unchanged. Eleven other library modules no breakage detected. Public API review PASS, not a zero-exit digester claim. The 1.10-only controlled-performance exception remains an exception, not a measured pass. Downloaded final CI ZIP artifacts 15119260638 (archive) and 15115878089 (docs), checked SHA-256 against provider metadata. Verified all 1580 source manifest entries and independently reconstructed the exact Git tree from source tar bytes/modes. Git-free native reproduction 62/62; command/event hashes and reproduction receipts reconciled. Verified 5917 DocC archive files against the exact companion manifest, 13 conversions without DocC diagnostics, 1805/1805 authored public symbols under the stated coverage policy. Source/docs receipts share the final WASI manifest. Other CI ZIP bytes not independently downloaded; their successful job/command receipts were reviewed. Public asset payload hashes:
Five public release assets assembled locally with qualification JSON and SHA256SUMS; tag creation, GitHub release publication, uploaded asset verification and version-tag external consumer remain pending. Pages built while 1.9.0 was latest; refresh release metadata after publication. Developer kit and JMC1 follow release independently. No source change, tag or publication performed. |
Release 1.10.0 — fixed-width envelope version
The initial full WASI release gate caught a real portability defect: the new, unpublished JSONEnvelope API stored schema versions as Int, but its documented maximum is 2^53−1, outside the wasm32 Int range.
This focused change uses Int64 for the range, property, initializer and exact integer decoding. It preserves all six wire fields, the accepted range, canonical bytes, payload digest and operational-error distinctions. No change to published 1.9.0 APIs, product inventory, deployment floors or package dependencies. Callers using typed Int variables against the unpublished preparation branch need an explicit conversion. The existing tests retain their discovery counts and now exercise exact roundtrips at six version boundaries and additional invalid inputs. CLI source identity was regenerated.
Actual WASI GREEN — reviewed 2026-11-26
1d7a9cbb50cd496259f1aa8397515cd4c1fab0623ee5c5f6946a4548116d8b7aa80e83b432e47f83Swift-JSON-1.10.0-WASIFix.tar.gz(191405 bytes)422ffa44060687ab48d976a829ee46f29f6b1788ee068ab351d19efcfb8717995c207b2f28e8df399a839266d2446873980bb0e8ce2c04cc3a783c8f5c154cb8(1580 entries; unchanged during execution)e13635084d9460303d2ac7594f323fca452fa62734dbb0cb4b8ea5074f580875python3 -B Scripts/ci.py --lane wasm --skip-host-measurements.Original RED evidence is retained in Release1.10.md. This PR description records the GREEN evidence without modifying that qualified commit or uploading private host logs.
Fail-closed release gates
Foundation Models/JF4.2 and the planned 1.11 product are deliberately outside this PR. No tag, release or package promotion in this step.