Skip to content

Releases: joeig/go-powerdns

v3.5.1

01 Jul 14:05
Compare
Choose a tag to compare

Fixes

v3.5.0

09 Feb 14:46
Compare
Choose a tag to compare

New

  • Support Go 1.20 (#51)

Deprecate

  • Deprecate Go 1.18 in accordance with Go's version support policy (#51)
    Note that the minimum Go version that is required to compile this module is unaffected and remains 1.16.

v3.4.0

27 Jan 15:37
Compare
Choose a tag to compare

New

v3.3.0

03 Jan 15:49
693abe6
Compare
Choose a tag to compare

New

v3.2.0

26 Nov 18:34
Compare
Choose a tag to compare

New

  • Support PowerDNS Authoritative Server 4.7 (#45)

Deprecate

  • Deprecate support for Go 1.17 (#45)
  • Deprecate support for PowerDNS Authoritative Server 4.4 (#45)

v3.1.0

20 Aug 19:22
f5af691
Compare
Choose a tag to compare

New

  • Support Go 1.18 (#36)
  • Support Go 1.19 (#37)
  • Support PowerDNS 4.5 (#37)
  • Support PowerDNS 4.6 (#37)

Deprecate

  • Deprecate support for Go 1.15 (#36)
  • Deprecate support for Go 1.16 (#37)
  • Deprecate support for PowerDNS 4.1, 4.2 and 4.3 as they are officially end-of-life (#37)

v3.0.3

12 Mar 17:21
Compare
Choose a tag to compare

Fixes

  • Canonical zone names in URLs (#35)

v3.0.2

06 Jan 12:06
8313b10
Compare
Choose a tag to compare

New

  • Add godoc examples (#33)

v3.0.1

12 Nov 18:58
bb577bd
Compare
Choose a tag to compare

Fixes

  • Don't set Nsec3Param if DNSSEC is disabled (#32)

v3.0.0

14 Oct 18:52
fec0b15
Compare
Choose a tag to compare

New

  • Add context.Context to all API boundaries
  • Go 1.17 support

Migration

This library now requires context.Context for all methods which are requesting external APIs. Passing a Context is best practice in the Go ecosystem, which allows you to cancel requests to external APIs under specific circumstances in order to make your application more robust against external factors, such as timeouts.

Migration is simple: Add a Context such as context.Background() as a first paramter to any API methods.

Example

// Old method (without Context):
zone, err := pdns.Zones.Get("example.com")
// New method (with Context):
zone, err := pdns.Zones.Get(context.Background(), "example.com")

This applies to any API methods.

Deprecations