Skip to content

Commit

Permalink
added changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
alesforz committed Jul 15, 2024
1 parent cccfd0d commit 1841d30
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .changelog/v0.13.0/features/168-iter-key.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Iterator Key and Value APIs now return an object that must be copied before
use ([\#168](https://github.com/cometbft/cometbft-db/pull/168))
7 changes: 7 additions & 0 deletions .changelog/v0.13.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!--
Add a summary for the release here.
If you don't change this message, or if this file is empty, the release
will not be created. -->
This release changes the contract of the Iterator Key() and Value() APIs.
Namely, the caller is now responsible for creating a copy of their returned value if they want to modify it.

0 comments on commit 1841d30

Please sign in to comment.