Libplanet 3.1.0
Released on July 27, 2023.
Backward-incompatible API changes
- Changed
StateStoreExtensions.Commit()
to acceptIImmutableDictionary<KeyBytes, IValue>
instead ofIImmutableDictionary<string, IValue>
. [#3321] - Changed
AccountDeltaExtensions.ToRawDelta()
to returnIImmutableDictionary<KeyBytes, IValue>
instead ofIImmutableDictionary<string, IValue>
. [#3321] - Changed
ActionEvaluatorExtensions.GetRawTotalDelta()
to returnIImmutableDictionary<KeyBytes, IValue>
instead ofIImmutableDictionary<string, IValue>
. [#3321] - Removed
EnumerableMeasurement
class. [#3325] - Removed
KeyValueExtensions
class. [#3325] - Removed
StateStoreExtensions.EncodeKey()
andStateStoreExtensions.DecodeKey()
methods. [#3328] - Removed
StateStoreExtensions.GetStates(IStateStore, HashDigest<SHA256>?, IReadOnlyList<string>)
method. [#3328] - Removed
TrieExtensions.Set(ITrie, IEnumerable<KeyValuePair<string, IValue?>)
method. [#3328] - Removed
KeyBytes(string, Encoding)
constructor. [#3328]
Added APIs
- Added
StateStoreExtensions.GetStates(IStateStore, HashDigest<SHA256>, IReadOnlyList<KeyBytes>)
method. [#3321] - Added
KeyBytes.Encoding
static property. [#3328] - Added
KeyBytes(string)
constructor. [#3328]
Behavioral changes
- Optimized read and write access to
IStateStore
both for memory and speed. [#3321]