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 https://github.com/mholt/acmez/pull/21
- New v2 API for more customizable orders by @mholt in https://github.com/mholt/acmez/pull/23
New Contributors
- @commonism made their first contribution in https://github.com/mholt/acmez/pull/21
Full Changelog: https://github.com/mholt/acmez/compare/v1.2.0...v2.0.0-beta.1