This update brings several optimizations and improvements:
- Don't access storage during on-demand TLS unless the subject is allowed in the first place
- Managers moved into on-demand config, since they operate only at handshake-time
- Experimental
FallbackServerNamethat is likeDefaultServerName, except this one applies even if a ServerName is specified in the handshake - Several bug fixes, especially related to on-demand TLS and Managers
What's Changed
- Allow specifying http proxy via config by @georgmu in https://github.com/caddyserver/certmagic/pull/212
- Allow the default cache logger to be set by @pwilloughby in https://github.com/caddyserver/certmagic/pull/213
- Bump golang.org/x/text from 0.3.7 to 0.3.8 by @dependabot in https://github.com/caddyserver/certmagic/pull/216
- Bump golang.org/x/net from 0.0.0-20220805013720-a33c5aa5df48 to 0.7.0 by @dependabot in https://github.com/caddyserver/certmagic/pull/218
- obtain instead of renew cert if it does not exist in storage by @shitz in https://github.com/caddyserver/certmagic/pull/221
- Use recursive query when checking for TXT records by @kizmc in https://github.com/caddyserver/certmagic/pull/224
- Update & Improve CI by @wusatosi in https://github.com/caddyserver/certmagic/pull/227
- chore: Skip slow tests on Windows by @francislavoie in https://github.com/caddyserver/certmagic/pull/229
- Add a
GetCertificateWithContextfunction by @ankon in https://github.com/caddyserver/certmagic/pull/225 - Refactor certificate Managers by @mholt in https://github.com/caddyserver/certmagic/pull/231
- Fix advanced cache initialization in README by @s111 in https://github.com/caddyserver/certmagic/pull/198
New Contributors
- @georgmu made their first contribution in https://github.com/caddyserver/certmagic/pull/212
- @pwilloughby made their first contribution in https://github.com/caddyserver/certmagic/pull/213
- @dependabot made their first contribution in https://github.com/caddyserver/certmagic/pull/216
- @shitz made their first contribution in https://github.com/caddyserver/certmagic/pull/221
- @kizmc made their first contribution in https://github.com/caddyserver/certmagic/pull/224
- @wusatosi made their first contribution in https://github.com/caddyserver/certmagic/pull/227
- @s111 made their first contribution in https://github.com/caddyserver/certmagic/pull/198
Full Changelog: https://github.com/caddyserver/certmagic/compare/v0.17.2...v0.18.0