Databases

Latest version: v0.9.0

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

Scan your dependencies

Page 3 of 3

0.4.2

Fixed

* Fix memory leak with asyncpg for SQLAlchemy generic functions ([273][273])

[273]: https://github.com/encode/databases/pull/273

0.4.1

Fixed

* Remove package dependency on the synchronous DB drivers ([256][256])

[256]: https://github.com/encode/databases/pull/256

0.4.0

Added

* Use backend native fetch_val() implementation when available ([132][132])
* Replace psycopg2-binary with psycopg2 ([204][204])
* Speed up PostgresConnection fetch() and iterate() ([193][193])
* Access asyncpg Record field by key on raw query ([207][207])
* Allow setting min_size and max_size in postgres DSN ([210][210])
* Add option pool_recycle in postgres DSN ([233][233])
* Allow extra transaction options ([242][242])

[132]: https://github.com/encode/databases/pull/132
[204]: https://github.com/encode/databases/pull/204
[193]: https://github.com/encode/databases/pull/193
[207]: https://github.com/encode/databases/pull/207
[210]: https://github.com/encode/databases/pull/210
[233]: https://github.com/encode/databases/pull/233
[242]: https://github.com/encode/databases/pull/242

Fixed

* Fix type hinting for sqlite backend ([227][227])
* Fix SQLAlchemy DDL statements ([226][226])
* Make fetch_val call fetch_one for type conversion ([246][246])
* Unquote username and password in DatabaseURL ([248][248])

[227]: https://github.com/encode/databases/pull/227
[226]: https://github.com/encode/databases/pull/226
[246]: https://github.com/encode/databases/pull/246
[248]: https://github.com/encode/databases/pull/248

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.