github coleifer/peewee 3.18.0

latest releases: 3.18.2, 3.18.1, 3.18.0.post1...
4 months ago

The behavior of postgresql_ext.BinaryJSONField.contains() has changed.
Previously, passing a string to this method would perform a JSON key exists
check (? operator) instead of JSON contains (@> operator). As of 3.18.0,
this special-case has been removed and the contains() method always uses
the JSONB contains operator (@>). For the old behavior of checking
whether a key exists, use the BinaryJSONField.has_key() method. See #2984 for
discussion.

  • Add options to URL-unquote user and password when using the db_url helpers, see #2974 for discussion.
  • Support using postgresql:// URLs when connecting to psycopg3.

View commits

Don't miss a new peewee release

NewReleases is sending notifications on new releases.