v2.2.1
caddyserver/caddyv2.2.1Oct 13, 2020by github-actions[bot]
AI Summary
This patch release addresses various bug fixes, including improvements to matchers, reverse proxy handling, and metrics logging. It also notes an unauthorized tag and the creation of v2.2.3.
Key Highlights
- Added support for `vars` and `vars_regexp` matchers in Caddyfile.
- Restored original request parameters before error handlers.
- Improved reverse proxy handling for SRV lookups and dial placeholders.
- Lowered log level for `/metrics` requests to Debug.
New Features
- `vars` and `vars_regexp` matchers
- Restored original request params before error handlers
- Reverse proxy SRV lookup fixes
- Reverse proxy dial placeholder fixes
- Map handler improvements
Full Release Notes
This patch release contains a number of bug fixes. Thanks for the reports and the help in debugging them! Update: December 2020: This tag is the same as `v2.2.3`. Somehow, [an unauthorized tag `v2.2.2` was released from a fork](https://twitter.com/caddyserver/status/1338324878441603073). Because the Go module proxy is append-only, we created the `v2.2.3` tag so that v2.2.1 would remain the default "latest" until v2.3.0 stable is released in a few weeks. ## Changelog 85152679 admin: lower log level to Debug for /metrics requests (#3749) a33e4b54 caddyfile: Add support for `vars` and `vars_regexp` matchers (#3730) 385adf5d caddyhttp: Restore original request params before error handlers (#3781) 0fc47e83 map: Apply default if mapped output is nil ef8a372a map: Bug fixes; null literal with hyphen in Caddyfile 25d2b4bf map: Reimplement; multiple outputs; optimize dadfe193 metrics: fix handler to not run the next route (#3769) 3b9eae70 reverseproxy: Change 500 error to 502 for lookup_srv config (#3771) c7efb030 reverseproxy: Fix dial placeholders, SRV, active health checks (#3780) fdfdc033 reverseproxy: Ignore RFC 1521 params in Content-Type header (#3758) 6722426f reverseproxy: allow no port for SRV; fix regression in d55d50b (#3756) aa9c3eb7 reverseproxy: default to port 80 for upstreams in Caddyfile (#3772)