aiopg

aiopg is a library for accessing a PostgreSQL database from the asyncio

BSD-2-CLAUSE License

Downloads
540.9K
Stars
1.4K
Committers
62

Bot releases are visible (Hide)

aiopg - aiopg 1.4.0 release Latest Release

Published by Pliner almost 2 years ago

What's Changed

Full Changelog: https://github.com/aio-libs/aiopg/compare/v1.3.5...v1.4.0

aiopg - aiopg 1.2.1 release

Published by Pliner over 3 years ago

Changes

  • Implement timeout on acquiring connection from pool(#766)

  • Deprecate blocking connection.cancel() method (#570)

  • Fix IsolationLevel.read_committed and introduce IsolationLevel.default (#770)

  • Fix python 3.8 warnings in tests (#771)

  • Don't run ROLLBACK when the connection is closed (#778)

  • Multiple cursors support (#801)

  • Set max supported sqlalchemy version (#805)

  • Pop loop in connection init due to backward compatibility (#808)

aiopg - aiopg 1.1.0 release

Published by Pliner almost 4 years ago

Changes

  • Fix on_connect multiple call on acquire(#552)

  • Fix python 3.8 warnings(#622)

  • Bump minimum psycopg version to 2.8.4(#754)

  • Fix Engine.release method to release connection in any way(#756)

  • Added missing slots to context managers (#763)

aiopg - aiopg 1.0.0 release

Published by vir-mir about 5 years ago

  • Removal of an asynchronous call in favor of issues #550
  • Big editing of documentation and minor bugs #534
aiopg - aiopg 0.16.0 release

Published by vir-mir over 5 years ago

Changes

  • Fix select priority name (#525)

  • Rename psycopg2 to psycopg2-binary to fix deprecation warning (#507)

  • Fix #189 hstore when using ReadDictCursor (#512)

  • close cannot be used while an asynchronous query is underway (#452)

  • sqlalchemy adapter trx begin allow transaction_mode (#498)

aiopg - aiopg 0.15.0 release

Published by asvetlov about 6 years ago

Changes

  • Support Python 3.7 (#437)
aiopg - aiopg 0.14.0 release

Published by asvetlov over 6 years ago

Changes

  • Add get_dialect func to have ability to pass json_serializer #451
aiopg - aiopg 0.13.2

Published by jettify almost 7 years ago

Changes

  • Fixed compatibility with SQLAlchemy 1.2.0 #412

  • Added support for transaction isolation levels #219

aiopg - aiopg 0.13.1

Published by jettify about 7 years ago

Changes

  • Added connection poll recycling logic #373
aiopg - aiopg 0.13.0

Published by asvetlov almost 8 years ago

Changes

  • Add async with support to .begin_nested() #208
  • Fix connection.cancel() #212 #223
  • Raise informative error on unexpected connection closing #191
  • Added support for python types columns issues #217
  • Added support for default values in SA table issues #206
aiopg - aiopg 0.11.0 release

Published by asvetlov about 8 years ago

CHANGES

  • Immediately remove callbacks from a closed file descriptor #139
  • Drop Python 3.3 support
aiopg - aiopg 0.10.0 release

Published by asvetlov over 8 years ago

Connection pool is more stable now.

Changes

  • Refactor tests to use dockerized Postgres server #107
  • Reduce default pool minsize to 1 #106
  • Explicitly enumerate packages in setup.py #85
  • Remove expired connections from pool on acquire #116
  • Don't crash when Connection is GC'ed #124
  • Use loop.create_future() if available
aiopg - aiopg 0.9.2

Published by asvetlov over 8 years ago

Changes

  • Make pool.release return asyncio.Future, so we can wait on it in
    __aexit__ #102
  • Add support for uuid type #103
aiopg - aiopg 0.9.1

Published by asvetlov almost 9 years ago

Documentation release, no code changes.

aiopg - aiopg 0.9.0 release

Published by asvetlov almost 9 years ago

Added support for async/await syntax into SQLAlchemy layer

Changes

  • Add async context managers for transactions #91
  • Support async iterator in ResultProxy #92
  • Add async with for engine #90
aiopg - aiopg 0.8.0 release

Published by asvetlov almost 9 years ago

Fixed a bug with processing timeouts, added support for async with statements in core API.

SQLAlchemy layer is not converted yet.

Full list of changes:

  • Add PostgreSQL notification support #58
  • Support pools with unlimited size #59
  • Cancel current DB operation on asyncio timeout #66
  • Add async with support for Pool, Connection, Cursor #88
aiopg - Release 0.7.0

Published by asvetlov over 9 years ago

Major aiopg 0.7.0 release.

CHANGES

  • Get rid of resource leak on connection failure.
  • Report ResourceWarning on non-closed connections.
  • Deprecate iteration protocol support in cursor and ResultProxy.
  • Release sa connection to pool on connection.close().
aiopg - aiopg 0.6.1

Published by asvetlov over 9 years ago

Better support for aiopg.sa query execution

Changes

  • Accept dict, list, tuple, named and positional parameters in
    SAConnection.execute()
aiopg - aiopg 0.5.2

Published by asvetlov almost 10 years ago

Minor release, fixes a bug that leaves connection in broken state after cursor.execute() failure.

aiopg - aiopg 0.5.1

Published by asvetlov almost 10 years ago

Minor bugfix release.

Fix allows to use next transaction on the same connection for aiopg.sa machinery.