@neocompose/cli 0.81.5 → 0.82.1

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 CHANGED
@@ -1,5 +1,34 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.82.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 8d58730: Fix collection-bound Reference<T> and Set<Reference<T>> declarations whose generic target extends a class. Preserve inherited lookup overrides during export, and report authored source diagnostics instead of secondary manifest errors when a base declaration is invalid.
8
+
9
+ ## 0.82.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 668f46c: `Reference<T>` now works for any value type except code types. A class,
14
+ interface, list, set, or dictionary reference is the object itself, as before.
15
+ Any other `T`, such as `Reference<int>` or `Reference<Vector3>`, names another
16
+ member and reads and writes its value. Form one with `Reference(this.Gold)` or
17
+ default it with `Reference(root.Player.Gold)`. References can be collection
18
+ elements, dictionary values, parameters, returns, and unbound generic
19
+ arguments. The web editor picks value-type targets by member path. Unity needs
20
+ SDK 0.72.0. Re-export to regenerate C# clients.
21
+
22
+ `Reference<Item?>` is now an error. Write `Reference<Item>?` for a reference
23
+ that may be unset.
24
+
25
+ ### Patch Changes
26
+
27
+ - 3599e8d: Keep constructor-added collection elements in backing rows when exporting sparse instances. Preserve existing entry identities and scalar strings during collection replay.
28
+ - 45c4d2c: Replay a sparse child's own declared constructor during reconciliation instead of treating it as a parent-only edit. Fix missing constructor argument errors when editing stored animation instances.
29
+ - 66c4258: Remove conflicted source files when neo resolve selects the deleted side, instead of retaining a deletion placeholder. Preserve empty and comment-only authored files.
30
+ - 878595c: Compare NeoVariant selections by their class, variant, and bound lookup row, including repeated reads and optional member assignments.
31
+
3
32
  ## 0.81.5
4
33
 
5
34
  ### Patch Changes
package/README.md CHANGED
@@ -275,11 +275,13 @@ initializer. Nested class and collection rows remain independently identified.
275
275
 
276
276
  Defaults materialize once when a value is created. Existing instances do not
277
277
  stay linked to later class-default changes. Logical lookup/dialogue references
278
- use the native typed intrinsic:
278
+ use the native typed intrinsic. A reference to a value type, such as
279
+ `Reference<int>`, names a member path:
279
280
 
280
281
  ```neo
281
282
  Reference(Assets.Capitol)
282
283
  Reference(root.Assets.Cosmetics.Pants)
284
+ Reference(root.Player.Gold)
283
285
  Reference<PantsAsset>(key: "pants.long")
284
286
  Reference<NeoDialogue>(id: "dialogue-id")
285
287
  ```