Skip to content

Commit

Permalink
Merge pull request #109 from nuttycom/release/shardtree-v0.4.0
Browse files Browse the repository at this point in the history
Release `shardtree` version 0.4.0
  • Loading branch information
nuttycom authored Aug 12, 2024
2 parents 6b7143b + ef7fcde commit c28fcb9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions shardtree/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,21 @@ and this project adheres to Rust's notion of

## Unreleased

## [0.4.0] - 2024-08-12

This is a bugfix release that fixes a couple of subtle problems related to
pruning in the presence of inserted `Frontier` nodes. See the `Removed` and
`Fixed` sections below for additional details.

### Added
- `shardtree::tree::Tree::{is_leaf, map, try_map, empty_pruned}`
- `shardtree::tree::LocatedTree::{map, try_map}`
- `shardtree::prunable::PrunableTree::{has_computable_root, is_full}`
- `shardtree::prunable::LocatedPrunableTree::{max_position}`

### Changed
- Updated to use `incrementalmerkletree` v0.6.

### Removed
- `shardtree::tree::LocatedTree::max_position` did not behave correctly regarding
annotated parent nodes. Use `LocatedPrunableTree::max_position` instead.
Expand Down
2 changes: 1 addition & 1 deletion shardtree/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shardtree"
version = "0.3.1"
version = "0.4.0"
authors = [
"Kris Nuttycombe <[email protected]>",
]
Expand Down
2 changes: 1 addition & 1 deletion shardtree/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub use self::prunable::{IncompleteAt, LocatedPrunableTree, PrunableTree, Retent
pub mod error;
pub mod store;

#[cfg(any(bench, test, feature = "test-dependencies"))]
#[cfg(any(test, feature = "test-dependencies"))]
pub mod testing;

#[cfg(feature = "legacy-api")]
Expand Down

0 comments on commit c28fcb9

Please sign in to comment.