Skip to content

Commit db56af1

Browse files
v0.16 Changelog (#386)
* v0.16 Changelog * adding one more fix
1 parent daefaaf commit db56af1

File tree

1 file changed

+25
-16
lines changed

1 file changed

+25
-16
lines changed

CHANGELOG.md

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,20 @@
33

44
## Unreleased
55

6+
7+
8+
## 0.16.0 (May 04, 2021)
9+
610
### Breaking Changes
711
- [\#355](https://github.com/cosmos/iavl/pull/355) `Get` in `iavlServer` no longer returns an error if the requested key does not exist. `GetResponse` now contains a `NotFound` boolean to indicate that a key does not exist, and the returned index will be that of the next occupied key.
812

913
### Improvements
10-
- [\#355](https://github.com/cosmos/iavl/pull/355) Add support for `GetByIndex` to `iavlServer`
14+
- [\#355](https://github.com/cosmos/iavl/pull/355) Add support for `GetByIndex` to `iavlServer` and RPC interface.
15+
16+
### Bug Fixes
17+
+ [\#385](https://github.com/cosmos/iavl/pull/385) Fix `GetVersioned` - now it works with `LazyLoadVersion`.
18+
+ [\#374](https://github.com/cosmos/iavl/pull/374) Fix large genesis file commit.
19+
1120

1221
## 0.15.3 (December 21, 2020)
1322

@@ -48,26 +57,26 @@ Users upgrading from 0.13 should read important upgrade information in the 0.14.
4857
- [\#285](https://github.com/cosmos/iavl/pull/285) The module path has changed from
4958
`github.com/tendermint/iavl` to `github.com/cosmos/iavl`.
5059

51-
- [\#304](https://github.com/cosmos/iavl/pull/304) Empty trees now return hashes rather than `nil`
60+
- [\#304](https://github.com/cosmos/iavl/pull/304) Empty trees now return hashes rather than `nil`
5261
from e.g. `Hash()`, `WorkingHash()`, and `SaveVersion()`, for conformance with RFC-6962.
5362

54-
- [\#317](https://github.com/cosmos/iavl/pull/317) `LoadVersion()` and `LazyLoadVersion()` now
63+
- [\#317](https://github.com/cosmos/iavl/pull/317) `LoadVersion()` and `LazyLoadVersion()` now
5564
error if called with a positive version number on an empty tree.
5665

5766
### Improvements
5867

5968
- [\#296](https://github.com/cosmos/iavl/pull/296) Add `iavlserver`, a gRPC/REST API server.
6069

6170
- [\#276](https://github.com/cosmos/iavl/pull/276/files) Introduced
62-
`ImmutableTree.GetMembershipProof()` and `GetNonMembershipProof()` to return ics23 ExistenceProof
71+
`ImmutableTree.GetMembershipProof()` and `GetNonMembershipProof()` to return ics23 ExistenceProof
6372
and NonExistenceProof respectively.
6473

65-
- [\#265](https://github.com/cosmos/iavl/pull/265) Encoding of tree nodes and proofs is now done
74+
- [\#265](https://github.com/cosmos/iavl/pull/265) Encoding of tree nodes and proofs is now done
6675
using the Go stdlib and Protobuf instead of Amino. The binary encoding is identical.
6776

6877
### Bug Fixes
6978

70-
- [\#309](https://github.com/cosmos/iavl/pull/309) Allow `SaveVersion()` for old, empty versions as
79+
- [\#309](https://github.com/cosmos/iavl/pull/309) Allow `SaveVersion()` for old, empty versions as
7180
long as the new version is identical.
7281

7382
## 0.14.3 (November 23, 2020)
@@ -89,7 +98,7 @@ Special thanks to external contributors on this release: @klim0v
8998

9099
### Improvements
91100

92-
- [\#299](https://github.com/cosmos/iavl/pull/299) Added `Options.InitialVersion` to specify the
101+
- [\#299](https://github.com/cosmos/iavl/pull/299) Added `Options.InitialVersion` to specify the
93102
initial version for new IAVL trees.
94103

95104
- [\#312](https://github.com/cosmos/iavl/pull/312) Added `MutableTree.SetInitialVersion()` to
@@ -101,9 +110,9 @@ Special thanks to external contributors on this release: @klim0v
101110

102111
## 0.14.0 (July 2, 2020)
103112

104-
**Important information:** the pruning functionality introduced with IAVL 0.13.0 via the options
105-
`KeepEvery` and `KeepRecent` has problems with data corruption, performance, and memory usage. For
106-
these reasons, this functionality has now been removed. All 0.13 users are urged to upgrade, and to
113+
**Important information:** the pruning functionality introduced with IAVL 0.13.0 via the options
114+
`KeepEvery` and `KeepRecent` has problems with data corruption, performance, and memory usage. For
115+
these reasons, this functionality has now been removed. All 0.13 users are urged to upgrade, and to
107116
not change their pruning settings while on 0.13.
108117

109118
Make sure to follow these instructions when upgrading, to avoid data corruption:
@@ -122,7 +131,7 @@ Make sure to follow these instructions when upgrading, to avoid data corruption:
122131
contains incorrect data that may cause data corruption when deleted, making the database
123132
unusable. For example, with `KeepEvery: 1000` then stopping 0.13 at version `7364` (saving
124133
`7000` to disk) and upgrading to 0.14 means version `7000` must never be deleted.
125-
134+
126135
It may be possible to delete it if the exact same sequence of changes have been written to the
127136
newer versions as before the upgrade, and all versions between `7000` and `7364` are deleted
128137
first, but thorough testing and backups are recommended if attempting this.
@@ -131,25 +140,25 @@ Users wishing to prune historical versions can do so via `MutableTree.DeleteVers
131140

132141
### Breaking Changes
133142

134-
- [\#274](https://github.com/cosmos/iavl/pull/274) Remove pruning options `KeepEvery` and
143+
- [\#274](https://github.com/cosmos/iavl/pull/274) Remove pruning options `KeepEvery` and
135144
`KeepRecent` (see warning above) and the `recentDB` parameter to `NewMutableTreeWithOpts()`.
136145

137146
### Improvements
138147

139-
- [\#282](https://github.com/cosmos/iavl/pull/282) Add `Repair013Orphans()` to repair faulty
148+
- [\#282](https://github.com/cosmos/iavl/pull/282) Add `Repair013Orphans()` to repair faulty
140149
orphans in a database last written to by IAVL 0.13.x
141150

142-
- [\#271](https://github.com/cosmos/iavl/pull/271) Add `MutableTree.DeleteVersions()` for deleting
151+
- [\#271](https://github.com/cosmos/iavl/pull/271) Add `MutableTree.DeleteVersions()` for deleting
143152
multiple versions.
144153

145-
- [\#235](https://github.com/cosmos/iavl/pull/235) Reduce `ImmutableTree.Export()` buffer size from
154+
- [\#235](https://github.com/cosmos/iavl/pull/235) Reduce `ImmutableTree.Export()` buffer size from
146155
64 to 32 nodes.
147156

148157
### Bug Fixes
149158

150159
- [\#281](https://github.com/cosmos/iavl/pull/281) Remove unnecessary Protobuf dependencies.
151160

152-
- [\#275](https://github.com/cosmos/iavl/pull/275) Fix data corruption with
161+
- [\#275](https://github.com/cosmos/iavl/pull/275) Fix data corruption with
153162
`LoadVersionForOverwriting`.
154163

155164
## 0.13.3 (April 5, 2020)

0 commit comments

Comments
 (0)