From: Marko Kreen Date: Thu, 18 Feb 2016 16:56:47 +0000 (+0200) Subject: v1.7.1 X-Git-Tag: pgbouncer_1_7_1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf4d482d7f22d58bcc22d6b08c97f8a67d822ca9;p=pgbouncer v1.7.1 --- diff --git a/NEWS.rst b/NEWS.rst index 4f8fa83..768c7dd 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -4,6 +4,58 @@ PgBouncer changelog PgBouncer 1.7.x --------------- +**2016-02-18 - PgBouncer 1.7.1 - "Forward To Five Friends Or Else"** + +WARNING: Since version 1.7, `server_reset_query` is not executed when +database is in transaction-pooling mode. Seems this was not highlighted +enough in 1.7 announcement. If your apps depend on that happening, use +`server_reset_query_always` to restore previous behaviour. + +Otherwise main work of this release was to track down TLS-related memory +leak, which turned out to not exist. Instead there is libssl build in +Debian/wheezy which has 600k overhead per connection (without leaking) +instead expected 20-30k. Something to keep an eye on when using TLS. + +- Fixes + + * TLS: Rename sslmode "disabled" to "disable" as that is what + PostgreSQL uses. + + * TLS: `client_tls_sslmode=verify-ca/-full` now reject + connections without client certificate. + (`#104 `_) + + * TLS: `client_tls_sslmode=allow/require` do validate client + certificate if sent. Previously they left cert validation + unconfigured so connections with client cert failed. + (`#105 `_) + + * Fix memleak when freeing database. + + * Fix potential memleak in tls_handshake(). + + * Fix EOF handling in tls_handshake(). + + * Fix too small memset in asn1_time_parse compat. + + * Fix non-TLS (`--without-openssl`) build. + (`#101 `_) + + * Fix various issues with Windows build. + (`#100 `_) + +- Cleanups + + * TLS: Use SSL_MODE_RELEASE_BUFFERS to decrease memory usage + of inactive connections. + + * Clean allocated memory on exit. Helps to run memory-leak checkers. + + * Improve `server_reset_query` documentation. + (`#110 `_) + + * Add TLS options to sample config. + **2015-12-18 - PgBouncer 1.7 - "Colors Vary After Resurrection"** - Features diff --git a/configure.ac b/configure.ac index c768309..9b3b29b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(pgbouncer, 1.7) +AC_INIT(pgbouncer, 1.7.1) AC_CONFIG_SRCDIR(src/janitor.c) AC_CONFIG_HEADER(lib/usual/config.h) AC_PREREQ([2.59]) diff --git a/debian/changelog b/debian/changelog index 213c318..cb954f3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pgbouncer (1.7.1-1) unstable; urgency=low + + * v1.7.1 + + -- Marko Kreen Thu, 18 Feb 2016 18:34:55 +0200 + pgbouncer (1.7-1) unstable; urgency=low * v1.7