Skip to content

Commit

Permalink
Release 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rnijveld committed Feb 28, 2025
1 parent cb44ee1 commit 6b51a34
Show file tree
Hide file tree
Showing 14 changed files with 602 additions and 145 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
mem: 4096
copyback: false
prepare: |
pkg install -y curl
pkg install -y curl cmake llvm-devel
curl https://sh.rustup.rs -sSf --output rustup.sh
sh rustup.sh -y --profile minimal --default-toolchain stable
. "$HOME/.cargo/env"
Expand Down
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog

## [1.5.0] - 2025-02-28

### Added
- Support for PPS based sources (this support can be disabled with a compile flag for now)
- Per source configuration of poll intervals
- Allow setting a custom reference id for stratum 1 servers

### Changed
- Our algorithm can now handle periodic sources
- ntpd-rs runs single-threaded when only configured as a client, servers still run multithreaded
- The reference timestamp field is now set to the truncated receive timestamp instead of being zero
- Support of rustls 0.21 and 0.22 is removed
- Certificate validation is now done through rustls-platform-verifier, following platform certificate validation more closely
- Updated dependencies

### Fixed
- Fixed parsing of IPv6 addresses
- Fixed incorrect display of date in force-sync command
- Fixed a client denial of service vulnerability with zero-sized NTS cookies
- Fixed a client denial of service vulnerability with NTS cookies that are too large

## [1.4.0] - 2024-12-13

### Added
Expand Down Expand Up @@ -264,6 +285,7 @@ process.
- Fixed a bug in peer dispersion calculation which resulted in overly
pessimistic dispersion estimates.

[1.5.0]: https://github.com/pendulum-project/ntpd-rs/compare/v1.4.0...v1.5.0
[1.4.0]: https://github.com/pendulum-project/ntpd-rs/compare/v1.3.1...v1.4.0
[1.3.1]: https://github.com/pendulum-project/ntpd-rs/compare/v1.3.0...v1.3.1
[1.3.0]: https://github.com/pendulum-project/ntpd-rs/compare/v1.2.3...v1.3.0
Expand Down
113 changes: 53 additions & 60 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ resolver = "2"

# Global settings for our crates
[workspace.package]
version = "1.4.0"
version = "1.5.0"
edition = "2021"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/pendulum-project/ntpd-rs"
Expand Down Expand Up @@ -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.4.0", path = "./ntp-proto", default-features = false, features = ["__internal-api"] }
ntp-proto = { version = "1.5.0", path = "./ntp-proto", default-features = false, features = ["__internal-api"] }
Loading

0 comments on commit 6b51a34

Please sign in to comment.