@neocompose/cli 0.79.1 → 0.81.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 +27 -0
- package/dist/neo.mjs +3031 -794
- package/dist/test-worker.mjs +1432 -360
- package/package.json +1 -1
- package/skills/neocompose-cli/SKILL.md +1 -1
- package/skills/neocompose-cli/references/animation-and-world-authoring.md +9 -2
- package/skills/neocompose-cli/references/cli-development.md +1 -1
- package/skills/neocompose-cli/references/neoscript.md +29 -0
- package/skills/neocompose-cli/references/values-identities-and-references.md +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.81.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a130be0: `NeoSpriteObject` extends `NeoObject` (P111). A sprite class can be placed on an object layer, can have `Children`, and gets `OnObjectSpawned`/`OnObjectDespawned`. `PlacementTiles = []` keeps any object, sprite or not, out of the grid's occupied cells: it blocks no placement and `GetObjects`, `GetTile` and `GetTiles` never return it. A placed object with no tiles still has a `Cell`.
|
|
8
|
+
|
|
9
|
+
The system schema rollout gives existing sprite instances empty `PlacementTiles` and `Children`. Run `neo pull` and `neo export` after upgrading. Requires Neo Compose .NET SDK 0.71.0.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 2c89443: Materialize authored defaults for omitted optional constructor fields so collection mutations persist on each instance. Match the .NET runtime while preserving omission for fields without defaults.
|
|
14
|
+
|
|
15
|
+
## 0.80.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- c62600f: Functions, natives and interface functions can declare their own type parameters, each with an optional constraint and default (`List<T> GetTiles<T extends NeoTile = NeoTile>(...)`). A call writes its type arguments or omits the defaulted tail; nothing is inferred.
|
|
20
|
+
|
|
21
|
+
`GetObjects`, `GetTile` and `GetTiles` use this. `GetTile<T>` and `GetTiles<T>` filter each cell's top tile, so `GetTiles<DirtDryTile>(pattern)` returns `List<DirtDryTile>`. `GetObjects<T>` no longer copies its result through a hidden `Where`. It now returns a mutable `List<T>` that belongs to the caller, as `GetTiles` does. Requires Neo Compose .NET SDK 0.70.0.
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- cba271b: Support SVG managed images in pull, status, dry-run, push, and Unity export, preserving MIME metadata and verified file bytes.
|
|
26
|
+
- 927be53: Fix List.Remove ignoring scalar entries supplied by instance field defaults. Default entries now compare by value, matching Contains and IndexOf, while class entries retain identity comparison.
|
|
27
|
+
- b73c96f: Reject eager instance reads in collection-entry initializers with a located compiler error, while preserving deferred lambda captures and method-group delegates.
|
|
28
|
+
- e1b0fea: Index local and parameter Set membership so Add, Remove, and Contains avoid repeated scans. Preserve insertion order, reference identity, shared parameter mutations, and array values at host boundaries.
|
|
29
|
+
|
|
3
30
|
## 0.79.1
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|