Release Notes - v0.12.0
このコンテンツはまだ日本語に翻訳されていません。
v0.12.0
Section titled “v0.12.0”Title: Share list storage with the evaluator
Version: v0.12.0
Release date: 2026-11-08
Release: v0.12.0
Comparison: v0.11.6…v0.12.0
Recommended Network Compatibility ⚠️
Section titled “Recommended Network Compatibility ⚠️”| Network | Compatible |
|---|---|
| mainnet | ⛔ |
| preprod-testnet | ✅ |
| preview-testnet | ✅ |
| musashi | ✅ |
This release reduces unnecessary allocation while the evaluator processes lists and clarifies the ownership rules for the data and protocol list APIs.
Reduce Evaluator Allocations
Section titled “Reduce Evaluator Allocations”- Improved evaluator efficiency for lists built with
mkConsby using lazy persistent storage for list, map, and constructor data instead of eagerly copying contiguous slices; values materialize only when operations require size or cost information. - Preserved the cons-cell representation when
unListData,unMapData, andunConstrDatadecompose values and whencasematches onData, keeping these operations constant time.
Validate Evaluator Inputs
Section titled “Validate Evaluator Inputs”- Validated evaluator allocations against defined bounds and standardized invalid data failures as
TypeError, making evaluator behavior more predictable.
Migrate Data Access APIs
Section titled “Migrate Data Access APIs”- Standardized
data.List,data.Map, anddata.Constraccess aroundItems(),Pairs(), andFields()methods, replacing direct access to exported fields; useLen()for list and map lengths andNumFields()for constructor field counts. - Added
data.WrapList,data.WrapMap, anddata.WrapConstrto transfer ownership of existing slices without copying, while the existing constructors continue to copy their input slices. - Clarified the ownership contract: wrapper functions take ownership, and callers must not modify slices returned by accessors.
- Updated
syn.ProtoListto useList()andLen()and addedsyn.WrapProtoListfor ownership transfer.
Docs authored by Doc Holiday