Caddy v2.0.0-beta.13 Release Notes

Release Date: 2020-01-22 // over 1 year ago
  • ๐Ÿš€ Caddy 2.0 beta 13 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.

    ๐Ÿ“š We spent a LOT of time and effort improving the v2 Caddyfile for this release! It's not 100% finished yet but it is much closer. We've also updated the website with a lot of new documentation and tutorials. Check it out!

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

    Click here for details about the significant changes in beta 13.

    ๐Ÿฑ Some highlights (breaking changes indicated by โš ๏ธ):

    • ๐Ÿฑ โš ๏ธ Path matching is now exact by default, not prefix
    • ๐Ÿฑ โš ๏ธ The rewrite Caddyfile directive is mutually exclusive with other rewrite directives
    • ๐Ÿฑ โš ๏ธ Caddyfile matcher syntax has changed from matcher and match: to simply @
    • ๐Ÿฑ โš ๏ธ Environment variables in the Caddyfile can be substituted at either adapt-time or runtime
    • ๐Ÿฑ โš ๏ธ HTTP route matchers are evaluated sequentially instead of all at once
    • ๐Ÿฑ โš ๏ธ New order Caddyfile option replaces handler_order
    • ๐Ÿฑ โš ๏ธ redir Caddyfile directive now comes before rewrite directive
    • ๐Ÿฑ โš ๏ธ TheheadersCaddyfile directive was renamed toheader`
    • ๐Ÿ†• New route Caddyfile directive evaluates directives in appearance order
    • ๐Ÿ†• New handle Caddyfile directive enables more sophisticated route composition
    • Caddyfile adapter will sort multiple instances of a directive by descending specificity of path matcher
    • The caddy command now assumes the caddyfile adapter if config filename starts with Caddyfile
    • 0๏ธโƒฃ The caddy reload command no longer requires --config flag for default Caddyfiles
    • Reverse proxy's buffering can be disabled with a flush interval of -1
    • ๐Ÿ›  Fix reverse proxy circuit breaker's type parameter
    • ๐Ÿ›  Fix http.handlers.rewrite module's manipulation of URI and construction of query strings
    • ๐Ÿ›  Fix try_files directive when used with query strings
    • ๐Ÿ›  Many other significant improvements and fixes to the Caddyfile
    • ๐Ÿ›  Numerous other bug fixes and minor enhancements all around
    • More details of the big changes in issue #2981

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

    ๐Ÿฑ ๐Ÿ’š Please consider sponsoring this project. I work on this full-time and our runway is extremely limited!

    ๐Ÿš€ 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!

    Thank you to all of you who have reported bugs or requested features so far. We continue to make good progress.

    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: