From 607460a40bf93ce857667d51f1589b838bd46642 Mon Sep 17 00:00:00 2001 From: Ruben Nijveld Date: Thu, 5 Oct 2023 10:32:14 +0200 Subject: [PATCH] Release 1.0.0 --- CHANGELOG.md | 57 +++++++-------------- Cargo.lock | 8 +-- Cargo.toml | 10 ++-- 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(+), 56 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ef57fcdb..38f93f774 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,43 +1,13 @@ # Changelog -## [1.0.0-rc.5] - 2023-09-22 - -### Added -- Added `ntp_uptime_seconds` metric, which also includes the software version - -## [1.0.0-rc.4] - 2023-09-21 - -### Added -- Added metrics for NTS packets processed in the server -- Exposed root dispersion and root delay reported by time source as metrics. - -### Fixed -- Fixed peer trying to request more cookies than it can encode in it's packet buffer. -- Fixed server not sending nts naks when receiving nts packets it can't decrypt. - -## [1.0.0-rc.3] - 2023-09-20 - -### Fixed -- Fixed incorrect reference id being used by server. -- Fixed user creation in packages. - -## [1.0.0-rc.2] - 2023-09-14 - -### Changed -- The copyright from the project changed from 'Internet Security Research Group - and Contributors' to 'Tweede Golf and Contributors' -- The `/etc/ntpd-rs/ntp.toml` file in the deb and rpm packages provided by us is - now managed by their respective package managers. This may result in your - config file being overwritten initially, but future upgrades should be handled - gracefully. -- Added actual ip address of ntp server to observable data. The address field has - been renamed for this. - -## [1.0.0-rc.1] - 2023-09-13 +## [1.0.0] - 2023-10-05 ### Added - Man pages have been added to the built packages. - `ntp-ctl` now has human-friendly output +- Added metrics for NTS packets processed in the server +- Exposed root dispersion and root delay reported by time source as metrics. +- Added `ntp_uptime_seconds` metric, which also includes the software version ### Changed - Peers have been renamed to sources. @@ -51,10 +21,23 @@ - The default observation socket path was changed to `/var/run/ntpd-rs/observe`. - Upgraded dependencies. - The command line interface for `ntp-ctl` and `ntp-metrics-exporter` has changed. +- The copyright from the project changed from 'Internet Security Research Group + and Contributors' to 'Tweede Golf and Contributors' +- The `/etc/ntpd-rs/ntp.toml` file in the deb and rpm packages provided by us is + now managed by their respective package managers. This may result in your + config file being overwritten initially, but future upgrades should be handled + gracefully. +- Added actual ip address of ntp server to observable data. The address field has + been renamed for this. ### Fixed - Fix bug around handling of leap second indicators. - Fixed bug around handling of accumulated step thresholds. +- Fixed incorrect reference id being used by server. +- Fixed user creation in packages. +- Fixed peer trying to request more cookies than it can encode in it's packet buffer. +- Fixed server not sending nts naks when receiving nts packets it can't decrypt. +- Fixed source poll interval not being updated in stats. ### Removed - Removed support for the RFC5905 algorithm. @@ -173,11 +156,7 @@ process. - Fixed a bug in peer dispersion calculation which resulted in overly pessimistic dispersion estimates. -[1.0.0-rc.5]: https://github.com/pendulum-project/ntpd-rs/compare/v1.0.0-rc.4...v1.0.0-rc.5 -[1.0.0-rc.4]: https://github.com/pendulum-project/ntpd-rs/compare/v1.0.0-rc.3...v1.0.0-rc.4 -[1.0.0-rc.3]: https://github.com/pendulum-project/ntpd-rs/compare/v1.0.0-rc.2...v1.0.0-rc.3 -[1.0.0-rc.2]: https://github.com/pendulum-project/ntpd-rs/compare/v1.0.0-rc.1...v1.0.0-rc.2 -[1.0.0-rc.1]: https://github.com/pendulum-project/ntpd-rs/compare/v0.3.7...v1.0.0-rc.1 +[1.0.0]: https://github.com/pendulum-project/ntpd-rs/compare/v0.3.7...v1.0.0 [0.3.7]: https://github.com/pendulum-project/ntpd-rs/compare/v0.3.6...v0.3.7 [0.3.6]: https://github.com/pendulum-project/ntpd-rs/compare/v0.3.5...v0.3.6 [0.3.5]: https://github.com/pendulum-project/ntpd-rs/compare/v0.3.3...v0.3.5 diff --git a/Cargo.lock b/Cargo.lock index 51e0ca9b5..1ec7ac7c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -355,7 +355,7 @@ dependencies = [ [[package]] name = "ntp-os-clock" -version = "1.0.0-rc.5" +version = "1.0.0" dependencies = [ "libc", "ntp-proto", @@ -364,7 +364,7 @@ dependencies = [ [[package]] name = "ntp-proto" -version = "1.0.0-rc.5" +version = "1.0.0" dependencies = [ "aead", "aes-siv", @@ -381,7 +381,7 @@ dependencies = [ [[package]] name = "ntp-udp" -version = "1.0.0-rc.5" +version = "1.0.0" dependencies = [ "libc", "ntp-proto", @@ -392,7 +392,7 @@ dependencies = [ [[package]] name = "ntpd" -version = "1.0.0-rc.5" +version = "1.0.0" dependencies = [ "async-trait", "libc", diff --git a/Cargo.toml b/Cargo.toml index 669f7ed0e..61130df27 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ resolver = "2" # Global settings for our crates [workspace.package] -version = "1.0.0-rc.5" +version = "1.0.0" edition = "2021" license = "Apache-2.0 OR MIT" repository = "https://github.com/pendulum-project/ntpd-rs" @@ -66,7 +66,7 @@ zeroize = "1.5" # 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-os-clock = { version = "1.0.0-rc.5", path = "./ntp-os-clock" } -ntp-proto = { version = "1.0.0-rc.5", path = "./ntp-proto", features = ["__internal-api"] } -ntp-udp = { version = "1.0.0-rc.5", path = "./ntp-udp" } -ntpd = { version = "1.0.0-rc.5", path = "./ntpd" } +ntp-os-clock = { version = "1.0.0", path = "./ntp-os-clock" } +ntp-proto = { version = "1.0.0", path = "./ntp-proto", features = ["__internal-api"] } +ntp-udp = { version = "1.0.0", path = "./ntp-udp" } +ntpd = { version = "1.0.0", path = "./ntpd" } diff --git a/docs/man/ntp-ctl.8.md b/docs/man/ntp-ctl.8.md index 25875f5ed..79dcdb6ef 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 982713684..c7e760eea 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 4a1bebdd5..cc08e081d 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 30f4a2917..6b799fa19 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 f2ed590fb..4a8db5c47 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.0.0-rc.5" "ntpd-rs" +.TH "NTP-CTL" "8" "" "ntpd-rs 1.0.0" "ntpd-rs" .hy .SH NAME .PP diff --git a/docs/precompiled/man/ntp-daemon.8 b/docs/precompiled/man/ntp-daemon.8 index 25653b29f..860bee267 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.0.0-rc.5" "ntpd-rs" +.TH "NTP-DAEMON" "8" "" "ntpd-rs 1.0.0" "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 7c156b87f..307eb9e96 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.0.0-rc.5" "ntpd-rs" +.TH "NTP-METRICS-EXPORTER" "8" "" "ntpd-rs 1.0.0" "ntpd-rs" .hy .SH NAME .PP diff --git a/docs/precompiled/man/ntp.toml.5 b/docs/precompiled/man/ntp.toml.5 index c73f1f486..685a1383e 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.0.0-rc.5" "ntpd-rs" +.TH "NTP.TOML" "5" "" "ntpd-rs 1.0.0" "ntpd-rs" .hy .SH NAME .PP