Skip to content

Commit

Permalink
Merge pull request #36 from NLnetLabs/release-0.2.0
Browse files Browse the repository at this point in the history
Release 0.2.0

Released 2024-01-18.

Breaking changes

* Upsert() returns user-defined data, as well as contention count.
* Minimal Rust Version bumped to 1.71
* Depend on routecore 0.4.0-rc0

New

* RecordSet::new method; allows users to create RecordSets.

Bug fixes

* Fixed: Debug build couldn't handle searches for 0/0. Release versions relied on UB.
* Removed two should_panic in cargo doc comments. This actually only happens in debug mode, and we are testing for release.

Other changes

* Made some structs pub
* Added Copy derives to public types
  • Loading branch information
density215 authored Jan 18, 2024
2 parents b3baa5b + 14fe005 commit b3a31fc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions 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.3.0-rc0"
version = "0.3.0"
rust-version = "1.71"

[dependencies]
Expand All @@ -19,7 +19,7 @@ crossbeam-utils = "^0.8"
log = "^0.4"
rotonda-macros = { version = "^0.3" }

routecore = { version = "0.4.0-rc0", features = ["bgp", "bmp", "serde"] }
routecore = { version = "0.4.0", features = ["bgp", "bmp", "serde"] }
ansi_term = { version = "^0.12", optional = true }
rustyline = { version = "^13", optional = true }
csv = { version = "^1", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Change Log

## 0.3.0-rc0
## 0.3.0

Released 2024-01-10.
Released 2024-01-18.

Breaking changes

Expand Down
4 changes: 2 additions & 2 deletions src/af.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ impl AddressFamily for IPv4 {
/// Will panic if there is insufficient space to add the given nibble,
/// i.e. if `len + nibble_len >= 32`.
///
/// ```should_panic
/// ```
/// # use rotonda_store::IPv4;
/// # use rotonda_store::AddressFamily;
/// let prefix = 0b10101010_00000000_00000000_00000100_u32; // 30-bit prefix
Expand Down Expand Up @@ -194,7 +194,7 @@ impl AddressFamily for IPv6 {
/// Will panic if there is insufficient space to add the given nibble,
/// i.e. if `len + nibble_len >= 128`.
///
/// ```should_panic
/// ```
/// # use rotonda_store::IPv6;
/// # use rotonda_store::AddressFamily;
/// let prefix = 0xFFFFFFFF_FFFFFFFF_FFFFFFFF_FFFF0000u128; // 112-bit prefix
Expand Down

0 comments on commit b3a31fc

Please sign in to comment.