From dfb2605f4f3c32638691dfd40cc3c470d31935df Mon Sep 17 00:00:00 2001 From: Ruben Nijveld Date: Fri, 28 Jun 2024 16:45:54 +0200 Subject: [PATCH] Release 1.2.0-alpha.20240628 --- CHANGELOG.md | 22 +++++++++++++++++++++ Cargo.lock | 6 +++--- Cargo.toml | 4 ++-- docs/man/ntp-ctl.8.md | 2 +- docs/man/ntp-daemon.8.md | 2 +- docs/man/ntp-metrics-exporter.8.md | 2 +- docs/man/ntp.toml.5.md | 2 +- docs/precompiled/man/ntp-ctl.8 | 2 +- docs/precompiled/man/ntp-daemon.8 | 2 +- docs/precompiled/man/ntp-metrics-exporter.8 | 2 +- docs/precompiled/man/ntp.toml.5 | 2 +- 11 files changed, 35 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d075dbfbc..aec0f9724 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## [1.2.0-alpha.20240628] - 2024-06-28 + +### Added +- Pool mode sources can be set up to ignore some addresses returned by the pool +- NTP sources use a random client port for every request sent +- The metrics exporter will keep trying to startup while its network interface is not yet available + +### Changed +- Updated dependencies +- ntp-udp and ntp-os-clock were replaced by timestamped-socket and clock-steering +- Minor improvements to NTS keyset storage errors +- Loop detection is handled globally instead of per source +- The MSRV was raised to 1.70 +- The metrics exporter is better able to handle multiple simultaneous connections +- Pendulum is now part of Trifecta Tech Foundation (copyright was updated) +- Large parts of the daemon code have been refactored to simplify the code + +### Fixed +- Metrics would not synchronize if the metrics data was too large +- ntpd-rs would ignore responses from servers implementing NTPv3 + ## [1.1.3] - 2024-06-28 ### Fixed @@ -193,6 +214,7 @@ process. - Fixed a bug in peer dispersion calculation which resulted in overly pessimistic dispersion estimates. +[1.2.0]: https://github.com/pendulum-project/ntpd-rs/compare/v1.1.3...v1.2.0-alpha.20240628 [1.1.3]: https://github.com/pendulum-project/ntpd-rs/compare/v1.1.2...v1.1.3 [1.1.2]: https://github.com/pendulum-project/ntpd-rs/compare/v1.1.1...v1.1.2 [1.1.1]: https://github.com/pendulum-project/ntpd-rs/compare/v1.1.0...v1.1.1 diff --git a/Cargo.lock b/Cargo.lock index ec7e6560c..59b71655a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -346,7 +346,7 @@ dependencies = [ [[package]] name = "ntp-proto" -version = "1.1.3" +version = "1.2.0-alpha.20240628" dependencies = [ "aead", "aes-siv", @@ -363,7 +363,7 @@ dependencies = [ [[package]] name = "ntpd" -version = "1.1.3" +version = "1.2.0-alpha.20240628" dependencies = [ "async-trait", "clock-steering", @@ -385,7 +385,7 @@ dependencies = [ [[package]] name = "nts-pool-ke" -version = "1.1.3" +version = "1.2.0-alpha.20240628" dependencies = [ "ntp-proto", "rustls", diff --git a/Cargo.toml b/Cargo.toml index 36047a33a..517228727 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ resolver = "2" # Global settings for our crates [workspace.package] -version = "1.1.3" +version = "1.2.0-alpha.20240628" edition = "2021" license = "Apache-2.0 OR MIT" repository = "https://github.com/pendulum-project/ntpd-rs" @@ -61,4 +61,4 @@ zeroize = "1.7" # our own crates used as dependencies, same version as the workspace version # NOTE: keep this part at the bottom of the file, do not change this line -ntp-proto = { version = "1.1.3", path = "./ntp-proto", features = ["__internal-api"] } +ntp-proto = { version = "1.2.0-alpha.20240628", path = "./ntp-proto", features = ["__internal-api"] } diff --git a/docs/man/ntp-ctl.8.md b/docs/man/ntp-ctl.8.md index 72aae773d..78118fd53 100644 --- a/docs/man/ntp-ctl.8.md +++ b/docs/man/ntp-ctl.8.md @@ -1,5 +1,5 @@ # NAME diff --git a/docs/man/ntp-daemon.8.md b/docs/man/ntp-daemon.8.md index 544866d95..48caf9da5 100644 --- a/docs/man/ntp-daemon.8.md +++ b/docs/man/ntp-daemon.8.md @@ -1,5 +1,5 @@ # NAME diff --git a/docs/man/ntp-metrics-exporter.8.md b/docs/man/ntp-metrics-exporter.8.md index 00effa4b8..cfcfa4683 100644 --- a/docs/man/ntp-metrics-exporter.8.md +++ b/docs/man/ntp-metrics-exporter.8.md @@ -1,5 +1,5 @@ # NAME diff --git a/docs/man/ntp.toml.5.md b/docs/man/ntp.toml.5.md index 87a97f133..54aa9e484 100644 --- a/docs/man/ntp.toml.5.md +++ b/docs/man/ntp.toml.5.md @@ -1,5 +1,5 @@ # NAME diff --git a/docs/precompiled/man/ntp-ctl.8 b/docs/precompiled/man/ntp-ctl.8 index 24203aa77..859a42d55 100644 --- a/docs/precompiled/man/ntp-ctl.8 +++ b/docs/precompiled/man/ntp-ctl.8 @@ -14,7 +14,7 @@ . ftr VB CB . ftr VBI CBI .\} -.TH "NTP-CTL" "8" "" "ntpd-rs 1.1.3" "ntpd-rs" +.TH "NTP-CTL" "8" "" "ntpd-rs 1.2.0-alpha.20240628" "ntpd-rs" .hy .SH NAME .PP diff --git a/docs/precompiled/man/ntp-daemon.8 b/docs/precompiled/man/ntp-daemon.8 index cf25c6a37..65fc32222 100644 --- a/docs/precompiled/man/ntp-daemon.8 +++ b/docs/precompiled/man/ntp-daemon.8 @@ -14,7 +14,7 @@ . ftr VB CB . ftr VBI CBI .\} -.TH "NTP-DAEMON" "8" "" "ntpd-rs 1.1.3" "ntpd-rs" +.TH "NTP-DAEMON" "8" "" "ntpd-rs 1.2.0-alpha.20240628" "ntpd-rs" .hy .SH NAME .PP diff --git a/docs/precompiled/man/ntp-metrics-exporter.8 b/docs/precompiled/man/ntp-metrics-exporter.8 index 6ba4001fc..3359aa3e4 100644 --- a/docs/precompiled/man/ntp-metrics-exporter.8 +++ b/docs/precompiled/man/ntp-metrics-exporter.8 @@ -14,7 +14,7 @@ . ftr VB CB . ftr VBI CBI .\} -.TH "NTP-METRICS-EXPORTER" "8" "" "ntpd-rs 1.1.3" "ntpd-rs" +.TH "NTP-METRICS-EXPORTER" "8" "" "ntpd-rs 1.2.0-alpha.20240628" "ntpd-rs" .hy .SH NAME .PP diff --git a/docs/precompiled/man/ntp.toml.5 b/docs/precompiled/man/ntp.toml.5 index 209be3ff1..3842d830e 100644 --- a/docs/precompiled/man/ntp.toml.5 +++ b/docs/precompiled/man/ntp.toml.5 @@ -14,7 +14,7 @@ . ftr VB CB . ftr VBI CBI .\} -.TH "NTP.TOML" "5" "" "ntpd-rs 1.1.3" "ntpd-rs" +.TH "NTP.TOML" "5" "" "ntpd-rs 1.2.0-alpha.20240628" "ntpd-rs" .hy .SH NAME .PP