From f5c104d6591ea3ec0c4933f5a00c530632d471a5 Mon Sep 17 00:00:00 2001 From: Erik Grinaker Date: Mon, 23 Nov 2020 21:32:53 +0100 Subject: [PATCH] changelog: release 0.15.0 (#335) --- CHANGELOG.md | 119 +++++++++++++++++---------------------------------- 1 file changed, 39 insertions(+), 80 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 65abc69c1..427072240 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,93 +1,68 @@ # Changelog -## 0.15.0-rc5 (November 12, 2020) +## 0.15.0 (November 23, 2020) -### Bug Fixes - -- [\#324](https://github.com/cosmos/iavl/pull/324) Fix `DeleteVersions` not properly removing - orphans, and add `DeleteVersionsRange` to delete a range. +The IAVL project has moved from https://github.com/tendermint/iavl to +https://github.com/cosmos/iavl. This changes the module import path, which is now +`github.com/cosmos/iavl`. -## 0.15.0-rc4 (October 14, 2020) +Users upgrading from 0.13 should read important upgrade information in the 0.14.0 release below. ### Breaking Changes -- [\#317](https://github.com/cosmos/iavl/pull/317) `LoadVersion()` and `LazyLoadVersion()` now - error if called with a positive version number on an empty tree. - -### Bug Fixes - -- [\#318](https://github.com/cosmos/iavl/pull/318) Fix constant overflow when compiling for 32bit machines. - -## 0.14.2 (October 12, 2020) - -### Bug Fixes - -- [\#318](https://github.com/cosmos/iavl/pull/318) Fix constant overflow when compiling for 32bit machines. - -## 0.14.1 (October 9, 2020) - -### Improvements - -- [\#299](https://github.com/cosmos/iavl/pull/299) Added `Options.InitialVersion` to specify the - initial version for new IAVL trees. - -- [\#312](https://github.com/cosmos/iavl/pull/312) Added `MutableTree.SetInitialVersion()` to - set the initial version after tree initialization. - -### Bug Fixes +- [\#285](https://github.com/cosmos/iavl/pull/285) The module path has changed from + `github.com/tendermint/iavl` to `github.com/cosmos/iavl`. -- [\#288](https://github.com/cosmos/iavl/pull/288) Fix panics when generating proofs for keys that are all `0xFF`. +- [\#304](https://github.com/cosmos/iavl/pull/304) Empty trees now return hashes rather than `nil` + from e.g. `Hash()`, `WorkingHash()`, and `SaveVersion()`, for conformance with RFC-6962. -## 0.15.0-rc3 (August 27, 2020) +- [\#317](https://github.com/cosmos/iavl/pull/317) `LoadVersion()` and `LazyLoadVersion()` now + error if called with a positive version number on an empty tree. ### Improvements - [\#296](https://github.com/cosmos/iavl/pull/296) Add `iavlserver`, a gRPC/REST API server. -- [\#312](https://github.com/cosmos/iavl/pull/312) Add `MutableTree.SetInitialVersion()` to set the - initial version after tree initialization. +- [\#276](https://github.com/cosmos/iavl/pull/276/files) Introduced + `ImmutableTree.GetMembershipProof()` and `GetNonMembershipProof()` to return ics23 ExistenceProof + and NonExistenceProof respectively. + +- [\#265](https://github.com/cosmos/iavl/pull/265) Encoding of tree nodes and proofs is now done + using the Go stdlib and Protobuf instead of Amino. The binary encoding is identical. ### Bug Fixes -- [\#309](https://github.com/cosmos/iavl/pull/309) Fix `SaveVersion()` for old, empty versions as +- [\#309](https://github.com/cosmos/iavl/pull/309) Allow `SaveVersion()` for old, empty versions as long as the new version is identical. -## 0.15.0-rc2 (August 13, 2020) +## 0.14.3 (November 23, 2020) -### Breaking Changes +Special thanks to external contributors on this release: @klim0v -- [\#304](https://github.com/cosmos/iavl/pull/304) Empty trees now return hashes rather than `nil` - from e.g. `Hash()`, `WorkingHash()`, and `SaveVersion()`, for conformance with RFC-6962. +### Bug Fixes -## 0.15.0-rc1 (July 30, 2020) +- [\#324](https://github.com/cosmos/iavl/pull/324) Fix `DeleteVersions` not properly removing + orphans, and add `DeleteVersionsRange` to delete a range. -The IAVL project has moved from https://github.com/tendermint/iavl to -https://github.com/cosmos/iavl. This changes the module import path, which is now -`github.com/cosmos/iavl`. +## 0.14.2 (October 12, 2020) -Users upgrading from 0.13 should read important upgrade information in the 0.14.0 release below. +### Bug Fixes -### Breaking Changes +- [\#318](https://github.com/cosmos/iavl/pull/318) Fix constant overflow when compiling for 32bit machines. -- [\#285](https://github.com/cosmos/iavl/pull/285) The module path has changed from - `github.com/tendermint/iavl` to `github.com/cosmos/iavl`. +## 0.14.1 (October 9, 2020) ### Improvements -- [\#265](https://github.com/cosmos/iavl/pull/265) Encoding of tree nodes and proofs is now done - using the Go stdlib and Protobuf instead of Amino. The binary encoding is identical. - -- [\#276](https://github.com/cosmos/iavl/pull/276/files) Introduced - `ImmutableTree.GetMembershipProof()` and `GetNonMembershipProof()` to return ics23 ExistenceProof - and NonExistenceProof respectively. - - [\#299](https://github.com/cosmos/iavl/pull/299) Added `Options.InitialVersion` to specify the initial version for new IAVL trees. +- [\#312](https://github.com/cosmos/iavl/pull/312) Added `MutableTree.SetInitialVersion()` to + set the initial version after tree initialization. + ### Bug Fixes -- [\#288](https://github.com/cosmos/iavl/pull/288) Fix panics when generating proofs for keys that - are all `0xFF`. +- [\#288](https://github.com/cosmos/iavl/pull/288) Fix panics when generating proofs for keys that are all `0xFF`. ## 0.14.0 (July 2, 2020) @@ -119,27 +94,6 @@ Make sure to follow these instructions when upgrading, to avoid data corruption: Users wishing to prune historical versions can do so via `MutableTree.DeleteVersion()`. -There are no changes from 0.14.0-rc2. - -## 0.14.0-rc2 (June 26, 2020) - -See important upgrade information for 0.14.0 above. - -### Improvements - -- [\#282](https://github.com/cosmos/iavl/pull/282) Add `Repair013Orphans()` to repair faulty - orphans in a database last written to by IAVL 0.13.x - -### Bug Fixes - -- [\#281](https://github.com/cosmos/iavl/pull/281) Remove unnecessary Protobuf dependencies - -## 0.14.0-rc1 (June 24, 2020) - -See important upgrade information for 0.14.0 above. - -Special thanks to external contributors on this release: @ridenaio - ### Breaking Changes - [\#274](https://github.com/cosmos/iavl/pull/274) Remove pruning options `KeepEvery` and @@ -147,16 +101,21 @@ Special thanks to external contributors on this release: @ridenaio ### Improvements +- [\#282](https://github.com/cosmos/iavl/pull/282) Add `Repair013Orphans()` to repair faulty + orphans in a database last written to by IAVL 0.13.x + - [\#271](https://github.com/cosmos/iavl/pull/271) Add `MutableTree.DeleteVersions()` for deleting - multiple versions + multiple versions. - [\#235](https://github.com/cosmos/iavl/pull/235) Reduce `ImmutableTree.Export()` buffer size from - 64 to 32 nodes + 64 to 32 nodes. ### Bug Fixes +- [\#281](https://github.com/cosmos/iavl/pull/281) Remove unnecessary Protobuf dependencies. + - [\#275](https://github.com/cosmos/iavl/pull/275) Fix data corruption with - `LoadVersionForOverwriting` + `LoadVersionForOverwriting`. ## 0.13.3 (April 5, 2020)