@patterkit/runtime 0.10.0 → 0.11.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.
- package/CHANGELOG.md +14 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -72
- package/dist/index.d.ts +4 -72
- package/dist/index.js.map +1 -1
- package/dist/patterplay.min.js +2 -2
- package/dist/patterplay.min.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -33,6 +33,20 @@ version number always means the same runtime behaviour. This package is versione
|
|
|
33
33
|
|
|
34
34
|
## [Unreleased]
|
|
35
35
|
|
|
36
|
+
## [0.11.0] - 2026-09-03
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
|
|
40
|
+
- **The `patter/save@0` shape is the family's contract, and its types live in `@patterkit/model`.**
|
|
41
|
+
`SaveEnvelope`, `SaveGame`, `FlowSnapshot`, `FlowCursor` and the rest are exported from the model
|
|
42
|
+
with `SAVE_SCHEMA`, and re-exported here so existing imports keep working. Nothing this runtime
|
|
43
|
+
writes has changed: its output was always this shape. The three native ports now write and read
|
|
44
|
+
it too, so a save crosses engines, and the conformance corpus carries a save this runtime wrote
|
|
45
|
+
that every runtime must load, write back with the same key paths, and continue.
|
|
46
|
+
- **A host-scope declaration's `writable: false` is pinned as the story's promise**, refused whether
|
|
47
|
+
the scope is bound by the game or self-backed. This runtime always did so; the test now says it
|
|
48
|
+
in one place, and the three native ports match it from this version.
|
|
49
|
+
|
|
36
50
|
## [0.10.0] - 2026-09-02
|
|
37
51
|
|
|
38
52
|
### Added
|