@neocompose/cli 0.84.4 → 0.85.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 +30 -0
- package/dist/neo-runtime.mjs +6258 -3205
- package/dist/test-worker.mjs +4150 -1573
- 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/neoscript.md +137 -6
- package/skills/neocompose-cli/references/values-identities-and-references.md +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.85.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 0a0e33e: Add the NeoScript string library and number text: `Length`, `Substring`, `IndexOf`, `LastIndexOf`, `Split`, `PadLeft`, `PadRight`, `TrimStart`, `TrimEnd`, `string.Join`, `string.IsNullOrEmpty`, `string.IsNullOrWhiteSpace`, `int`/`float`/`decimal` `Parse` and `TryParse`, and `ToString(format)` with `D`, `F`, and `N` formats. Every member is ordinal, invariant, and counts UTF-16 code units. `Trim` now uses C#'s whitespace set in every runtime. Bodies using these members need neo-compose-dotnet 0.75.0 or later.
|
|
8
|
+
|
|
9
|
+
Fixed: `neo script check`, `compile`, and `eval` no longer fail with `has unsupported schema type "functionGeneric"` on a project whose classes declare a generic function, such as the HelloWorld seed's `GetObjects<T>`.
|
|
10
|
+
|
|
11
|
+
Fixed: in the editor, a local or parameter named `Math`, `List`, or a primitive keyword such as `string` now completes, hovers, and shows signature help as that value instead of as the builtin type, matching the compiler.
|
|
12
|
+
|
|
13
|
+
- 6832566: Add numeric reductions, grouping, dictionary conversion, folds, Distinct, Zip, secondary ordering, and in-place list sorting to NeoScript. Preserve eager query semantics and collection entry permissions. Unity exports use schema 43 and require the corresponding SDK update.
|
|
14
|
+
- 6604c37: Add vector arithmetic, magnitude and normalization, vector math functions and constants, and Color.Lerp to NeoScript. Integer vectors accept integer scalars only. Vector equality remains exact and division by zero throws, matching NeoScript scalar behavior.
|
|
15
|
+
|
|
16
|
+
Unity exports now use schema 43 and require SDK 0.75.0 with P116 vector support. Upgrade the CLI and SDK together, then run `neo pull` and `neo export`.
|
|
17
|
+
|
|
18
|
+
## 0.84.5
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- 47070ce: Allow compatible class tests after interface guards and retain proven capabilities through class narrowing.
|
|
23
|
+
- 61f7db2: Preserve reference rebinding in conditional assignments, including constructor initialization, while retaining contextual scalar writes through references.
|
|
24
|
+
- b69f0ad: Reject impossible class/interface type tests with conflicting generic interface arguments, including inherited interfaces. Preserve possible checks on open classes and generic arguments, and existing interface-only runtime checks.
|
|
25
|
+
- 1dd7cdb: Apply flow guards to global values and static member paths, including editor completion. Preserve ordinary assignment invalidation and keep outer guard proofs out of closures.
|
|
26
|
+
- 199e052: Preserve the original class and generic parameter identity after interface guards, including declaration patterns. Keep proven capabilities available for member access and editor completion without retaining them after reassignment.
|
|
27
|
+
- 67145ae: Resolve unqualified static members of the declaring class in eager field and nested initializers while preserving instance-scope restrictions.
|
|
28
|
+
- 2467cee: Reject incompatible generic base class assignments by checking the constructed ancestor's type arguments through inheritance.
|
|
29
|
+
- 07e7f1a: Preserve reference identity in null-coalescing expressions when a reference result is expected.
|
|
30
|
+
- 5e4ff16: Allow list and dictionary declaration defaults containing slot references, including nested collections and static targets. Preserve target rows during preparation so references to virtual defaults remain valid at runtime.
|
|
31
|
+
- d14a4a0: Reject unknown or malformed nested type arguments in stored constructors at their authored source positions.
|
|
32
|
+
|
|
3
33
|
## 0.84.4
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|