v0.36.0
Version 0.36.0
Changed
- #525: The
$hp
register is no longer restored to it's previous value when returning from a call, making it possible to return heap-allocated types fromCALL
. - #535: Add better test coverage for TR and TRO.
Breaking
- #514: Add
ChainId
andGasCosts
toConsensusParameters
.
Break downConsensusParameters
into sub-structs to match usage. Change signatures of functions to ask for
necessary fields only. - #532: The
TRO
instruction now reverts when attempting to send zero coins to an output. Panic reason of thisTransferZeroCoins
, andTR
was changed to use the same panic reason as well.
Fixed
-
#511: Changes multiple panic reasons to be more accurate, and internally refactors instruction fetch logic to be less error-prone.
-
#529 #534: Enforcing async WASM initialization for all NPM wrapper packages.
-
#531: UtxoId::from_str and TxPointer::from_str no longer crash on invalid input with multibyte characters. Also adds clippy lints to prevent future issues.
Breaking
- #527: The balances are empty during predicate estimation/verification.
What's Changed
- Decompose consensus params by @MitchTurner in #514
- Make
ConsensusParameters
Serialize/Derserialize again by @MitchTurner in #526 - Follow-up clean ups and fixed for the VM initialization by @xgreenx in #527
- Add a CI action to enforce changelog modification by @xgreenx in #528
- Initializing WASM synchronously by @arboleya in #529
- Reimplement
with_params
method for TxBuilder by @MitchTurner in #530 - Do not restore $hp when returning from a context by @Dentosal in #525
- Make TRO instruction revert on zero coin amount by @Dentosal in #532
- Fix a crash in UtxoId::from_str and TxPointer::from_str with multibyte characters by @Dentosal in #531
- Forcing async wasm initialization by @arboleya in #534
- Duplicate release 0.35.2 by @xgreenx in #540
- Add more test cases for
transfer
andtransfer_output
by @MitchTurner in #535 - Duplicate changes from 0.35.3 release by @xgreenx in #543
- Return correct PanicReason on memory-related panics by @Dentosal in #511
- Add push/pop instructions by @Dentosal in #498
- Fix urls to specification by @Voxelot in #544
- Release v0.36.0 by @xgreenx in #545
New Contributors
- @MitchTurner made their first contribution in #514
Full Changelog: v0.35.3...v0.36.0