Skip to content

Release 6.0.0 - #200

Draft
NelsonVides wants to merge 1 commit into
mainfrom
release-6.0.0
Draft

NelsonVides wants to merge 1 commit into
mainfrom
release-6.0.0

Conversation

@NelsonVides

Copy link
Copy Markdown
Contributor

Names the unreleased changes v6.0.0. Only CHANGELOG.md changes: the entries are as they were merged, with the API changes that need code changed moved first under Changed, a migration guide after them, as 5.0.0 had, and the base_dir option under a new Removed section. A one-line intro at the top of the section points to the guide.

The breaking changes are the dnssec module's new name dns_sec, DNSKEY and CDNSKEY keys held as their RDATA bytes, the JSON form of RSA and DSA keys, RSA and DSA private keys as bytes, and $INCLUDE kept to the zone file's directory. The rest refuses zone files, JSON and RRSIGs that 5.x took, and needs no code change.

Checks on the migration guide's snippets:

  • dns_sec exports every function v5.2.0's dnssec did, under the same name and arity, plus dnskey_public_key/2.
  • The JSON conversion was run on RSA (2048-bit) and DSA (1024-bit, 160-bit Q) DNSKEYs written by v5.2.0's dns_json:to_map/1. Each gives exactly the key 6.0's to_map/1 writes for the same key, and the converted map loads with from_map/1. 6.0 refuses the unconverted 5.x maps with invalid_record.
  • rsa_numbers/1 gives back [E, M] for an exponent in RFC 3110's short form and in its long form.
  • RSA and DSA private keys of integers raise {badarg, number_not_bytes} when signing, and sign once converted with binary:encode_unsigned/1.

erldns's chore/dns-erlang-6 branch, pinned to this release's code (60db43f), passes its make test: format, lint, xref, dialyzer, ex_doc and all 445 tests. rebar3 ex_doc and rebar3 hex build pass here.

Left for 6.x, as they change no API: the signing inception's clock-skew margin (S5 of #169), NSEC and NSEC3 generation (#170), and validity periods in serial number arithmetic.

After merge and a green CI on main, tag the merge commit v6.0.0; the release workflow publishes to Hex.

Name the unreleased changes v6.0.0, with the five that need code changed
first under Changed, a migration guide for them, and the base_dir option
under Removed.
@NelsonVides NelsonVides added the task Task to be performed label Nov 16, 2026
@NelsonVides NelsonVides self-assigned this Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

task Task to be performed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant