Skip to content

Latest commit

 

History

History
171 lines (134 loc) · 8.55 KB

CHANGELOG.md

File metadata and controls

171 lines (134 loc) · 8.55 KB

Changelog

All notable changes to powerdns-php will be documented in this file.

Updates should follow the Keep a CHANGELOG principles.

Unreleased

Compare v3.3.1 - Unreleased

v3.3.1 - 2021-07-06

Compare v3.3.0 - v3.3.1

Fixed

  • Replace deprecated Guzzle function (#75)

v3.3.0 - 2021-06-07

Compare v3.2.0 - v3.3.0

Added

  • Added interfaces for Connector and Powerdns. (@frankvanhest - #72)
  • Run tests against PowerDNS 4.4. (@frankvanhest - #73)

v3.2.0 - 2021-05-06

Compare v3.1.0 - v3.2.0

Added

  • Added a method unsetNsec3param() to unset the nsec3param for a zone.
  • Unit tests for enabling, disabling and setting DNSSEC.
  • It is now possible to set/get resource records to a zone resource. See examples/new_domain_from_zone_resource.php for an example.

Changed

  • Calling setNsec3Param() with value null will unset the nsec3param.
  • The internals of getting ResourceSets. Previously a GET request was made to get the resource sets, now the zone resource is being used which already contains all resource sets.

Fixed

  • Updated the stable composer.phar URL to properly run tests.

v3.1.0 - 2021-02-01

Compare v3.0.0 - v3.1.0

Added

  • The omitDnssecAndEditedSerialFields parameter in listZones. (@frankvanhest - #61)

v3.0.0 - 2021-01-05

Compare v2.6.0 - v3.0.0

Breaking

  • Dropped support for unsupported PHP versions. PHP 7.3 (or newer) is now required.

Changed

  • Updated Guzzle to 7.2. (@itspluxstahre #50)
  • Updated PHPUnit to 9.5.0.
  • When running tests a composer update will be executed for each environment to validate the packages/config for the specified PHP version.

v2.6.0 - 2020-12-21

Compare v2.5.2 - v2.6.0

Added

  • Support for PHP 8. (@akondas #54)
  • Support for the PowerDNS search endpoint. (#51)
  • The notify method on a zone. (@frankvanhest #56)

v2.5.2 - 2020-11-26

Compare v2.5.1 - v2.5.2

Added

  • The LUA record type. (#53)

v2.5.1 - 2020-11-06

Compare v2.5.0 - v2.5.1

Fixed

  • The account is send to PowerDNS when creating a zone. (#47)

v2.5.0 - 2020-10-30

Compare v2.4.0 - v2.5.0

Added

  • Get PowerDNS statistics.

v2.4.0 - 2020-08-04

Compare v2.3.1 - v2.4.0

Added

  • Export a zone in AXFR format. (#35)
  • Get the zone from a ResourceRecord. (#40)
  • Get the PowerDNS version of a server with $client->serverVersion().
  • Added a docker-compose.yml and run-tests.sh script to easy test against a combination of different PHP and PowerDNS versions.

Changed

  • Travis now uses Docker to run the tests.

Fixed

  • $resouceRecord->getComments() no longer throws an exception if there are no comments. (#38)

v2.3.1 - 2020-05-12

Compare v2.3.0 - v2.3.1

Fixed

  • No longer throw an exception when throwing an exception if the response body is not an error. (#32)

v2.3.0 - 2020-04-30

Compare v2.2.0 - v2.3.0

Added

Fixed

  • Removed record types APL, HIP and TA which are not supported by PowerDNS.

v2.2.0 - 2020-04-01

Compare v2.1.0 - v2.2.0

Added

  • Create a new zone based on a zone resource object.

v2.1.0 - 2020-03-11

Compare v2.0.0 - v2.1.0

Added

Changed

  • The validation of the NSEC3PARAM is improved. (#27)

v2.0.0 - 2020-01-29

Compare v1.1.0 - v2.0.0

Breaking

  • Renamed SOA-EDIT-API to SOA-EDIT when creating a new zone.
  • Implemented new SOA-EDIT-API logic when creating a new zone that defaults to DEFAULT so the SOA-EDIT value will be used.

This change will break your SOA increment if not configured correctly in the zone meta data. You need to update the zone meta yourself in whatever backend you use for PowerDNS. See the following quote from the PowerDNS website (section API):

Incompatible change: SOA-EDIT-API now follows SOA-EDIT-DNSUPDATE instead of SOA-EDIT (incl. the fact that it now has a default value of DEFAULT). You must update your existing SOA-EDIT-API metadata (set SOA-EDIT to your previous SOA-EDIT-API value, and SOA-EDIT-API to SOA-EDIT to keep the old behaviour).

Added

  • PowerDNS 4.2 support (see 'breaking' above).
  • PHP 7.4 support
  • Functional tests for SOA increments.

v1.1.0 - 2019-10-21

Compare v1.0.1 - v1.1.0

Added

  • $powerdns->listZones: Zone[]; to get all zones. (jackdpeterson - #14)
  • $zone->getCanonicalName(): string; to get the canonical zone name. (jackdpeterson - #14)

v1.0.1 - 2019-07-17

Compare v1.0.0 - v1.0.1

Changed

  • The Content-Type header is now also set when making calls to the API. (#11)

Fixed

  • Changed the payload key from set_ptr to the correct set-ptr in the RRSetTransformer. (#12)

v1.0.0 - 2019-07-05

Compare v0.2.4 - v1.0.0

Changed

  • Public release with quick-start example in readme.

v0.2.4 - 2019-06-18

Compare v0.2.3 - v0.2.3

Changed

  • Renamed the toggleDnssec method to setDnssec.

v0.2.3 - 2019-04-10

Compare v0.2.2 - v0.2.3

Removed

  • The alias functionality that replaces the @ for the full domain name in the content section when adding DNS records.

v0.2.2 - 2019-03-18

Compare v0.2.1 - v0.2.2

Added

  • It is now possible to enable/disable DNSSEC directly on a zone.

v0.2.1 - 2019-03-12

Compare v0.2.0 - v0.2.1

Fixed

  • DS records in the Cryptokey resource can be null.

v0.2.0 - 2019-03-04

Added

  • Initial public release.