Releases: aio-libs/aiopg
Releases · aio-libs/aiopg
aiopg 0.5.0
Major release 0.5
Pool reimplemented to never exceed pool max size.
Added method to close/terminate pool and engine and wait for closing.
Full list of changes:
- 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).
Release 0.4.1
Minor release.
-
Documentation updated
-
aiopg.cursor instances are iterable now, you can fetch SELECT results in the following way:
yield from cur.execute("SELECT * FROM tbl")
for item in cur:
process_item(item)
Release 0.4.0
I proud to announce new aiopg release 0.4.0.
This is major release, I highly recommend to switch on it.
The main features are:
- support for JSON and HSTORE PostgreSQL types
- accepting extended SqlAlchemy types (with proper conversions) as input parameter for SELECT/INSERT/UPDATE etc.
- added timeouts for SQL queries
aiopg 0.2.3 has been released
This is bugfix release intended to fix a bug in connection pool implementation (see #14).
You can find the documentation here:
http://aiopg.readthedocs.org/en/0.2/
Latest version is also available on Pypi: