All Versions
14
Latest Version
Avg Release Cycle
87 days
Latest Release
1355 days ago

Changelog History
Page 2

  • v0.15.0 Changes

    February 15, 2018

    Behavior Changes

    asyncpg no longer uses the common statement cache for explicit
    prepared statements, so Connection.prepare() always returns a
    ๐Ÿ†• new prepared statement (by @vangheem in a19ce50).

    ๐Ÿ› Bug Fixes

    ๐ŸŽ‰ Initialize statement codecs immediately after Prepare
    (by @elprans in 803c115 for #241)

    ๐Ÿ›  Fix server version parsing when it contains trailing data
    (by @elprans in 05dce25 for #250)

  • v0.14.0 Changes

    December 29, 2017

    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 1fa12fe)

    ๐Ÿ‘Œ Improvements

    ๐Ÿ‘Œ Support timeouts in Connection.close() and Pool.release()
    (by @elprans in bdfdd89 for #220)

    Invalidate type cache on schema changes affecting statement result.
    A new Connection.reload_schema_state() method.
    (by @vitaly-burovoy in b04556e)

    โž• Add CrateDB detection
    (by @mfussenegger in afc1038)

    ๐Ÿ› Bug Fixes

    ๐Ÿ‘‰ Make prepared statement uid generator global
    (by @1st1 in 3e43fcf)

    Document pgbouncer-related prepared statement breakage
    (by @elprans in 4a3713f for #121)

    ๐Ÿ›  Fix unaligned access issues in host-network byte I/O on ARM
    (by @elprans in c04576d for #216)

    ๐Ÿ›  Fix issues with timetz type I/O
    (by @vitaly-burovoy in 7b6c083)

    โœ… Consistently use postgres/postgres as database/user pair in tests
    (by @elprans in b4ce740)

    Fix Range. __hash__ ()
    (by @eumiro in 46f468c)

    ๐Ÿš€ Guard transaction methods against underlying connection release
    (by @elprans in 59e2878 for #232)

  • v0.13.0 Changes

    October 20, 2017

    Backwards Incompatible Changes

    โฌ‡๏ธ Drop support for PostgreSQL 9.1
    (by @elprans in eaf298b)

    Remove the deprecated "binary" parameter from Connection.set_type_codec()
    (by @elprans in 9ad6625)

    ๐Ÿ†• New Features

    • โž• Add support for PostgreSQL 10
      (by @elprans)

    ๐Ÿ› Bug Fixes

    Document that single fetches can return None
    (by @khazhyk in 23394c9)

    ๐Ÿ›  Fix type introspection being very slow on large databases
    (by @elprans in e0c44ce for #186)

    ๐Ÿ›  Fix copy tests on PostgreSQL < 9.4
    (by @elprans in 327058f)

    ๐Ÿ›  Fix DeprecationWarning in tests
    (by @elprans in 3f9523c)

    ๐Ÿ›  Fix intermittent authentication failures against PostgreSQL 10 servers
    (by @elprans in 498213e for #158)

    ๐Ÿ Do not attempt to connect to Unix sockets on Windows when host is not set
    (by @elprans in 8a32fc4 for #184)

    Guard against incorrect use of resources associated with a connection
    (by @elprans in 089ac81, 93bf26f for #190)

    ๐Ÿš€ Warn when there are active listeners on a connection that is released
    (by @elprans in d085d2c for #190)

    โž• Add a test for cursors on a standby replica.
    (by @elprans in c484a47 for #66)

    ๐Ÿ‘ป Clarify the argument/parameter count mismatch exception
    (by @elprans in b6fe018 for #178)

    ๐Ÿ›  Fix TypeError on get_attributes when result has no columns
    (by @fantix in f29de23)

    protocol: Use try-finally explicitly every time we create a waiter
    (by @1st1 in 50edd8c)

    Call correct parent constructor in InterfaceWarning. __init__
    (by @elprans in eec98b0)

    ๐Ÿ‘ Allow grabbing the version information programmatically.
    (by @s0undt3ch in fa6dbc4)

    ๐Ÿ‘‰ Use the general statement cache for type introspection
    (by @elprans in 57c9ffd for #198)

    ๐Ÿ›  Fix issues with inet type I/O
    (by @elprans in e54f02e for #37)

    ๐Ÿ– Handle inactive connection closes while stored in the pool
    (by @AmatanHead in 9744ade)

  • v0.12.0 Changes

    July 07, 2017

    ๐Ÿ†• New Features

    Implement as_dict() method for PostgresMessage.
    (by @vitaly-burovoy in 90725f1)

    ๐ŸŒฒ Add API for receiving log messages connection.add_log_listener().
    (by @vitaly-burovoy and @1st1 in 1b1893d and f072f88 for #144)

    โž• Add support for "tuple" exchange format for codec overrides.
    (by @elprans in 0453243 and d27dda7)

    Implement binary format codec for numeric type.
    (by @elprans in a5413eb for #157)

    ๐Ÿ› Bug Fixes

    ๐Ÿ›  Fix boundary checks for integers.
    (by @vitaly-burovoy in e082910 and dfcf135)

    Fix handling of NULLs in copy_records_to_table().
    (by @elprans in 991b1ae for #153)

    Raise an error when a binary COPY FROM is attempted w/o appropriate codec.
    (by @elprans in 7aac14e for #157)

    ๐Ÿ›  Fix Record.items() to support duplicate keys. See #28 for details.
    (by @1st1 in 39b390c for #28)

    ๐Ÿ›  Fix Record.keys() to correctly return duplicate keys. See #28.
    (by @1st1 in b06114d for #28)

    Call notifications listeners using loop.call_soon().
    (by @1st1 in 83d08bd)

    ๐Ÿ›  Make PoolConnectionProxy more dynamic. Fixes #155.
    (by @1st1 in 6ca1f28 for #155)

    Make sure set_type_codec() overrides core codec for all formats.
    (by @elprans in 9c32b86 for #140)

    ๐Ÿ†• New severity "V" field as "severity_en" attribute.
    (by @vitaly-burovoy in 35bce5a)

    ๐Ÿ‘‰ Make interval decoding logic match that of psycopg2.
    (by @elprans in 6b48443 for #150)