Skip to content

Commit

Permalink
Merge pull request #39 from NLnetLabs/release-0.4.0-rc0
Browse files Browse the repository at this point in the history
Release 0.4.0 rc0
  • Loading branch information
density215 authored Jun 12, 2024
2 parents cec89d0 + 947cdce commit f043008
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 18 deletions.
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

0 comments on commit f043008

Please sign in to comment.