Skip to content

concordium_base 5.0.0

Latest
Compare
Choose a tag to compare

Summary

This release adds a number of convenience features and bumps MSRV to 1.73.

While this is a major version release, the breaking changes are very small. In particular the From implementations for SlotDuration and DurationSeconds were removed since they would sometimes panic. They have been replace with TryFrom implementations that return an Err instead.

Changes

  • Set minimum supported Rust version to 1.73.
  • Make fields of CIS4 events public.
  • Remove the From<SlotDuration> and From<DurationSeconds> implementations
    for chrono::Duration and replace them with fallible TryFrom
    implementations that fail when durations overflow.
  • ContractAddress::new
  • ContractName, ReceiveName, EntrypointName, and Parameter
    new_unchecked constructors are made const so they can be used when
    defining constants. Similarly Parameter::empty is const now.