]> git.ipfire.org Git - thirdparty/psycopg.git/tag
3.1.10
object 8d2ba2d7587116b65911cdccdf24af0413f17865
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 5 Aug 2023 10:06:27 +0000 (11:06 +0100)
Psycopg 3.1.10 released

- Allow JSON dumpers to dump `bytes` directly instead of `str`,
  for better compatibility with libraries like orjson and msgspec
  (:ticket:`#569`)
- Fix prepared statement cache validation when exiting pipeline mode (or
  `~Cursor.executemany()`) in case an error occurred within the pipeline
  (:ticket:`#585`).
- Fix `connect()` to avoid "leaking" an open `~pq.PGconn` attached to the
  `OperationalError` in case of connection failure. `Error.pgconn` is now a
  shallow copy of the real libpq connection, and the latter is closed before
  the exception propagates (:ticket:`#565`).
- Fix possible (ignored) exception on objects deletion (:ticket:`#591`).
- Don't clobber a Python exception raised during COPY FROM with the resulting
  `!QueryCanceled` raised as a consequence (:ticket:`#593`).
- Fix resetting `Connection.read_only` and `~Connection.deferrable` to their
  default value using `!None` (:ticket:`#612`).
- Add support for Python 3.12.
-----BEGIN PGP SIGNATURE-----

iQFPBAABCgA5FiEEitYJlWzxiZQY4ZqFYBO9Ovz5V94FAmTOHzAbHGRhbmllbGUu
dmFycmF6em9AZ21haWwuY29tAAoJEGATvTr8+VfeIEQIAJIbx+YQZM6pd8aHF3xe
QjpN+4/T2qNwHGKLL39fjDLTuabKcE86S13E0IoAL1wDKQUtpJcJkgmSUqiOyclK
uZFgW/b5b/oGPCJlkWbz40D7HNXuscLWkUzUtbG4JdeSC2k9pOaHgZv9Dmja8pn9
L6i631oTqH1+hTSdf+TdLQ6x/q2emMjWNjXcLH7liQAqsEh3RudaW4/N5D9+UBa4
pRNaswFFObqPb/A25ym8upfbAEisgBtTmzqNgl9EQub0kuflUr5T1e9Nsdny3YcD
1Pl2wuK/QYYpBqgVlG6w3rYGFRjr32Wnm0NIvRsnr4qcZiGZMQfHAxprJ+dNxcMJ
aYE=
=agIW
-----END PGP SIGNATURE-----