@neocompose/cli 0.27.1 → 0.29.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 CHANGED
@@ -1,5 +1,51 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.29.0] - 2026-08-12
4
+
5
+ ### Added
6
+
7
+ - `Reference<T>(id: "...", withProvenance: true)` for executable NeoScript.
8
+ The opt-in flag resolves an authored row id to the nearest clone carrying it
9
+ as `sourceValueId` in the lexical receiver's ownership graph. It defaults to
10
+ `false`, preserving exact-ID behavior for every existing reference.
11
+
12
+ ### Changed
13
+
14
+ - Animation child selectors created by the world UI and the legacy
15
+ `Child`-to-`Selector` reconciler now opt into provenance so clips authored
16
+ against a class default select each placement's cloned child.
17
+ - Unity export schema version is 19 and NeoScript compiler revision is 9.
18
+ Older SDKs reject the export rather than silently ignoring provenance and
19
+ applying an override to the shared authored row.
20
+
21
+ ## [0.28.0] - 2026-08-12
22
+
23
+ ### Added
24
+
25
+ - Parameter default values (P65): constructors and functions may declare
26
+ `string bar = "BAR"` on class headers, declared constructors, native
27
+ functions, NSFunctions, and interface functions. Defaults are constant
28
+ expressions only — bool/int/float/decimal/string literals with an optional
29
+ leading `-`, leading-dot enum options (`.North`), and `null` on nullable
30
+ parameters — and must follow every non-defaulted parameter. Call sites may
31
+ omit defaulted arguments: function calls accept a trailing-omission arity
32
+ range, and constructor calls match by name subset with C#'s
33
+ fewest-fill-ins tie-break. A fully defaulted constructor is callable as
34
+ `new()`. Defaults round-trip byte-identically through `neo push` and
35
+ `neo pull`, store the enum option id (renaming an option changes the
36
+ emitted spelling without touching the record), and surface in diagnostics
37
+ as `default-before-required-parameter`, `non-constant-parameter-default`,
38
+ `parameter-default-type-mismatch`, and
39
+ `parameter-default-on-deferred-function` — a deferred function's
40
+ parameters cannot be defaulted, and delegates, actions, closures, and
41
+ overrides carry no defaults at all.
42
+
43
+ ### Changed
44
+
45
+ - Unity export schema version is 18. Exports that declare parameter defaults
46
+ require an SDK that understands them; the SDK's exact-match gate rejects
47
+ mixed versions in either direction.
48
+
3
49
  ## [0.27.1] - 2026-08-12
4
50
 
5
51
  ### Fixed