Skip to content

Releases: beevik/ntp

Release v1.4.3

30 May 06:46
Compare
Choose a tag to compare

Fixes

  • Fixed an overflow bug in the clock offset calculation introduced by
    release v1.4.2.

Release v1.4.2

23 May 23:37
Compare
Choose a tag to compare

Fixes

  • Fixed a bug in clock offset calculation.

Release v1.4.1

03 May 04:37
Compare
Choose a tag to compare

Updates

  • Upgraded package dependencies to retrieve security fixes.

Release v1.4.0

02 May 15:05
Compare
Choose a tag to compare

Changes

  • Added a protocol Version field to the Response struct.

Release v1.3.1

24 Dec 05:02
Compare
Choose a tag to compare

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

29 Jul 04:38
b536f10
Compare
Choose a tag to compare

Changes

  • Added the ReferenceString function to Response. This generates a stratum-specific string for the ReferenceID 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

13 Jul 03:14
Compare
Choose a tag to compare

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

13 Jun 04:35
b5f35bd
Compare
Choose a tag to compare

Fixes

  • Fixed a missing indirect go module dependency.

Release v1.1.0

13 Jun 04:08
baa6e55
Compare
Choose a tag to compare

Changes

  • Added the Dial property to the QueryOptions 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

07 May 23:05
ad2604d
Compare
Choose a tag to compare

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. Use Time or QueryWithOptions instead.