Magicstack

Latest version: v0.5.0a1

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

0.11.0

Backwards Incompatible Changes

* Make `timeout` param of `executemany()` a keyword-only kwarg.
(by 1st1 in bb326fc0)

* Prohibit passing non-string instances as text arguments to queries.
(by elprans in ccc5f7a5)


New Features

* Add support for COPY IN.
(by elprans in 10d95d43 for 123)

* Add support for COPY OUT.
(by elprans and 1st1 in 5662d9f5 for 21)


Bug Fixes

* Refactor args parsing and config management for `connect()` and
`create_pool()`.
(by 1st1 in f280a566)

* Fix cancellation code to correctly ensure proper state of the waiter.
(by 1st1 in 0a491302)

* support postgres-xl version
(by songjy in ffb89592)

* Fix erroneous codec cache invalidation on internal codec aliasing.
(by elprans in df64f554 for 133)

* Fix potential segfault in text array decoder.
(by elprans in bbd116be)

* Limit max number of arguments (closes 127).
(by 1st1 in 128910e4 for 127)


Documentation

* Expand usage documentation, add FAQ.
(by elprans in e4bef17f)

0.10.1

New features

* Add new Connection parameter: `max_cacheable_statement_size`.
(by 1st1 in b1f87ebe for 115)


Bug fixes

* Require `command_timeout` argument of `connect()` be greater than 0.
(by 1st1 in 7b7ce990)

* Fix SSL support in connection pool.
(by elprans in b89fb458 for 119)

* Make timeout in connect() consistent.
(by 1st1 in 1d8f5cf1 for 117)

0.10.0

New features

* Add support for SSL connections.
(by 1st1 in 5836a8fc for 25)

* Add `max_cached_statement_lifetime` parameter to `asyncpg.connect()`.
(by 1st1 in 10955fdd for 76)

* Add `max_inactive_connection_lifetime` parameter to `asyncpg.create_pool()`.
(by 1st1 in a2935aed)

* Expose some of `Connection` methods directly on the Pool object.
(by 1st1 in 1b3a847c for 39)

* Allow overriding codecs for builtin types on a connection.
(by elprans in 71de129b for 73)

* Add support for the text I/O fallback for arrays of unknown types.
(by elprans in a2e53ab0 for 82)

* Make the `Record` type available as `asyncpg.Record`.
(by elprans in d42608f9 for 93)

* pool: Track connections and prohibit using them after release.
(by 1st1 in 3bf6103e)

* Rollback any active transactions in `Connection.reset()`.
(by 1st1 in 0d19d962)

* Invalidate statement cache on schema changes affecting statement result.
(by elprans in 749d857a for 72)

* Use anonymous prepared statements when the cache is off.
(by 1st1 in a3e9cb45 for 76)

* Raise an error if connection is used after being closed.
(by 1st1 in 5ddd7fc9)

* Add Amazon Redshift detection.
(by elprans in 4fdc1dbc for 29)

* Add rudimentary server capability detection.
(by elprans in e8bb3dc0 for 87)


Bug fixes

* Handle exceptions in generators passed to `Connection.executemany()`.
(by elprans in 8d17eccb for 85)

* Shield `Pool.release()` from task cancellation.
(by elprans in 537c8c9f for 97)

* Fix inclusion of `DETAIL` and `HINT` in Postgres messages.
(by elprans in 2e346c12)

* Implement conistent handling of timeouts.
(by elprans in 1674dece)

* Make `timeout` arg of `Connection.executemany()` a keyword-only arg.
(by 1st1 in 424760d3)

0.8.4

0.8.3

Elvis Pranskevichus (9):
- Increase pool.acquire timeout in tests to avoid failures on Travis
- Silence a few -Wmaybe-uninitialized warnings
- Increase test timeouts
- Attempt to fix spurious failures of test_auth_reject on Windows
- Use ssize_t for buffer sizes consistently
- Add infrastructure for multiformat data codecs
- Implement text array decoder (60)
- ci: Make sure wheel builds on macOS start from a clean slate (61)

Vitaly Burovoy (3):
- Make TYPEMAP be stable and avoid extra endline at the end of pgtypes.pxi
- Make error message be the same as in the "_get_array_shape" function.
- Add codec tests for "aclitem[]" type

0.8.1

Elvis Pranskevichus (7):
- Fix Connection.reset() on read-only connections (48)
- Add compatibility with PostgreSQL server versions 9.1-9.3
- travis: Test on all available PostgreSQL versions
- travis: Also build on Python 3.6
- Fix setup.py metadata and README rst issues
- ci: Switch to staged release process
- travis: Fix documentation deploy on tagged builds (52)

Lele Gaifax (1):
- Fix typo in API documentation

Yury Selivanov (2):
- cython: Make async def coroutines awaitable in cythonized coroutines
- connection: Fix waiter wakeup code in _cancel_current_command

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.