Asyncpg von MagicStack
Asyncpg 0.14.0
Version 0.14.0 meldet die Serverversion ab PostgreSQL 10.0 als x.0.y (inkompatible Änderung), unterstützt Timeouts in Connection.close() und Pool.release(), ergänzt Connection.reload_schema_state() und CrateDB-Erkennung und behebt mehrere Fehler.
Backwards Incompatible Changes
asyncpg now reports the server version as x.0.y for PostgreSQL 10.0 and later. This is in alignment with how upstream is interpreting the "minor" version component now. (@elprans in 1fa12fe2)
Improvements
Support timeouts in
Connection.close()andPool.release()(by @elprans in bdfdd898 for #220)Invalidate type cache on schema changes affecting statement result. A new
Connection.reload_schema_state()method. (by @vitaly-burovoy in b04556e9)Add CrateDB detection (by @mfussenegger in afc1038f)
Bug Fixes
Make prepared statement uid generator global (by @1st1 in 3e43fcf5)
Document pgbouncer-related prepared statement breakage (by @elprans in 4a3713f7 for #121)
Fix unaligned access issues in host-network byte I/O on ARM (by @elprans in c04576db for #216)
Fix issues with timetz type I/O (by @vitaly-burovoy in 7b6c0833)
Consistently use postgres/postgres as database/user pair in tests (by @elprans in b4ce7403)
Fix
Range.__hash__()(by @eumiro in 46f468c9)Guard transaction methods against underlying connection release (by @elprans in 59e2878b for #232)