All notable changes to powerdns-php
will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
v3.3.1 - 2021-07-06
- Replace deprecated Guzzle function (#75)
v3.3.0 - 2021-06-07
- Added interfaces for Connector and Powerdns. (@frankvanhest - #72)
- Run tests against PowerDNS 4.4. (@frankvanhest - #73)
v3.2.0 - 2021-05-06
- 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.
- Calling
setNsec3Param()
with valuenull
will unset thensec3param
. - 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.
- Updated the stable composer.phar URL to properly run tests.
v3.1.0 - 2021-02-01
- The
omitDnssecAndEditedSerialFields
parameter inlistZones
. (@frankvanhest - #61)
v3.0.0 - 2021-01-05
- Dropped support for unsupported PHP versions. PHP 7.3 (or newer) is now required.
- 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
- 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
- The
LUA
record type. (#53)
v2.5.1 - 2020-11-06
- The
account
is send to PowerDNS when creating a zone. (#47)
v2.5.0 - 2020-10-30
- Get PowerDNS statistics.
v2.4.0 - 2020-08-04
- 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
andrun-tests.sh
script to easy test against a combination of different PHP and PowerDNS versions.
- Travis now uses Docker to run the tests.
$resouceRecord->getComments()
no longer throws an exception if there are no comments. (#38)
v2.3.1 - 2020-05-12
- No longer throw an exception when throwing an exception if the response body is not an error. (#32)
v2.3.0 - 2020-04-30
- Removed record types
APL
,HIP
andTA
which are not supported by PowerDNS.
v2.2.0 - 2020-04-01
- Create a new zone based on a zone resource object.
v2.1.0 - 2020-03-11
- It is now possible to set the NSEC3PARAM on a zone. (mkevenaar-docktera - #25 #26)
- The validation of the NSEC3PARAM is improved. (#27)
v2.0.0 - 2020-01-29
- Renamed
SOA-EDIT-API
toSOA-EDIT
when creating a new zone. - Implemented new
SOA-EDIT-API
logic when creating a new zone that defaults toDEFAULT
so theSOA-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).
- PowerDNS 4.2 support (see 'breaking' above).
- PHP 7.4 support
- Functional tests for SOA increments.
v1.1.0 - 2019-10-21
$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
- The
Content-Type
header is now also set when making calls to the API. (#11)
- Changed the payload key from
set_ptr
to the correctset-ptr
in the RRSetTransformer. (#12)
v1.0.0 - 2019-07-05
- Public release with quick-start example in readme.
v0.2.4 - 2019-06-18
- Renamed the
toggleDnssec
method tosetDnssec
.
v0.2.3 - 2019-04-10
- 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
- It is now possible to enable/disable DNSSEC directly on a zone.
v0.2.1 - 2019-03-12
- DS records in the Cryptokey resource can be
null
.
v0.2.0 - 2019-03-04
- Initial public release.