Skip to content

v2.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@mholt mholt released this 08 Mar 16:21
· 18 commits to master since this release
v2.0.0-beta.1
c0dcf7b

Version 2 beta introduces some breaking change enhancements to the high-level ("porcelain") APIs in the acmez package. The lower-level acme package APIs ("plumbing") remain unbroken and stable, but those who are using the acmez package will find this new API more flexible:

  • Ability to customize certificate lifetimes (NotBefore/NotAfter) -- if the CA supports this
  • Support for ARI draft 03.

Namely, the new API introduces the OrderParameters struct which allows full customization of the, well, order parameters. We've also simplified the ObtainCertificate*() functions down to just a single ObtainCertificate(), and for the most common, simple cases, ObtainCertificateForSANs() which lightly wraps ObtainCertificate() into a one-liner for most users.

Some of the new exported API is still experimental and subject to change, but hopefully will get stable fairly quickly. Thanks for using acmez!

What's Changed

  • Set omitempty on Order.Status field by @commonism in #21
  • New v2 API for more customizable orders by @mholt in #23

New Contributors

Full Changelog: v1.2.0...v2.0.0-beta.1