v2.0.0-beta.5
Pre-release
Pre-release
·
4 commits
to main
since this release
Patch Changes
-
c73e215: Fix tree-access
System.Stringdefaults being JSON-parsed, corrupting value-list inputs on the wire.The 2.0 input-normalization pipeline (
normalize-default.ts) JSON-parsed any tree-access item typedSystem.Stringwhosedatastarted with[or{. A multi-valueDynamic_ValueListsends exactly such labels (e.g."[1,2,3]"), so its default was turned into a real array on the leafdata. The Rhino.Compute (VektorNode) fork expects that leaf to be a string and its Newtonsoft reader throwsUnexpected character ... value: [at the leaf position, crashing the solve. 1.5.3 sent the raw string, so this was a 2.0-line regression.- Restrict the JSON.parse branch in
normalizeDefaultWithWarningtoRhino.Geometry*types (which really are JSON-encoded on the wire).System.Stringnow falls through and round-trips unchanged. - Add a regression test pinning that bracket-leading string tree values stay strings.
- Restrict the JSON.parse branch in