Caddy v2.0.0-beta.13 Release Notes

Release Date: 2020-01-22 // about 4 years 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: