Skip to content

Commit

Permalink
reject nil/empty keys and nil values (#99)
Browse files Browse the repository at this point in the history
Fixes #2.
  • Loading branch information
erikgrinaker committed May 19, 2020
1 parent f191247 commit 7b7076b
Show file tree
Hide file tree
Showing 19 changed files with 365 additions and 456 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### Breaking Changes

- [\#100](https://github.com/tendermint/tm-db/pull/100) Keys can no longer be `nil` or empty, and values can no longer be `nil` (@erikgrinaker)

- [\#98](https://github.com/tendermint/tm-db/pull/98) `NewDB` now returns an error instead of panicing (@erikgrinaker)

- [\#96](https://github.com/tendermint/tm-db/pull/96) `Batch.Set()`, `Delete()`, and `Close()` may now error (@erikgrinaker)
Expand Down
Loading

0 comments on commit 7b7076b

Please sign in to comment.