Skip to content

@github-actions github-actions released this Feb 10, 2021

A new asyncpg release is here.

Notable additions include Python 3.9 support, support for recently added
PostgreSQL types like jsonpath, and last but not least, vastly
improved executemany() performance. Importantly, executemany() is
also now atomic, which means that either all iterations succeed, or
none at all, whereas previously partial results would have remained in
place, unless executemany() was called in a transaction.

There is also the usual assortment of improvements and bugfixes, see the
details below.

This is the last release of asyncpg that supports Python 3.5, which has
reached EOL last September.

Improvements

Fixes

Assets 2

@elprans elprans released this Aug 10, 2020

Improvements

Fixes

Assets 2
Jan 12, 2020
v0.20.1
Bug Fixes
=========

* Add back ensure future for connector
  (by Martin Asell in 2c99beb)

* Fix errors in numeric binary decoder
  (by @elprans in 851d586 for #520)

@1st1 1st1 released this Nov 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

Assets 2

@elprans elprans released this Oct 9, 2019

Improvements

Bug Fixes

Assets 2
Jan 2, 2019
asyncpg v0.18.3
Bug Fixes
---------

* Fix bswap on *BSD
  (by @elprans in a6b7775 for #313)

* Make sure idle never-acquired pool connections are closed due to inactivity
  (by @elprans in 69cbfd0 for #389)

@elprans elprans released this Nov 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)

Assets 2

@elprans elprans released this Oct 31, 2018

Bug Fixes

Assets 2

@elprans elprans released this Oct 30, 2018

Improvements

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)

Assets 2

@elprans elprans released this Jul 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)

Assets 2