Caddy v2.0.0-beta.17 Release Notes

Release Date: 2020-03-14 // about 1 year ago
  • ๐Ÿš€ Caddy 2.0 beta 17 is the next pre-release in the development cycle of Caddy 2 and is the best one yet! We recommend that everyone on the beta track upgrade, test in a dev or staging environment, and then use in production!

    ๐Ÿฑ ๐Ÿ’š Please consider sponsoring this project. I work on this full-time!

    ๐Ÿš€ โš ๏ธ This release contains breaking changes. โš ๏ธ

    Some highlights:

    • 0๏ธโƒฃ โš ๏ธ All sites served over HTTPS by default (powered by Smallstep). Any site where a hostname or IP is provided will default to HTTPS on port 443. You can always specify a higher port if permissions require it. You may be prompted for a password the first time. Public sites continue to be served with Let's Encrypt certificates.
    • 0๏ธโƒฃ โš ๏ธ Port 2015 is no longer a default port.
    • ๐Ÿฑ โš ๏ธ Certificates will be moved to a different subfolder in storage. This happens automatically and no action is required by you. It is still in the same root folder tree.
    • ๐Ÿฑ โš ๏ธ Slight change to JSON config structure in some areas, mainly tls app related to certificate management.
    • Certificate automation has been vastly improved; especially more robust in error cases
    • ๐Ÿ†• New caddy fmt command formats / "cleans up" a Caddyfile
    • ๐Ÿ†• New caddy untrust command to uninstall a certificate from the trust store
    • ๐Ÿ‘ Experimental HTTP/3 supports QUIC draft 27
    • ๐Ÿ›  Fix for manually loaded TLS certificates
    • Ability to customize TLS client authentication modes/requirements
    • Placeholders can now be escaped \{like so\} (useful for JSON)
    • Revised HTTP->HTTPS auto-redirect algorithm
    • 0๏ธโƒฃ Ability to specify default ServerName in case client does not provide/support SNI
    • Known bug (upstream): We actually helped confirm a bug in the Go 1.14 runtime! This release is affected, but it's not serious. If the caddy command spins the CPU and hangs at startup, simply terminate the process and restart. It only happens sometimes, and is only known to occur on macOS.
    • ๐Ÿ›  Fixed regression in reverse_proxy related to upstream address parsing.
    • Hotfix for beta 16, which got mangled across a bad rebase and missing CI tests that unfortunately occurred at the same time. Maybe I shouldn't have released on Friday the 13th... ( do not use beta 16 )

    ๐Ÿ‘€ See all commits since beta 15 here.

    ๐Ÿš€ Please remember that Caddy 2 beta releases are not yet feature-complete as development is ongoing, nor are they stable; there are likely to be some breaking changes between tags. We hope you will find ways to use Caddy 2 beta in production and report any issues you find!

    This is a community effort, so please report bugs, join the discussion, and submit pull requests to be a part of the team!

    ๐Ÿ‘Œ Support:

    v2 Resources: