Skip to content
Cosmopediaby Unity Nodes
Releasescosmos/iavlv1.0.0GitHub ↗

v1.0.0

cosmos/iavlv1.0.030-10-2023

V1.0.0 marks the release of a long term stable API.

What's Changed

Improvements

• #695 Add API `SaveChangeSet` to save the changeset as a new version.

• #703 New APIs `NewCompressExporter`/`NewCompressImporter` to support more compact snapshot format.

• #729 Speedup Genesis writes for IAVL, by writing in small batches.

• #726 Make `KVPair` and `ChangeSet` serializable with protobuf.

• #718 Fix `traverseNodes` unexpected behaviour

• #770 Add `WorkingVersion()int64` API.

Bug Fixes

• #773 Fix memory leak in `Import`.

• #801 Fix rootKey empty check by len equals 0.

• #805 Use `sync.Map` instead of map to prevent concurrent writes at the fast node level

Breaking Changes

• #735 Pass logger to `NodeDB`, `MutableTree` and `ImmutableTree`

• #646 Remove the `orphans` from the storage

• #777 Don't return errors from ImmutableTree.Hash, NewImmutableTree

• #815 `NewMutableTreeWithOpts` was removed in favour of accepting options via a variadic in `NewMutableTree`

• #815 `NewImmutableTreeWithOpts` is removed in favour of accepting options via a variadic in `NewImmutableTree`

• #646 Remove the `DeleteVersion`, `DeleteVersions`, `DeleteVersionsRange` and introduce a new endpoint of `DeleteVersionsTo` instead

New Contributors

• @faddat

• @giskook

• @adu-crypto

• @prolenking

• @chillyvee

• @kocubinski

• @crodriguezvega

• @pysel

Full Changelog : v0.19.1...v1.0.0

← Back to Releases