This minor release adds new capabilities for the proxy handler and expands features of the postgres module, along with reliability fixes and dependency updates.
Thanks to everyone who contributed code, tests, and feedback for this release. Special thanks to @tannevaled for your hard work on already merged and pending changes.
Highlights
- proxy: Rise/fall thresholds for active health checks (#427), weighted load balancing (#428), optional connection closing when an upstream peer goes unhealthy (#425) and support for Prometheus metrics (#431); collaborated by @tannevaled
- postgres: Dedicated intermediate handler (
postgres_tls) to terminate TLS on classic PostgreSQL connections (#432), support for matching on user, client, and TLS parameters (#436); collaborated by @metafeather and @tannevaled - regexp: Hex option to match non-UTF8 byte sequences (#448); collaborated by @vnxme
Fixes
- proxy_protocol: Align the internal buffer size with the app's maximum buffer size to prevent connection drops (#420 -> #450); collaborated by @carterbryden and @vnxme
What's Changed
- build(deps): bump the all-updates group with 2 updates by @dependabot[bot] in #433
- build(deps): bump the actions-deps group with 4 updates by @dependabot[bot] in #434
- build(deps): bump the actions-deps group with 2 updates by @dependabot[bot] in #441
- build(deps): bump the all-updates group with 4 updates by @dependabot[bot] in #442
- deps: Bump Caddy to v2.11.4 by @vnxme in #443
- l4proxy: add rise/fall thresholds to active health checks by @tannevaled in #427
- l4proxy: add weighted load balancing by @tannevaled in #428
- l4proxy: add Prometheus metrics by @tannevaled in #431
- l4proxy: add Caddyfile unmarshaling tests by @tannevaled in #424
- test(l4proxy): add unit tests for Handle (the proxy main loop) by @tannevaled in #435
- l4proxy: optionally close connections when a peer goes unhealthy by @tannevaled in #425
- l4proxy: fix duplicate metrics registration panic (fixes #445) by @tannevaled in #446
- l4postgres: add a Postgres TLS handler (terminate inbound + re-originate outbound) by @tannevaled in #432
- l4postgres: consolidate into one postgres matcher (user/database, client, TLS) — supersedes #188 by @tannevaled in #436
- docs: Adjust the Postgres-over-TLS example by @vnxme in #447
- regexp: Introduce hex option to match non-UTF8 bytes by @vnxme in #448
- proxy_protocol: Adjust go-proxyproto's internal buffer size by @vnxme in #450
New Contributors
- @carterbryden made their first contribution in #420
- @tannevaled made their first contribution in #427
Full Changelog: v0.1.1...v0.1.2