@patterkit/runtime 0.4.1 → 0.4.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/CHANGELOG.md +29 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -25,6 +25,35 @@ version number always means the same runtime behaviour. This package is versione
|
|
|
25
25
|
|
|
26
26
|
## [Unreleased]
|
|
27
27
|
|
|
28
|
+
## [0.4.3] - 2026-08-19
|
|
29
|
+
|
|
30
|
+
### Changed
|
|
31
|
+
|
|
32
|
+
- Version bump only, to keep the four Patterplay runtimes in lockstep. This release brings the bundle
|
|
33
|
+
inspector to Unity, Unreal and Godot; `describeBundle` has been in the JavaScript runtime since
|
|
34
|
+
0.4.1 and is unchanged.
|
|
35
|
+
|
|
36
|
+
## [0.4.2] - 2026-08-19
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
|
|
40
|
+
- Version bump only, to keep the four Patterplay runtimes in lockstep. This release brings Unity,
|
|
41
|
+
Unreal and Godot up to the JavaScript runtime's declared-host-scope behaviour; the JavaScript
|
|
42
|
+
runtime itself is unchanged since 0.4.1.
|
|
43
|
+
|
|
44
|
+
## [0.4.1] - 2026-08-19
|
|
45
|
+
|
|
46
|
+
### Fixed
|
|
47
|
+
|
|
48
|
+
- **A declared host-scope property whose name carried a capital letter could never be read.** With no
|
|
49
|
+
host resolver bound for a scope, `@world` is self-backed from its declaration defaults - and that bag
|
|
50
|
+
was seeded with the declared name VERBATIM, while the compiler folds every property reference to
|
|
51
|
+
lower case. So a bundle declaring `@world.isNight` compiled a reference to `isnight`, the bag held
|
|
52
|
+
`isNight`, and the two never met: the read returned `undefined` and the gate took the falsy branch,
|
|
53
|
+
silently playing a different story from the same bundle. Only all-lowercase names ever worked. The
|
|
54
|
+
bag is now keyed lower case on seed, get and set. (`@patter` and `@scene` already normalised; this
|
|
55
|
+
resolver was the one that did not.) Declaring such a name is now refused at compile time as well.
|
|
56
|
+
|
|
28
57
|
## [0.4.0] - 2026-07-30
|
|
29
58
|
|
|
30
59
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patterkit/runtime",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Patter reference runtime: load a bundle and play dialogue - flows, selectors, choices, jumps, effects, properties. Built on @wildwinter/expr + scoperegistry.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|