Merge pull request #109 from nuttycom/release/shardtree-v0.4.0

Release `shardtree` version 0.4.0
This commit is contained in:
Kris Nuttycombe 2024-08-12 12:24:21 -06:00 committed by GitHub
commit c28fcb98ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 3 deletions

2
Cargo.lock generated
View File

@ -318,7 +318,7 @@ dependencies = [
[[package]]
name = "shardtree"
version = "0.3.1"
version = "0.4.0"
dependencies = [
"assert_matches",
"bitflags 2.4.1",

View File

@ -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.

View File

@ -1,6 +1,6 @@
[package]
name = "shardtree"
version = "0.3.1"
version = "0.4.0"
authors = [
"Kris Nuttycombe <kris@nutty.land>",
]

View File

@ -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")]