Skip to content

Flecha v0.3.1

Choose a tag to compare

@segfaultcafe segfaultcafe released this 06 Nov 13:39
· 287 commits to release since this release
d434150

Flecha 0.3.1 fixes derived JSON support for slices.

Fixed

  • Generated JSON writers now serialize owning slices (own []T) as arrays, recursively covering primitives, owning strings, nested owning slices, and decorated structure elements.
  • Generated JSON readers now deserialize arrays into own []T, preserving ownership and cleaning partially decoded values on parse or allocation failure.
  • Borrowed slice destinations now produce a precise compile-time diagnostic; decoded array storage must be owned.

Validation

The release was qualified with the full compiler/runtime suite, ASan and UBSan, Longbow standard-library tests, editor packaging, cross-platform release builds, and relocated clean-install tests on Linux, Windows, macOS x86-64, and macOS arm64.

See the v0.3.1 release notes for details and upgrade guidance.