Release Notes - v0.212.3
v0.212.3
Section titled “v0.212.3”Title: Improve CBOR decoding and update Plutigo
Version: v0.212.3
This release improves in-memory and nested ledger CBOR decoding efficiency, clarifies input slice handling and error count behavior, and updates Plutigo to v0.9.1.
Improvements
Section titled “Improvements”- Improved CBOR decoding by reading directly from the caller-provided byte slice, reducing allocations and CPU overhead during in-memory and nested ledger decoding. For destinations whose
UnmarshalCBORmethods retain raw CBOR, the decoder no longer copies input bytes; applications must treat the input slice as immutable while the decoded value is in use.*cbor.Valueremains an exception and keeps its own copy.Decodenow returnsn == 0on errors, so applications must checkerrbefore using the consumed-byte count. API documentation coversDecode,DecodeStrict,DecodeLenient,DecodeLedgerMap, and ledgerNew*FromCborconstructors.
Additional Changes
Section titled “Additional Changes”- Updated Plutigo from
v0.8.1tov0.9.1and refreshed the Plutus V4 constructor-limit test to expecttoo many term list items: limit is 1024for constructors with 1025 fields. This dependency update changes no production code paths.
Release: v0.212.3
Docs authored by Doc Holiday