@neocompose/cli 0.81.1 → 0.81.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 +22 -0
- package/dist/neo.mjs +399 -184
- package/dist/test-worker.mjs +263 -133
- package/package.json +1 -1
- package/skills/neocompose-cli/SKILL.md +1 -1
- package/skills/neocompose-cli/references/cli-development.md +1 -1
- package/skills/neocompose-cli/references/declarations-and-construction.md +13 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.81.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9bdbe4b: Preserve outer construction values after editing an inline child. Stored children at their virtual IDs keep the outer construction's omitted fields when their variant selection matches, and ToVariant applies in place without recording an independent applied layer.
|
|
8
|
+
- 45e1b8b: Keep nested generic constructions bound to their own type arguments. Root values such as `Box<Box<int>>` and `Box<List<Box<int>>>` now push and round-trip without constructor argument errors.
|
|
9
|
+
- b6bb4b8: Fix edits to deeply nested projected constructor arguments when a changed field is packed inside its parent. Reconciliation now protects the edit with the physical parent row's content hash.
|
|
10
|
+
|
|
11
|
+
## 0.81.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 75ebf1e: A type written in a function body with the wrong number of type arguments no longer compiles, as declarations already did. `item is ToolItem<AttackItemAsset>` against a two-parameter `ToolItem` now fails with `Type 'ToolItem' expects 2 type arguments, but 1 was provided.` Type arguments on a generic parameter, a built-in or registry type, or more than 17 on `NeoDelegate` fail the same way. Already-compiled bodies keep running until their source is edited.
|
|
16
|
+
- 4415c34: A string in a collection that happens to equal a live value id now reads back as that string, not as the row it names. Before, `touching.Add(placed.Id)` followed by `touching.Remove(placed.Id)` removed nothing, and index reads, `foreach`, `Contains`, `IndexOf`, `Set<string>`, and dictionary values returned the named row instead. Assigning a list slot whose string named another row also overwrote that row's value, and `Contains` on a `List<string>` matched an entry's own row id. A collection now records which of its entries are row ids the first time a written value makes it mixed, and a local collection holds its values. Neo Compose .NET SDK 0.71.5 fixes the same for local collections in Unity.
|
|
17
|
+
- fffe524: A constructor argument that constructs a generic class inline, such as `new Holder(box: new Box<List<int>>(value: [1]))` or `new Holder(bags: [new Bag<int>(items: [1])])`, now writes back to source. Before, the next push after a pull failed with "Expected Box but received Box<int>" or "has no concrete class".
|
|
18
|
+
|
|
19
|
+
Value comparison now treats two generic bindings to the same type as equal, so replaying such a construction no longer reads as an edit that rebuilds it.
|
|
20
|
+
|
|
21
|
+
- c2b1188: `EffectiveValueReader` takes `overrideRows: "constructed"` for override rows that are complete construction output. It reads rows minted outside the document as they are instead of replaying their construction. Edited copies of stored rows still expand, and forked readers do not inherit the option. The world animation panel uses it for its constructor, variant, and class Default previews, which had replayed every character part on the main thread when the panel opened.
|
|
22
|
+
|
|
23
|
+
A complete row of a class that declares a function or getter no longer replays on read. Those members never store a slot, but the reader counted them as missing.
|
|
24
|
+
|
|
3
25
|
## 0.81.1
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|