Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.4.0 rc0 #39

Merged
merged 2 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ keywords = ["routing", "bgp"]
license = "BSD-3-Clause"
name = "rotonda-store"
repository = "https://github.com/NLnetLabs/rotonda-store/"
version = "0.4.1-dev"
version = "0.4.0-rc0"
rust-version = "1.71"

[dependencies]
Expand Down
14 changes: 11 additions & 3 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
# Change Log

## Unreleased new version
## 0.4.0-rc0

Released 2024-06-12.

Breaking changes

* Removed `MergeUpdate` trait

New

* Leaves now are HashMaps keyed on multi_uniq_ids (`mui`)
* Facilities for best (and backup) path selection for a prefix
* Facilities for iterating over and searching for values for (prefix, mui)
combinations

Bug fixes

Other changes

* Use inetnum::addr::Prefix, instead of routecore::addr::Prefix
* Remove routecore dependency
* Use inetnum structs instead of routecore (Asn, Prefix)

## 0.3.0

Expand Down
14 changes: 0 additions & 14 deletions src/local_array/store/atomic_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,20 +420,6 @@ pub struct MultiMap<M: Meta>(
pub(crate) flurry::HashMap<u32, MultiMapValue<M>>,
);

pub struct IdOrderable<T>(pub u32, T);

impl<T: PartialOrd + Eq + PartialEq> PartialOrd for IdOrderable<T> {
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
self.1.partial_cmp(&other.1)
}
}

impl<T: PartialOrd + Eq + PartialOrd> PartialEq for IdOrderable<T> {
fn eq(&self, other: &Self) -> bool {
self.1 == other.1
}
}

impl<M: Send + Sync + Debug + Display + Meta> MultiMap<M> {
pub(crate) fn new(record_map: HashMap<u32, MultiMapValue<M>>) -> Self {
Self(record_map)
Expand Down
Loading