Skip to content

Latest commit

 

History

History
176 lines (104 loc) · 7.28 KB

CHANGELOG.md

File metadata and controls

176 lines (104 loc) · 7.28 KB

Changelog

Unreleased

Bug Fixes

  • #1007 Add the extra check for the reformatted root node in GetNode

Improvements

  • #952 Add DeleteVersionsFrom(int64) API.
  • #955 Get rid of cosmos-db deps completely.
  • #961 Add new GetLatestVersion API to get the latest version.
  • #965 Use expected interface for expected IAVL Logger.
  • #970 Close the pruning process when the nodeDB is closed.
  • #980 Use the sdk/core/store.KVStoreWithBatch interface instead of iavl/db.DB interface

v1.2.0 May 13, 2024

Improvements

  • #925 Add the AsyncPruning option to the MutableTree constructor to enable async pruning.

v1.1.4 May 8, 2024

Bug Fixes

  • #943 Fix the WorkingHash with the InitialVersion option.

v1.1.2 April 8, 2024

Bug Fixes

  • #928 Fix the reformatted root node issue.

v1.1.1 March 16, 2024 (retracted)

Bug Fixes

  • #910 Fix the reference root format from (prefix, version) to (prefix, version, nonce)

Improvements

  • #910 Async pruning of legacy orphan nodes.

v1.1.0 February 29, 2024 (retracted)

API Breaking Changes

  • #874 Decouple cosmos-db and implement own db package.

v1.0.4 May 7, 2024

Bug Fixes

  • #943 Fix the WorkingHash with the InitialVersion option.

v1.0.3 April 8, 2024

Bug Fixes

  • #928 Fix the reformatted root node issue.

v1.0.2 March 16, 2024 (retracted)

Bug Fixes

  • #911 Fix the reference root format from (prefix, version) to (prefix, version, nonce)

Improvements

  • #911 Async pruning of legacy orphan nodes.

v1.0.1 February 16, 2024 (retracted)

Improvements

  • #876 Make pruning of legacy orphan nodes asynchronous.

v1.0.0 (October 30, 2023) (retracted)

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

  • #943 Fix the WorkingHash with the InitialVersion option.
  • #909 Fix the reference node formats and delete legacy nodes.
  • #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

0.20.0 (March 14, 2023)

Breaking Changes

  • #586 Remove the RangeProof and refactor the ics23_proof to use the internal methods.

0.19.5 (Februrary 23, 2022)

Breaking Changes

  • #622 export/newExporter() and ImmutableTree.Export() returns error for nil arguements

  • #640 commit NodeDB batch in LoadVersionForOverwriting.

  • #636 Speed up rollback method: LoadVersionForOverwriting.

  • #654 Add API TraverseStateChanges to extract state changes from iavl versions.

  • #638 Make LazyLoadVersion check the opts.InitialVersion, add API LazyLoadVersionForOverwriting.

0.19.4 (October 28, 2022)

  • #599 Populate ImmutableTree creation in copy function with missing field
  • #589 Wrap tree.addUnsavedRemoval() with missing if !tree.skipFastStorageUpgrade statement

0.19.3 (October 8, 2022)

  • ProofInner.Hash() prevents both right and left from both being set. Only one is allowed to be set.

0.19.2 (October 6, 2022)

  • #547 Implement skipFastStorageUpgrade in order to skip fast storage upgrade and usage.
  • #531 Upgrade to fast storage in batches.

0.19.1 (August 3, 2022)

Improvements

  • #525 Optimization: use fast unsafe bytes->string conversion.
  • #506 Implement cache abstraction.

Bug Fixes

  • #524 Fix: MutableTree.Get.

0.19.0 (July 6, 2022)

Breaking Changes

  • #514 Downgrade Tendermint to 0.34.x
  • #500 Return errors instead of panicking.

Improvements

0.18.0 (March 10, 2022)

Breaking Changes

  • Bumped Tendermint to 0.35.1

Improvements

  • #468 Fast storage optimization for queries and iterations
  • #452 Optimization: remove unnecessary (*bytes.Buffer).Reset right after creating buffer.
  • #445 Bump github.com/tendermint/tendermint to v0.35.0
  • #453,#456 Optimization: buffer reuse
  • #474 bump github.com/confio/ics23 to v0.7
  • #475 Use go v1.17

For previous changelogs visit: https://github.com/cosmos/iavl/blob/v0.18.0/CHANGELOG.md