Psycopg

Latest version: v3.2.3

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

Scan your dependencies

Page 7 of 8

3.0.6

^^^^^^^^^^^^^

- Allow to use `Cursor.description` if the connection is closed
(:ticket:`172`).
- Don't raise exceptions on `ServerCursor.close()` if the connection is closed
(:ticket:`173`).
- Fail on `Connection.cursor()` if the connection is closed (:ticket:`174`).
- Raise `ProgrammingError` if out-of-order exit from transaction contexts is
detected (:tickets:`176, 177`).
- Add `!CHECK_STANDBY` value to `~pq.ConnStatus` enum.

3.0.5

^^^^^^^^^^^^^

- Fix possible "Too many open files" OS error, reported on macOS but possible
on other platforms too (:ticket:`158`).
- Don't clobber exceptions if a transaction block exit with error and rollback
fails (:ticket:`165`).

3.0.4

^^^^^^^^^^^^^

- Allow to use the module with strict strings comparison (:ticket:`147`).
- Fix segfault on Python 3.6 running in ``-W error`` mode, related to
`!backport.zoneinfo` (:ticket:`109`).
<https://github.com/pganssle/zoneinfo/issues/109>`__.
- Build binary package with libpq versions not affected by `CVE-2021-23222
<https://www.postgresql.org/support/security/CVE-2021-23222/>`__
(:ticket:`149`).

3.0.3

Not secure
^^^^^^^^^^^^^

- Release musllinux binary packages, compatible with Alpine Linux
(:ticket:`141`).
- Reduce size of binary package by stripping debug symbols (:ticket:`142`).
- Include typing information in the `!psycopg_binary` package.

3.0.2

Not secure
^^^^^^^^^^^^^

- Fix type hint for `sql.SQL.join()` (:ticket:`127`).
- Fix type hint for `Connection.notifies()` (:ticket:`128`).
- Fix call to `MultiRange.__setitem__()` with a non-iterable value and a
slice, now raising a `TypeError` (:ticket:`129`).
- Fix disable cursors methods after close() (:ticket:`125`).

3.0.1

Not secure
^^^^^^^^^^^^^

- Fix use of the wrong dumper reusing cursors with the same query but different
parameter types (:ticket:`112`).

Page 7 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.