@neocompose/cli 0.76.3 → 0.77.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 +21 -0
- package/dist/neo.mjs +1028 -206
- package/dist/test-worker.mjs +121 -50
- 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 +26 -9
- package/skills/neocompose-cli/references/neoscript.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.77.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- efb7ad8: Breaking: lookup members are spelled `Reference<T>` and `Set<Reference<T>>`. A lookup
|
|
8
|
+
declared as `T` with `@settings(collection:)` is now an error; the language
|
|
9
|
+
server's quick fix rewrites the type and drops `selection:`. To respell a clean
|
|
10
|
+
working copy in one step, run `neo pull --reset`.
|
|
11
|
+
|
|
12
|
+
`@settings(collection:)` is optional. An unbound reference selects any stored
|
|
13
|
+
row of `T` or a subclass, and that row's store decides whether a write lands.
|
|
14
|
+
Its default may name a row with an index path such as
|
|
15
|
+
`root.Assets.Items.Index.Slug["seed.carrot"]!`. A `Reference<T>` member
|
|
16
|
+
satisfies interface and abstract `T` getter contracts. Unity needs SDK 0.67.0 to read
|
|
17
|
+
unbound references.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- cc110a0: Completion, hover, go to definition, references, and rename now work on members read through a parenthesized conditional, such as `(ready ? first : second).Count`, or a chained delegate call, such as `Helpers.Factory()().Count`. Renaming `Item.Count` no longer misses the chained call.
|
|
22
|
+
- 4989f8c: The editor infers the element type of `List.Repeat`, so `var items = List.Repeat(new Item(), 2);` makes `items[0].Count` complete, navigate, and rename. The type comes from the repeated value, an explicit type argument such as `List.Repeat<Item?>(null, 2)`, or the expected list type.
|
|
23
|
+
|
|
3
24
|
## 0.76.3
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|