Release Notes - v0.202.1
v0.202.1 (August 27, 2026)
Section titled “v0.202.1 (August 27, 2026)”Title: Improve Byron trust validation and decoding safety
Date: August 27, 2026
Version: v0.202.1
The decoder now returns descriptive errors for malformed input instead of allowing it to cause panics, while Byron trust anchors and network timing configuration receive additional validation before use.
💪 Improvements
Section titled “💪 Improvements”- Improved malformed CBOR handling: Ledger CBOR decoding and block body parsing now validate decoded array shapes before indexing.
ApplyTxError.UnmarshalCBORrejectsUtxowFailurearrays shorter than two elements with a descriptive error,OutsideValidityIntervalUtxo.Errorverifies that the concreteValidityIntervalvalue is[]anyand checks its decoded length, andGetTxBodiesrejects empty transaction rows with an indexed error that reports the minimum field count while accepting rows that contain only a body. Regression tests cover shortUtxowFailurearrays, malformedValidityIntervalshapes, empty transaction rows, and body only rows.
⚠️ Breaking Changes
Section titled “⚠️ Breaking Changes”- Strengthened Byron trust and timing validation: Byron headers now fail closed when genesis trust roots are empty and report
ErrGenesisIssuerSetEmpty.ComputeGenesisWindownow returns(uint64, error)and rejects zerosecurityParam, nil or out of rangeactiveSlotCoeff, and overflow.NewGenesisSelectornow returns(*GenesisSelector, error), calculates a missing genesis window, and rejects mismatches.NewNetworkConfigFromReadervalidatessecurityParam,ActiveSlotCoeff, whole nanosecondslotLengthandtime.Durationbounds,epochLength,SlotsPerKESPeriod, andMaxKESEvolutions.SlotDurationreturns zero when conversion cannot be represented, andcbor.RatJSON decoding rejects a zero denominator. Breaking change: Callers must handle the errors returned byComputeGenesisWindowandNewGenesisSelector. Invalid Byron, network, and genesis configurations now fail safely rather than proceeding with unsafe values.
Compare: v0.202.0…v0.202.1
Docs authored by Doc Holiday