Releases: beevik/ntp
Releases · beevik/ntp
Release v1.4.3
Release v1.4.2
Fixes
- Fixed a bug in clock offset calculation.
Release v1.4.1
Updates
- Upgraded package dependencies to retrieve security fixes.
Release v1.4.0
Changes
- Added a protocol
Version
field to theResponse
struct.
Release v1.3.1
Changes
- Added AES-256-CMAC support for symmetric authentication.
- Symmetric auth keys may now be specified as ASCII or HEX using the "ASCII:" or "HEX:" prefixes.
- Updated dependencies to address security issues.
Fixes
- Added proper handling of the empty string when used as a server address.
Release v1.3.0
Changes
- Added the
ReferenceString
function toResponse
. This generates a stratum-specific string for theReferenceID
value. - Optimized the AES CMAC calculation for 64-bit architectures.
Fixes
- Fixed a bug introduced in release v1.2.0 that was causing IPv6 addresses to be interpreted incorrectly.
Release v1.2.0
Changes
- Added support for NTP extensions by exposing an extension interface. Extensions are able to (1) modify NTP messages before being sent to the server, and (2) process NTP messages after they arrive from the server. This feature has been added in preparation for NTS support.
- Added support for RFC 5905 symmetric key authentication.
- Allowed server address to be specified as a "host:port" pair.
- Brought package into further compliance with IETF draft on client data minimization.
- Declared error variables as part of the public API.
- Added a Dialer field to QueryOptions. This replaces the deprecated Dial field.
- Added an IsKissOfDeath function to the Response type.
Deprecated
- Deprecated the Port field in QueryOptions.
- Deprecated the Dial field in QueryOptions.
Release v1.1.1
Fixes
- Fixed a missing indirect go module dependency.
Release v1.1.0
Changes
- Added the
Dial
property to theQueryOptions
struct. This allows the user
to override the default UDP dialer when setting up a connection to a remote
NTP server.
Release v1.0.0
Release v1.0.0
This package has been stable for several years with no bug reports in that
time. It is also pretty much feature complete. I am therefore updating the
version to 1.0.0.
Because this is a major release, all previously deprecated code has been
removed from the package.
Breaking changes
- Removed the
TimeV
function. UseTime
orQueryWithOptions
instead.