Hello,
I have released psycopg 3.2.10. There hadn't been releases for a few
months so this one packs a long list of bug fixes!
https://www.psycopg.org/psycopg3/docs/news.html#psycopg-3-2-10
There was some slight change in behaviour on receiving notifications:
it turns out that it's difficult to maintain receiving notifications
reliably both via handlers and via a generator, therefore we now
deprecate using the two together on the same connection. More details
in this documentation section:
<https://www.psycopg.org/psycopg3/docs/advanced/async.html#asynchronous-notifications>.
We have also made the decision of disabling the default gss encoding
that the libpq proposes. The rationale is that GSSAPI client libraries
have proven to be unreliable on most platforms (with connection
slowdowns or segfaults reported on Linux, macOS, WIndows, a rare case
of good portability) and these problems mostly affect people who
*don't* use GSSAPI.
In the current bugfix release we only raise a warning if we detect
that a connection has been obtained via GSSAPI *without the user
asking for it explicitly* (hence relying on the `gssencmode=prefer`
libpq default). Starting from (likely) Psycopg 3.3 we will change the
libpq default in the binary package to `gssencmode=disable`. Client
needing a GSSAPI connection will want to specify
`gssencmode={prefer|require}` on their connection string.
Thank you very much, happy hacking!
-- Daniele