Changelog History
Page 1
-
v0.21.0 Changes
August 10, 2020๐ Improvements
โ Add support for password functions (useful for RDS IAM auth) (#554)
(by Harvey Frye in 1d9457f for #554)โ Add support for connection termination listeners (#525)
(by @iomintz in 8141b93 for #525)โก๏ธ Update CI matrix, aarch64 builds (#595)
(by @Gelbpunkt in ac6a2fc for #595)๐ Fixes
๐ Fix possible uninitalized pointer access on unexpected array
message data (CVE-2020-17446, by @elprans in 69bcdf5,
reported by @risicle)Fix Connection class _copy_in private method
(by @ABCDeath in 7f5c2a2 for #555)โฌ๏ธ Bump pgproto to fix compilation issues
(by @elprans in aa67d61 for #565)๐ Improve pool documentation examples (#491)
(by @nyurik in 745f8f8 for #491)โก๏ธ Update usage.rst (#572)
(by @xuedong09 in f5b425a for #572)๐ Fix links in connection documentation (#584)
(by @samuelcolvin in b081320 for #584)๐ Fix usage documentation for hstore (#515)
(by @aaliddell in 39040b3 for #515) -
v0.20.1
January 12, 2020 -
v0.20.0 Changes
November 21, 2019๐ Improvements
๐ Support Python 3.8
(by @1st1 in #504)๐ Support PgBouncer by sending only a single SYNC message per query
(by @fvannee in b043fbd)๐ Bug Fixes
๐ Handle IP values with prefix in "inet" type as
ipaddress.IPvXInterface
(by @elprans in 5a4daf7 for #497)Close transport if connection times out
(by @hexrain in 926f483 for #468)๐ Use faster UUID codecs; make UUID decoding/encoding/operations 2-7x faster
(by @1st1 in edde3ff)โฌ๏ธ Use
loop.start_tls()
to upgrade connections to SSL
(by @1st1 in bdba7ce)๐ Build
-
v0.19.0 Changes
October 09, 2019๐ Improvements
โ Add support for SCRAM-SHA-256 authentication.
(by @jkatz in 2d76f50)โ Add PostgreSQL 12 support
(by @elprans in 2326153)๐ Bug Fixes
โ Remove preexec_fn hack from test cluster management
(by @elprans in 36ed11d)Fix DeprecationWarning in the docstring of copy_from_query()
(by @elprans in 482a39a)๐ Allow specifying the target version when generating the release log
(by @elprans in 43a7b21)Check for .flake8 after importing flake8
(by @dotlambda in aaeb707)Include .flake8 in PyPI tarball
(by @dotlambda in 43c6b9c)๐ fix timezone type label in docs
(by @claws in e91e491)๐ Fix _StatementCache.clear() PS memory leak
(by @un-def in f4aa9bf for #416)๐ fix for warning_callback not yet defined
(by @samuelcolvin in 354d9be)Fix assertion fail on copy_records_to_table
(by Petr Reznikov in ae5a89d)Do not look for a port in a Unix socket domain path
(by @Lawouach in b773912 for #419)Unquote connection string components properly
(by @elprans in 5513b9d for #418)โ Remove superfluous transaction from a cursor example
(by @elprans in 32fccaa for #475) -
v0.18.3
January 02, 2019 -
v0.18.2 Changes
November 10, 2018๐ Bug Fixes
โช Revert "Stop treating ReadyForQuery as a universal result indicator"
to fix stability regression.
(by @elprans in 04b6748)Correctly ignore all incoming messages after the Terminate message
(by @elprans in 787317f)Properly cleanup connections closed by remote
(by @elprans in 4393a15 for #385) -
v0.18.1 Changes
October 31, 2018 -
v0.18.0 Changes
October 30, 2018๐ Improvements
Implement
Record.get()
(by @elprans in 2b93ee5 for #330)Internal asyncpg errors are now consistently raised as
InternalClientError
(by @elprans in 263de3f)๐ Allow mappings as composite type input
(by @elprans in eaa2fa1 for #349)Add
BitString.to_int()
andBitString.from_int()
(by @percontation in ffd134e)๐ Allow 'sslmode' in DSNs
(by @percontation in 0304288)โ Add support for specifying multiple host addresses when connecting
(by @elprans in 1d650ed for #257)Low-level protocol implementation has been tweaked and
๐ optimized for slightly better performance in certain scenarios
(by @elprans in 7a81613 and cc053fe)Queries with cached statements now generate fewer TCP packets
(by @aleksey-mashanov in bf07199)Allow aliasing builtin types by name in
set_builtin_type_codec()
(by @elprans in 687127e)๐ฆ Factor out generic PostgreSQL protocol helpers into a separate package
(by @1st1 in f0adefc)๐ Fix tests and enable CI for PostgreSQL 11
(by @elprans in ddb0ec2 and 716fd9d)๐ Bug Fixes
๐ Handle and ignore permission errors when attempting to read .pgpass
(by @elprans in df7830f for #356)๐ Fix decoding of fractional timestamps before Postgres epoch
(by @elprans in a7eaf2b for #363) -
v0.17.0 Changes
July 10, 2018๐ Improvements
๐ Official support for Python 3.7.
๐ Bug Fixes
๐ Fix garbage collection of connections and emit a
ResourceWarning
if an unclosed connection is garbage collected.
(by @1st1 in d9a236e for #323)Raise a clear error if there's a race in pool intialization.
(by @1st1 in 3565ef8 for #320)Channel names in
Connection.add_listener()
and
๐Connection.remove_listener()
are now quoted properly.
(by @sqwishy in 3e6ade6)๐ Fixed endianness detection on *BSD systems.
(by @elprans in 8c83add for #313)๐ Fixed handling of large type OIDs.
(by @elprans in 2624bdb for #300) -
v0.16.0 Changes
June 06, 2018Behavior Changes
๐
Pool.close()
now waits until all acquired connections are released.
Hence, the below code will now hang indefinitely:conn = await pool.acquire()await pool.close()
โ Asyncpg will log a warning if
pool.close()
takes over 60 seconds to
โฑ complete. It is advisable to useasyncio.wait_for()
to set a timeout.๐ Improvements
โ Add support for reading passwords from .pgpass
(by @elprans in 55a372f for #267)Add
Connection.is_in_transaction()
(#297)
(by @bcaudell95 in cf523be for #297)โ Added codec for built-in type tid
(by @fantix in cddea9c)๐ Allow setting custom codecs on domains and enumerated types
(by @elprans in 3139322)๐ Allow passing
datetime.date
instances as timestamp input
(by @elprans in e8cc627 for #288)๐ Implement support for pool connection rotation
(by @elprans in 4d209b7 for #291)๐ Bug Fixes
Prohibit non-iterable containers to be passed as array input
(by @elprans in a2fa7b2)Decode numeric zeros with correct scale
(by Dmitriy Chugunov in 4124f7d)Fix handling of OIDs >= 2**31
(by @elprans in 8dd7a6c for #279)๐ Make
Pool.close()
wait until all checked out connections are released
(by @elprans in 7a0585a for #290)๐ Fix type codec cache races
(by @elprans in 482a186 for #278)๐ป Raise a consistent exception on input encoding errors
(by @elprans in 0ddfa46 for #260)