Merge pull request #109 from nuttycom/release/shardtree-v0.4.0
Release `shardtree` version 0.4.0
This commit is contained in:
commit
c28fcb98ef
|
@ -318,7 +318,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "shardtree"
|
||||
version = "0.3.1"
|
||||
version = "0.4.0"
|
||||
dependencies = [
|
||||
"assert_matches",
|
||||
"bitflags 2.4.1",
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "shardtree"
|
||||
version = "0.3.1"
|
||||
version = "0.4.0"
|
||||
authors = [
|
||||
"Kris Nuttycombe <kris@nutty.land>",
|
||||
]
|
||||
|
|
|
@ -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")]
|
||||
|
|
Loading…
Reference in New Issue