github.com/mholt/certmagic breaking changes
github.com/mholt/certmagic v0.21.0 (May 7, 2024) is its newest release with breaking changes, 5 of them. The first: Removed github.com/mholt/certmagic.ACMEDNSProvider. Every breaking API change we have recorded in github.com/mholt/certmagic on Go modules: 46 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v0.25.6, released September 30, 2026.
Packages on Go modules run on Go. Go end of life dates.
github.com/mholt/certmagic v0.21.0 breaking changes
- Removed
github.com/mholt/certmagic.ACMEDNSProvider
github.com/mholt/certmagic.ACMEDNSProvider was removed in github.com/mholt/certmagic v0.21.0 pkg.go.dev - Behavior changed
DNS challenge propagation checks now query authoritative nameservers only when default resolvers are used. Users with custom resolvers may see different propagation check results and should verify their DNS challenge setup. github.com - Signature changed
github.com/mholt/certmagic.Cache.RemoveManaged
Was func RemoveManaged([]string); now func RemoveManaged([]SubjectIssuer). pkg.go.dev - Signature changed
github.com/mholt/certmagic.CertificateResource.IssuerData
Was IssuerData any; now IssuerData json.RawMessage. pkg.go.dev - Signature changed
github.com/mholt/certmagic.DNS01Solver.DNSProvider
Was DNSProvider ACMEDNSProvider; now DNSProvider DNSProvider. pkg.go.dev
github.com/mholt/certmagic v0.20.0 breaking changes
- Behavior changed
Hostnames ending in .home.arpa are now considered internal, which can change how they are handled. github.com - Behavior changed
Certificate and OCSP staple storage cleaning now uses distributed locking and persisted state, so only one instance cleans at a time and cleaning runs less often after restarts. github.com - Default changed
Retry backoff timings have been tuned, so retry timing may differ from earlier versions. github.com - Signature changed
github.com/mholt/certmagic.CleanStorage
Was func CleanStorage(context.Context, Storage, CleanStorageOptions); now func CleanStorage(context.Context, Storage, CleanStorageOptions) error. pkg.go.dev - Signature changed
github.com/mholt/certmagic.OnDemandConfig.DecisionFunc
The DecisionFunc for On-Demand TLS now takes a context.Context as its first argument, carrying the ClientHelloInfo for logging. Update custom decision functions to accept the new argument. pkg.go.dev
github.com/mholt/certmagic v0.19.0 breaking changes
- Removed
github.com/mholt/certmagic.Config.Unmanage
Config.Unmanage() was removed because it did not rely on the config; use Cache.RemoveManaged() instead, which stops maintenance of a managed cert removed from the cache. pkg.go.dev - Behavior changed
Config.Manage*
If a managed certificate for the given names is already in the cache, the Config.Manage* methods now do essentially nothing instead of reloading it from storage. github.com - Signature changed
github.com/mholt/certmagic.Config.CacheUnmanagedCertificatePEMBytes
Was func CacheUnmanagedCertificatePEMBytes(context.Context, []byte, []byte, []string) error; now func CacheUnmanagedCertificatePEMBytes(context.Context, []byte, []byte, []string) (string, error). pkg.go.dev - Signature changed
github.com/mholt/certmagic.Config.CacheUnmanagedCertificatePEMFile
Was func CacheUnmanagedCertificatePEMFile(context.Context, string, string, []string) error; now func CacheUnmanagedCertificatePEMFile(context.Context, string, string, []string) (string, error). pkg.go.dev - Signature changed
github.com/mholt/certmagic.Config.CacheUnmanagedTLSCertificate
Was func CacheUnmanagedTLSCertificate(context.Context, tls.Certificate, []string) error; now func CacheUnmanagedTLSCertificate(context.Context, tls.Certificate, []string) (string, error). pkg.go.dev
github.com/mholt/certmagic v0.18.0 breaking changes
- Removed
github.com/mholt/certmagic.Config.Managers
github.com/mholt/certmagic.Config.Managers was removed in github.com/mholt/certmagic v0.18.0 pkg.go.dev - Behavior changed
On-demand TLS now checks whether the subject is allowed before accessing storage. Code that relied on storage being read for disallowed subjects may see different behavior. github.com - Configuration changed
Managers
Certificate Managers were moved into the on-demand config because they only operate at handshake time. Code that sets Managers elsewhere must move that setting into the on-demand config. github.com
github.com/mholt/certmagic v0.17.0 breaking changes
- Removed
github.com/mholt/certmagic.CertificateEventData
github.com/mholt/certmagic.CertificateEventData was removed in github.com/mholt/certmagic v0.17.0 pkg.go.dev - Signature changed
github.com/mholt/certmagic.Config.OnEvent
Was OnEvent func(string, any); now OnEvent func(context.Context, string, map[string]any) error. pkg.go.dev
github.com/mholt/certmagic v0.16.0 breaking changes
- Removed
github.com/mholt/certmagic.ACMEManager
The ACMEManager type is now named ACMEIssuer. Update references to use the new name. pkg.go.dev - Removed
github.com/mholt/certmagic.ErrNotExist
Storage methods now return fs.ErrNotExist from io/fs when a file or key is missing. Code comparing against certmagic.ErrNotExist must switch to fs.ErrNotExist. pkg.go.dev - Removed
github.com/mholt/certmagic.NewACMEManager
github.com/mholt/certmagic.NewACMEManager was removed in github.com/mholt/certmagic v0.16.0 pkg.go.dev - Renamed
github.com/mholt/certmagic.CertificateManager
The CertificateManager type is now named Manager. Update references to use the new name. pkg.go.dev - Signature changed
github.com/mholt/certmagic.CleanUpOwnLocks
Was func CleanUpOwnLocks(*zap.Logger); now func CleanUpOwnLocks(context.Context, *zap.Logger). pkg.go.dev - Signature changed
github.com/mholt/certmagic.Config.CacheManagedCertificate
Was func CacheManagedCertificate(string) (Certificate, error); now func CacheManagedCertificate(context.Context, string) (Certificate, error). pkg.go.dev - Signature changed
github.com/mholt/certmagic.Config.CacheUnmanagedCertificatePEMBytes
Was func CacheUnmanagedCertificatePEMBytes([]byte, []byte, []string) error; now func CacheUnmanagedCertificatePEMBytes(context.Context, []byte, []byte, []string) error. pkg.go.dev - Signature changed
github.com/mholt/certmagic.Config.CacheUnmanagedCertificatePEMFile
Was func CacheUnmanagedCertificatePEMFile(string, string, []string) error; now func CacheUnmanagedCertificatePEMFile(context.Context, string, string, []string) error. pkg.go.dev - Signature changed
github.com/mholt/certmagic.Config.CacheUnmanagedTLSCertificate
Was func CacheUnmanagedTLSCertificate(tls.Certificate, []string) error; now func CacheUnmanagedTLSCertificate(context.Context, tls.Certificate, []string) error. pkg.go.dev - Signature changed
github.com/mholt/certmagic.Config.Managers
Was Managers []CertificateManager; now Managers []Manager. pkg.go.dev
And 16 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.