Skip to content

Latest commit

 

History

History
1119 lines (791 loc) · 49.9 KB

CHANGELOG.md

File metadata and controls

1119 lines (791 loc) · 49.9 KB

Community DNS Collection Release Notes

Topics

v3.0.2

Release Summary

Maintenance release with updated PSL.

Bugfixes

  • Update Public Suffix List.

v3.0.1

Release Summary

Maintenance release with updated PSL.

Bugfixes

  • Update Public Suffix List.

v3.0.0

Release Summary

New major release.

Major Changes

  • The community.dns collection now depends on the community.library_inventory_filtering_v1 collection. This utility collection provides host filtering functionality for inventory plugins. If you use the Ansible community package, both collections are included and you do not have to do anything special. If you install the collection with ansible-galaxy collection install, it will be installed automatically. If you install the collection by copying the files of the collection to a place where ansible-core can find it, for example by cloning the git repository, you need to make sure that you also have to install the dependency if you are using the inventory plugins (ansible-collections#196).

Minor Changes

  • inventory plugins - add filter option which allows to include and exclude hosts based on Jinja2 conditions (ansible-collections#196).
  • lookup, lookup_as_dict - it is now possible to configure whether the input should be treated as an absolute domain name (search=false), or potentially as a relative domain name (search=true) (ansible-collections#200, ansible-collections#201).

Breaking Changes / Porting Guide

Removed Features (previously deprecated)

  • The collection no longer supports Ansible, ansible-base, and ansible-core releases that are currently End of Life at the time of the 3.0.0 release. This means that Ansible 2.9, ansible-base 2.10, ansible-core 2.11, ansible-core 2.12, and ansible-core 2.13 are no longer supported. The collection might still work with these versions, but it can stop working at any moment without advance notice, and this will not be considered a bug (ansible-collections#196).
  • hetzner_dns_record_set, hetzner_dns_record - the deprecated alias name of the prefix option was removed (ansible-collections#196).
  • hosttech_dns_records - the redirect to the hosttech_dns_record_sets module has been removed (ansible-collections#196).

Bugfixes

  • Update Public Suffix List.

v2.9.0

Release Summary

Feature and bugfix release.

Bugfixes

  • Update Public Suffix List.
  • inventory plugins - add unsafe wrapper to avoid marking strings that do not contain { or } as unsafe, to work around a bug in AWX (ansible-collections#197).

New Plugins

Filter

  • community.dns.quote_txt - Quotes a string to use as a TXT record entry
  • community.dns.unquote_txt - Unquotes a TXT record entry to a string

v2.8.3

Release Summary

Bugfix release.

Bugfixes

  • DNS record modules, inventory plugins - fix the TXT entry encoder to avoid splitting up escape sequences for quotes and backslashes over multiple TXT strings (ansible-collections#190, ansible-collections#191).
  • Update Public Suffix List.

v2.8.2

Release Summary

Bugfix release.

Security Fixes

Bugfixes

  • Update Public Suffix List.

v2.8.1

Release Summary

Maintenance release with updated PSL.

Bugfixes

  • Update Public Suffix List.

v2.8.0

Release Summary

Feature and maintenance release with updated PSL.

Minor Changes

  • hetzner_dns_records and hosttech_dns_records inventory plugins - the filters option has been renamed to simple_filters. The old name still works until community.hrobot 2.0.0. Then it will change to allow more complex filtering with the community.library_inventory_filtering_v1 collection's functionality (ansible-collections#181).

Deprecated Features

  • hetzner_dns_records and hosttech_dns_records inventory plugins - the filters option has been renamed to simple_filters. The old name will stop working in community.hrobot 2.0.0 (ansible-collections#181).

Bugfixes

  • Update Public Suffix List.

v2.7.0

Release Summary

Bugfix and feature release with updated PSL.

Minor Changes

Bugfixes

  • Update Public Suffix List.
  • wait_for_txt, nameserver_info, nameserver_record_info - when looking up nameservers for a domain, do not treat NXDOMAIN as a fatal error (ansible-collections#177).

v2.6.4

Release Summary

Bugfix and maintenance version.

Bugfixes

  • Update Public Suffix List.
  • nameserver_record_info - fix crash when more than one record is retrieved (ansible-collections#172).

v2.6.3

Release Summary

Maintenance release with updated PSL.

Bugfixes

v2.6.2

Release Summary

Maintenance release with updated PSL.

Bugfixes

  • Update Public Suffix List.

v2.6.1

Release Summary

Maintenance release with updated PSL.

Bugfixes

  • Update Public Suffix List.

v2.6.0

Release Summary

Feature release with an updated Public Suffix List.

Minor Changes

Bugfixes

  • Update Public Suffix List.
  • wait_for_txt, resolver module utils - improve error handling (ansible-collections#158).

New Plugins

Lookup

  • community.dns.lookup - Look up DNS records
  • community.dns.lookup_as_dict - Look up DNS records as dictionaries

New Modules

  • community.dns.nameserver_info - Look up nameservers for a DNS name
  • community.dns.nameserver_record_info - Look up all records of a type from all nameservers for a DNS name

v2.5.7

Release Summary

Regular maintenance release with updated Public Suffix List.

Bugfixes

  • Update Public Suffix List.

v2.5.6

Release Summary

Maintenance release.

From this version on, community.dns is using the new Ansible semantic markup in its documentation. If you look at documentation with the ansible-doc CLI tool from ansible-core before 2.15, please note that it does not render the markup correctly. You should be still able to read it in most cases, but you need ansible-core 2.15 or later to see it as it is intended. Alternatively you can look at the devel docsite for the rendered HTML version of the documentation of the latest release.

Known Issues

v2.5.5

Release Summary

Maintenance release with updated PSL.

Bugfixes

  • Update Public Suffix List.

v2.5.4

Release Summary

Maintenance release with updated PSL.

Bugfixes

  • Update Public Suffix List.

v2.5.3

Release Summary

Maintenance release with updated PSL.

Bugfixes

  • Update Public Suffix List.

v2.5.2

Release Summary

Maintenance release with improved documentation and updated PSL.

Bugfixes

  • Update Public Suffix List.

v2.5.1

Release Summary

Maintenance release (updated PSL).

Bugfixes

  • Update Public Suffix List.

v2.5.0

Release Summary

Feature and bugfix release with updated PSL.

Minor Changes

  • hosttech inventory plugin - allow to configure token, username, and password with ANSIBLE_HOSTTECH_DNS_TOKEN, ANSIBLE_HOSTTECH_API_USERNAME, and ANSIBLE_HOSTTECH_API_PASSWORD environment variables, respectively (ansible-collections#131).
  • various modules and inventory plugins - add new option txt_character_encoding which controls whether numeric escape sequences are interpreted as octals or decimals when txt_transformation=quoted (ansible-collections#134).

Deprecated Features

  • The default of the newly added option txt_character_encoding will change from octal to decimal in community.dns 3.0.0. The new default will be compatible with RFC 1035 (ansible-collections#134).

Bugfixes

v2.4.2

Release Summary

Maintenance release with updated Public Suffix List.

Bugfixes

  • Update Public Suffix List.

v2.4.1

Release Summary

Regular maintenance release.

Bugfixes

v2.4.0

Release Summary

Feature and maintenance release.

Minor Changes

  • Added a community.dns.hetzner module defaults group / action group. Use with group/community.dns.hetzner to provide options for all Hetzner DNS modules (ansible-collections#119).
  • Added a community.dns.hosttech module defaults group / action group. Use with group/community.dns.hosttech to provide options for all Hosttech DNS modules (ansible-collections#119).
  • wait_for_txt - the module now supports check mode. The only practical change in behavior is that in check mode, the module is now executed instead of skipped. Since the module does not change anything, it should have been marked as supporting check mode since it was originally added (ansible-collections#119).

Bugfixes

  • Update Public Suffix List.

v2.3.4

Release Summary

Maintenance release with updated Public Suffix List.

Bugfixes

  • Update Public Suffix List.

v2.3.3

Release Summary

Maintenance release including an updated Public Suffix List.

Bugfixes

  • Update Public Suffix List.

v2.3.2

Release Summary

Maintenance release with updated Public Suffix List.

Bugfixes

  • Update Public Suffix List.

v2.3.1

Release Summary

Maintenance release including an updated Public Suffix List.

Minor Changes

Bugfixes

  • Update Public Suffix List.

v2.3.0

Release Summary

Maintenance release including an updated Public Suffix List.

Minor Changes

  • All software licenses are now in the LICENSES/ directory of the collection root. Moreover, SPDX-License-Identifier: is used to declare the applicable license for every file that is not automatically generated (ansible-collections#109).

Bugfixes

  • Update Public Suffix List.

v2.2.1

Release Summary

Maintenance release with updated Public Suffix List.

Bugfixes

  • Update Public Suffix List.

v2.2.0

Release Summary

Feature release.

Minor Changes

  • hetzner_dns_records and hosttech_dns_records inventory plugins - allow to template provider-specific credentials and the zone_name, zone_id options (ansible-collections#106).
  • wait_for_txt - improve error messages so that in case of SERVFAILs or other DNS errors it is clear which record was queried from which DNS server (ansible-collections#105).

Bugfixes

  • Update Public Suffix List.

v2.1.1

Release Summary

Maintenance release with updated Public Suffix List.

Bugfixes

  • Update Public Suffix List.

v2.1.0

Release Summary

Feature and maintenance release with updated PSL.

Minor Changes

  • Prepare collection for inclusion in an Execution Environment by declaring its dependencies (ansible-collections#93).

Bugfixes

  • Update Public Suffix List.

v2.0.9

Release Summary

Maintenance release with updated Public Suffix List and added collection links file.

Bugfixes

  • Update Public Suffix List.

v2.0.8

Release Summary

Maintenance release with updated Public Suffix List.

Bugfixes

  • Update Public Suffix List.

v2.0.7

Release Summary

Maintenance release with updated Public Suffix List.

Bugfixes

  • Update Public Suffix List.

v2.0.6

Release Summary

Bugfix release.

Bugfixes

v2.0.5

Release Summary

Maintenance release with updated Public Suffix List.

Bugfixes

  • Update Public Suffix List.

v2.0.4

Release Summary

Maintenance release with updated Public Suffix List.

Bugfixes

  • Update Public Suffix List.

v2.0.3

Release Summary

Bugfix release.

Minor Changes

  • HTTP API module utils - fix usage of fetch_url with changes in latest ansible-core devel branch (ansible-collections#73).

v2.0.2

Release Summary

Regular maintenance release.

Bugfixes

  • Update Public Suffix List.

v2.0.1

Release Summary

Maintenance release with Public Suffix List updates.

Bugfixes

  • Update Public Suffix List.

v2.0.0

Release Summary

This release contains many new features, modules and plugins, but also has several breaking changes to the 1.x.y versions. Please read the changelog carefully to determine what to change if you used an earlier version of this collection.

Minor Changes

Breaking Changes / Porting Guide

  • All Hetzner modules and plugins which handle DNS records now work with unquoted TXT values by default. The old behavior can be obtained by setting txt_transformation=api (ansible-collections#48, ansible-collections#57, ansible-collections#60).
  • Hosttech API creation - now requires a ModuleOptionProvider object instead of an AnsibleModule object. Alternatively an Ansible plugin instance can be passed (ansible-collections#37).
  • The hetzner_dns_record_info and hosttech_dns_record_info modules have been renamed to hetzner_dns_record_set_info and hosttech_dns_record_set_info, respectively (ansible-collections#54).
  • The hosttech_dns_record module has been renamed to hosttech_dns_record_set (ansible-collections#31).
  • The internal bulk record updating helper (bulk_apply_changes) now also returns the records that were deleted, created or updated (ansible-collections#63).
  • The internal record API no longer allows to manage comments explicitly (ansible-collections#63).
  • When using the internal modules API, now a zone ID type and a provider information object must be passed (ansible-collections#27).
  • hetzner_dns_record* modules - implement correct handling of default TTL. The value none is now accepted and returned in this case (ansible-collections#52, ansible-collections#50).
  • hetzner_dns_record, hetzner_dns_record_set, hetzner_dns_record_sets - the default TTL is now 300 and no longer 3600, which equals the default in the web console (ansible-collections#43).
  • hosttech_dns_record_set - the option overwrite was replaced by a new option on_existing. Specifying overwrite=true is equivalent to on_existing=replace (the new default). Specifying overwrite=false with state=present is equivalent to on_existing=keep_and_fail, and specifying overwrite=false with state=absent is equivalent to on_existing=keep (ansible-collections#31).

Deprecated Features

  • The hosttech_dns_records module has been renamed to hosttech_dns_record_sets. The old name will stop working in community.dns 3.0.0 (ansible-collections#31).

Bugfixes

  • Hetzner API - interpret missing TTL as 300, which is what the web console also does (ansible-collections#42).
  • Update Public Suffix List.
  • Update Public Suffix List.
  • Update Public Suffix List.
  • hetzner API code - make sure to also handle errors returned by the API if the HTTP status code indicates success. This sometimes happens for 500 Internal Server Error (ansible-collections#58).
  • hosttech_dns_zone_info - make sure that full information is returned both when requesting a zone by ID or by name (ansible-collections#56).
  • wait_for_txt - fix handling of too long TXT values (ansible-collections#65).
  • wait_for_txt - resolving nameservers sometimes resulted in an empty list, yielding wrong results (ansible-collections#64).

New Plugins

Inventory

  • community.dns.hetzner_dns_records - Create inventory from Hetzner DNS records
  • community.dns.hosttech_dns_records - Create inventory from Hosttech DNS records

New Modules

  • community.dns.hetzner_dns_record - Add or delete a single record in Hetzner DNS service
  • community.dns.hetzner_dns_record_info - Retrieve records in Hetzner DNS service
  • community.dns.hetzner_dns_record_set - Add or delete record sets in Hetzner DNS service
  • community.dns.hetzner_dns_record_set_info - Retrieve record sets in Hetzner DNS service
  • community.dns.hetzner_dns_record_sets - Bulk synchronize DNS record sets in Hetzner DNS service
  • community.dns.hetzner_dns_zone_info - Retrieve zone information in Hetzner DNS service
  • community.dns.hosttech_dns_record - Add or delete a single record in Hosttech DNS service
  • community.dns.hosttech_dns_record_info - Retrieve records in Hosttech DNS service
  • community.dns.hosttech_dns_record_set - Add or delete record sets in Hosttech DNS service
  • community.dns.hosttech_dns_record_sets - Bulk synchronize DNS record sets in Hosttech DNS service

v1.2.0

Release Summary

Last minor 1.x.0 version. The 2.0.0 version will have some backwards incompatible changes to the hosttech_dns_record and hosttech_dns_records modules which will require user intervention. These changes should result in a better UX.

Minor Changes

  • hosttech modules - add api_token alias for hosttech_token (ansible-collections#26).
  • hosttech_dns_record - in diff mode, also return diff data structure when changed is false (ansible-collections#28).
  • module utils - add default implementation for some zone/record API functions, and move common JSON API code to helper class (ansible-collections#26).

Bugfixes

  • Update Public Suffix List.
  • hosttech_dns_record - correctly handle quoting in CAA records for JSON API (ansible-collections#30).

v1.1.0

Release Summary

Regular maintenance release.

Minor Changes

  • Avoid internal ansible-core module_utils in favor of equivalent public API available since at least Ansible 2.9 (ansible-collections#24).

Bugfixes

  • Update Public Suffix List.

v1.0.1

Release Summary

Regular maintenance release.

Bugfixes

  • Update Public Suffix List.

v1.0.0

Release Summary

First stable release.

Bugfixes

  • Update Public Suffix List.

v0.3.0

Release Summary

Fixes bugs, adds rate limiting for Hosttech JSON API, and adds a new bulk synchronization module.

Minor Changes

  • hosttech_dns_* - handle 419 Too Many Requests with proper rate limiting for JSON API (ansible-collections#14).

Bugfixes

  • Avoid converting ASCII labels which contain underscores or other printable ASCII characters outside [a-zA-Z0-9-] to alabels during normalization (ansible-collections#13).
  • Updated Public Suffix List.

New Modules

  • community.dns.hosttech_dns_records - Bulk synchronize DNS records in Hosttech DNS service

v0.2.0

Release Summary

Major refactoring release, which adds a zone information module and supports HostTech's new REST API.

Major Changes

Minor Changes

  • hosttech_dns_record* modules - allow to specify prefix instead of record (ansible-collections#8).
  • hosttech_dns_record* modules - allow to specify zone by ID with the zone_id parameter, alternatively to the zone parameter (ansible-collections#7).
  • hosttech_dns_record* modules - return zone_id on success (ansible-collections#7).
  • hosttech_dns_record* modules - support IDN domain names and prefixes (ansible-collections#9).
  • hosttech_dns_record_info - also return prefix for a record set (ansible-collections#8).
  • hosttech_record - allow to delete records without querying their content first by specifying overwrite=true (ansible-collections#4).

Breaking Changes / Porting Guide

  • hosttech_* module_utils - completely rewrite and refactor to support new JSON API and allow to reuse provider-independent module logic (ansible-collections#4).

Bugfixes

New Modules

  • community.dns.hosttech_dns_zone_info - Retrieve zone information in Hosttech DNS service

v0.1.0

Release Summary

Initial public release.

New Plugins

Filter

  • community.dns.get_public_suffix - Returns the public suffix of a DNS name
  • community.dns.get_registrable_domain - Returns the registrable domain name of a DNS name
  • community.dns.remove_public_suffix - Removes the public suffix from a DNS name
  • community.dns.remove_registrable_domain - Removes the registrable domain name from a DNS name

New Modules

  • community.dns.hosttech_dns_record - Add or delete entries in Hosttech DNS service
  • community.dns.hosttech_dns_record_info - Retrieve entries in Hosttech DNS service
  • community.dns.wait_for_txt - Wait for TXT entries to be available on all authoritative nameservers