Skip to content

v0.2.3 — Faithful Reflections

Latest

Choose a tag to compare

@vt128 vt128 released this 17 Nov 04:37
a7a2ede

v0.2.3 — Faithful Reflections

Bug fixes for Go–Starlark conversion and wrapped-map operations, retaining the established compatibility baseline.

Behavior changes

  • Terminate map-key sorting when pointer dereferences form a cycle. (#85)
  • Preserve accepted Go pointer values during collection materialization instead of unexpectedly panicking. Slice indexing and iteration now retain elements without a direct Starlark representation as opaque GoInterface values. (#94)
  • Preserve the original value and multiplicity of NaN-keyed map entries, and detect cycles through those values. Equal sort keys have no promised relative order. (#94)
  • Make Clear reject a map containing non-reflexive keys without modifying it. popitem reports an error when its selected key cannot be retrieved or deleted, rather than claiming success. (#94)

Usage documentation now clarifies conversion fallbacks, aliasing, slice-header write-back, host method effects, and module/cache loading. These clarifications do not make shared mutable host values automatically safe for concurrent use.

Compatibility and validation

Go 1.19 and go.starlark.net v0.0.0-20260324133313-ffb3f39dd27a remain unchanged. The candidate has passed its own host/floor tests, defensive coverage, downstream comparisons, and exact-commit CI/coverage checks. Previously measured, proportionate safety costs are accepted and retained; this is not a zero-overhead or performance-equivalence claim.

Known security boundary

The pinned interpreter retains its known deep-source parser recursion limitation. Execution budgets and a newer production Go compiler do not repair it. Use host-selected, reviewed source and modules; this library does not provide process/resource isolation for arbitrary untrusted or multi-tenant scripts. See SECURITY.md.

The retained golang.org/x/sys version also carries GO-2026-5024, affecting Windows NewNTUnicodeString. The reviewed library dependency graph for windows/amd64 does not import golang.org/x/sys/windows; consumers must assess additional imports separately.

Publishing this library version does not automatically update Starlet, Starbox, StarCLI, or other consumer dependency pins.