pypi asyncpg 0.10.0

latest releases: 0.30.0, 0.29.0, 0.28.0...
7 years ago

New features

  • Add support for SSL connections.
    (by @1st1 in 5836a8f for #25)

  • Add max_cached_statement_lifetime parameter to asyncpg.connect().
    (by @1st1 in 10955fd for #76)

  • Add max_inactive_connection_lifetime parameter to asyncpg.create_pool().
    (by @1st1 in a2935ae)

  • Expose some of Connection methods directly on the Pool object.
    (by @1st1 in 1b3a847 for #39)

  • Allow overriding codecs for builtin types on a connection.
    (by @elprans in 71de129 for #73)

  • Add support for the text I/O fallback for arrays of unknown types.
    (by @elprans in a2e53ab for #82)

  • Make the Record type available as asyncpg.Record.
    (by @elprans in d42608f for #93)

  • pool: Track connections and prohibit using them after release.
    (by @1st1 in 3bf6103)

  • Rollback any active transactions in Connection.reset().
    (by @1st1 in 0d19d96)

  • Invalidate statement cache on schema changes affecting statement result.
    (by @elprans in 749d857 for #72)

  • Use anonymous prepared statements when the cache is off.
    (by @1st1 in a3e9cb4 for #76)

  • Raise an error if connection is used after being closed.
    (by @1st1 in 5ddd7fc)

  • Add Amazon Redshift detection.
    (by @elprans in 4fdc1db for #29)

  • Add rudimentary server capability detection.
    (by @elprans in e8bb3dc for #87)

Bug fixes

  • Handle exceptions in generators passed to Connection.executemany().
    (by @elprans in 8d17ecc for #85)

  • Shield Pool.release() from task cancellation.
    (by @elprans in 537c8c9 for #97)

  • Fix inclusion of DETAIL and HINT in Postgres messages.
    (by @elprans in 2e346c1)

  • Implement conistent handling of timeouts.
    (by @elprans in 1674dec)

  • Make timeout arg of Connection.executemany() a keyword-only arg.
    (by @1st1 in 424760d)

Don't miss a new asyncpg release

NewReleases is sending notifications on new releases.