Changelogs » Aiopg

PyUp Safety actively tracks 232,000 Python packages for vulnerabilities and notifies you when to upgrade.

Aiopg

1.0.0

* Removal of an asynchronous call in favor of issues  550
  * Big editing of documentation and minor bugs 534

0.16.0

^^^^^^^^^^^^^^^^^^^
  
  * Fix select priority name `525 <https://github.com/aio-libs/aiopg/issues/525>`_
  
  * Rename `psycopg2` to `psycopg2-binary` to fix deprecation warning `507 <https://github.com/aio-libs/aiopg/issues/507>`_
  
  * Fix `189 <https://github.com/aio-libs/aiopg/issues/189>`_ hstore when using ReadDictCursor `512 <https://github.com/aio-libs/aiopg/issues/512>`_
  
  * close cannot be used while an asynchronous query is underway `452 <https://github.com/aio-libs/aiopg/issues/452>`_
  
  * sqlalchemy adapter trx begin allow transaction_mode `498 <https://github.com/aio-libs/aiopg/issues/498>`_

0.15.0

^^^^^^^^^^^^^^^^^^^
  
  * Support Python 3.7 `437 <https://github.com/aio-libs/aiopg/issues/437>`_

0.14.0

^^^^^^^^^^^^^^^^^^^
  
  * Add ``get_dialect`` func to have ability to pass ``json_serializer`` `451 <https://github.com/aio-libs/aiopg/issues/451>`_

0.13.2

^^^^^^^^^^^^^^^^^^^
  
  * Fixed compatibility with SQLAlchemy 1.2.0 `412 <https://github.com/aio-libs/aiopg/issues/412>`_
  
  * Added support for transaction isolation levels `219 <https://github.com/aio-libs/aiopg/issues/219>`_

0.13.1

^^^^^^^^^^^^^^^^^^^
  
  * Added connection poll recycling logic `373 <https://github.com/aio-libs/aiopg/issues/373>`_

0.13.0

^^^^^^^^^^^^^^^^^^^
  
  * Add `async with` support to `.begin_nested()` `208 <https://github.com/aio-libs/aiopg/issues/208>`_
  
  * Fix connection.cancel() `212 <https://github.com/aio-libs/aiopg/issues/212>`_ `223 <https://github.com/aio-libs/aiopg/issues/223>`_
  
  * Raise informative error on unexpected connection closing `191 <https://github.com/aio-libs/aiopg/issues/191>`_
  
  * Added support for python types columns issues `217 <https://github.com/aio-libs/aiopg/issues/217>`_
  
  * Added support for default values in SA table issues `206 <https://github.com/aio-libs/aiopg/issues/206>`_

0.12.0

^^^^^^^^^^^^^^^^^^^
  
  * Add an on_connect callback parameter to pool `141 <https://github.com/aio-libs/aiopg/issues/141>`_
  
  * Fixed connection to work under both windows and posix based systems `142 <https://github.com/aio-libs/aiopg/issues/142>`_

0.11.0

^^^^^^^^^^^^^^^^^^^
  
  * Immediately remove callbacks from a closed file descriptor `139 <https://github.com/aio-libs/aiopg/issues/139>`_
  
  * Drop Python 3.3 support

0.10.0

^^^^^^^^^^^^^^^^^^^
  
  * Refactor tests to use dockerized Postgres server `107 <https://github.com/aio-libs/aiopg/issues/107>`_
  
  * Reduce default pool minsize to 1 `106 <https://github.com/aio-libs/aiopg/issues/106>`_
  
  * Explicitly enumerate packages in setup.py `85 <https://github.com/aio-libs/aiopg/issues/85>`_
  
  * Remove expired connections from pool on acquire `116 <https://github.com/aio-libs/aiopg/issues/116>`_
  
  * Don't crash when Connection is GC'ed `124 <https://github.com/aio-libs/aiopg/issues/124>`_
  
  * Use loop.create_future() if available

