@neocompose/cli 0.82.5 → 0.84.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 +44 -0
- package/dist/neo-runtime.mjs +11384 -3798
- package/dist/test-worker.mjs +6427 -2119
- package/package.json +1 -1
- package/skills/neocompose-cli/SKILL.md +1 -1
- package/skills/neocompose-cli/references/animation-and-world-authoring.md +7 -0
- package/skills/neocompose-cli/references/cli-development.md +1 -1
- package/skills/neocompose-cli/references/declarations-and-construction.md +56 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.84.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 0b335bc: `NeoObjectBase` and `NeoTile` gain `GetArea<T extends NeoTileGrid = NeoTileGrid>()` (P114). It returns the nearest tile grid that owns the value, or `null` when no grid owns it or that grid isn't a `T`. A nested child, an object held in another object's field, and a tile in a nested layer link all answer with their placed root's grid. A spawn, move, or removal earlier in the same evaluation is visible to the call.
|
|
8
|
+
|
|
9
|
+
Moving an object out of one unordered list and into another in one evaluation no longer fails with "already owned by parent value".
|
|
10
|
+
|
|
11
|
+
Unity codegen now treats every `native` function with a system id as the SDK's own. Run `neo pull` and `neo export` after upgrading. Requires Neo Compose .NET SDK 0.74.0.
|
|
12
|
+
|
|
13
|
+
## 0.83.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- d3d1894: Interface members (P113). A member, list or set element, dictionary value, or
|
|
18
|
+
parameter can be typed by an interface, such as `public IReward Reward`. Its
|
|
19
|
+
row holds any class that implements the interface. Interfaces can be generic
|
|
20
|
+
(`IContainer<T>`), extend other interfaces with arguments, and constrain
|
|
21
|
+
generic parameters (`T extends IReward`). Classes pass interface arguments in
|
|
22
|
+
their implements list. A row's class must fit every storage its slot lives at;
|
|
23
|
+
the push refuses a row that can't be stored there, naming the slot and the
|
|
24
|
+
row's path. `neo status` reports a row whose class the interface doesn't
|
|
25
|
+
determine at the row's `new` expression. The compiler checks storage for
|
|
26
|
+
assignments, collection `Add`, `Insert`, indexer writes, and literal entries,
|
|
27
|
+
and completion offers only classes that fit the slot. Changing an interface
|
|
28
|
+
slot's row to another class replaces it with a fresh construction of that
|
|
29
|
+
class, and the push refuses when the old row has sparse overrides. The web editor picks an interface slot's class
|
|
30
|
+
from its implementers and edits interface parameters and arguments. Type
|
|
31
|
+
arguments in interface signatures, for interfaces and classes, must satisfy
|
|
32
|
+
their parameter's constraint, and a constrained parameter's argument can't be
|
|
33
|
+
nullable. Empty localized text no longer blocks pushes that touch static
|
|
34
|
+
values. Unity needs SDK 0.73.0. Re-export to regenerate C# clients. A generic
|
|
35
|
+
argument that forwards a type parameter no longer reads as a local change
|
|
36
|
+
after a pull when the web editor wrote it. The web Database now expands a
|
|
37
|
+
generic class row in a generic slot or a generic collection, such as
|
|
38
|
+
`Box<Crate<Seed>>.Value` or `List<T>` entries, instead of failing to construct
|
|
39
|
+
the open class.
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- ad68a76: Cut repeated work from each `neo dev` save. Derived caches are written once when `neo dev` exits instead of after every save, unchanged initializers are no longer re-parsed, constructor edits no longer rebuild the analyzer's class and member lookups, row comparisons skip copying rows with nothing to strip, and Unity variant, localization and codegen fingerprint projections are reused for unchanged records.
|
|
44
|
+
- 3a956a2: `neo dev` reuses more work across saves. An instance expansion is now reused when a schema edit, or an edit to a nested instance, doesn't change anything it read. Unchanged lowered rows and schema indexes are also kept across saves instead of being rebuilt.
|
|
45
|
+
- 0c0cf7d: Speed up fresh edits in `neo export` and `neo dev`. Sparse-root expansions now depend on the member contracts and method bodies they actually ran, so editing a method body only re-expands the roots that executed it. Clip validation is skipped when changes reach nothing the server would re-grade. Schema validation, binary snapshots, root path edges and Unity JSON fragments are reused across saves.
|
|
46
|
+
|
|
3
47
|
## 0.82.5
|
|
4
48
|
|
|
5
49
|
### Patch Changes
|