asyncpg v0.18.0 Release Notes

Release Date: 2018-10-30 // over 5 years ago
  • ๐Ÿ‘Œ 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() and BitString.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)