0.9.2

^^^^^^^^^^^^^^^^^^
  
  * Make pool.release return asyncio.Future, so we can wait on it in
  `__aexit__` `102 <https://github.com/aio-libs/aiopg/issues/102>`_
  
  * Add support for uuid type `103 <https://github.com/aio-libs/aiopg/issues/103>`_

0.9.1

^^^^^^^^^^^^^^^^^^
  
  * Documentation update `101 <https://github.com/aio-libs/aiopg/issues/101>`_

0.9.0

^^^^^^^^^^^^^^^^^^
  
  * Add async context managers for transactions `91 <https://github.com/aio-libs/aiopg/issues/91>`_
  
  * Support async iterator in ResultProxy `92 <https://github.com/aio-libs/aiopg/issues/92>`_
  
  * Add async with for engine `90 <https://github.com/aio-libs/aiopg/issues/90>`_

0.8.0

^^^^^^^^^^^^^^^^^^
  
  * Add PostgreSQL notification support `58 <https://github.com/aio-libs/aiopg/issues/58>`_
  
  * Support pools with unlimited size `59 <https://github.com/aio-libs/aiopg/issues/59>`_
  
  * Cancel current DB operation on asyncio timeout `66 <https://github.com/aio-libs/aiopg/issues/66>`_
  
  * Add async with support for Pool, Connection, Cursor `88 <https://github.com/aio-libs/aiopg/issues/88>`_

0.7.0

^^^^^^^^^^^^^^^^^^
  
  * 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()`.

0.6.0

^^^^^^^^^^^^^^^^^^
  
  * Accept dict, list, tuple, named and positional parameters in
  `SAConnection.execute()`

0.5.2

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

0.5.1

^^^^^^^^^^^^^^^^^^
  
  * Fix a bug for processing transactions in line.

0.5.0

^^^^^^^^^^^^^^^^^^
  
  * Add .terminate() to Pool and Engine
  
  * Reimplement connection pool (now pool size cannot be greater than pool.maxsize)
  
  * Add .close() and .wait_closed() to Pool and Engine
  
  * Add minsize, maxsize, size and freesize properties to sa.Engine
  
  * Support *echo* parameter for logging executed SQL commands
  
  * Connection.close() is not a coroutine (but we keep backward compatibility).

0.4.1

^^^^^^^^^^^^^^^^^^
  
  * make cursor iterable
  
  * update docs

0.4.0

^^^^^^^^^^^^^^^^^^
  
  * add timeouts for database operations.
  
  * Autoregister psycopg2 support for json data type.
  
  * Support JSON in aiopg.sa
  
  * Support ARRAY in aiopg.sa
  
  * Autoregister hstore support if present in connected DB
  
  * Support HSTORE in aiopg.sa

0.3.2

^^^^^^^^^^^^^^^^^^
  
  * change signature to cursor.execute(operation, parameters=None) to
  follow psycopg2 convention.

0.3.1

^^^^^^^^^^^^^^^^^^
  
  * Forward arguments to cursor constructor for pooled connections.

0.3.0

^^^^^^^^^^^^^^^^^^
  
  * Allow executing SQLAlchemy DDL statements.
  
  * Fix bug with race conditions on acquiring/releasing connections from pool.

0.2.3

^^^^^^^^^^^^^^^^^^
  
  * Fix bug in connection pool.

0.2.2

^^^^^^^^^^^^^^^^^^
  
  * Fix bug with passing parameters into SAConnection.execute when
  executing raw SQL expression.

0.2.1

^^^^^^^^^^^^^^^^^^
  
  * Close connection with invalid transaction status on returning to pool.

0.2.0

^^^^^^^^^^^^^^^^^^
  
  * Implemented optional support for sqlalchemy functional sql layer.

0.1.0

^^^^^^^^^^^^^^^^^^
  
  * Implemented plain connections: connect, Connection, Cursor.
  
  * Implemented database pools: create_pool and Pool.