- update to 3.18.1:
* 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()`
* Add options to URL-unquote user and password when using the
`db_url` helpers
* Support using `postgresql://` URLs when connecting to
psycopg3.
OBS-URL: https://build.opensuse.org/request/show/1274716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=34
* 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()`
* Add options to URL-unquote user and password when using the
`db_url` helpers
* Support using `postgresql://` URLs when connecting to
psycopg3.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=68
- update to 3.17.6:
* Fix bug in recursive `model.delete_instance()` when a table
contains foreign-keys at multiple depths of the graph
* Fix regression in pool behavior on systems where
`time.time()` returns identical values for two connections.
This adds a no-op comparable sentinel to the heap to prevent
any recurrence of this problem.
* Ensure that subqueries inside `CASE` statements generate
correct SQL.
* Fix regression that broke server-side cursors with Postgres
* Fix to ensure compatibility with psycopg3 - the libpq
TransactionStatus constants are no longer available on the
`Connection` instance.
* Fix quoting issue in pwiz that could generate invalid python
code for double-quoted string literals used as column defaults.
OBS-URL: https://build.opensuse.org/request/show/1198059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-peewee?expand=0&rev=29
* Fix bug in recursive `model.delete_instance()` when a table
contains foreign-keys at multiple depths of the graph
* Fix regression in pool behavior on systems where
`time.time()` returns identical values for two connections.
This adds a no-op comparable sentinel to the heap to prevent
any recurrence of this problem.
* Ensure that subqueries inside `CASE` statements generate
correct SQL.
* Fix regression that broke server-side cursors with Postgres
* Fix to ensure compatibility with psycopg3 - the libpq
TransactionStatus constants are no longer available on the
`Connection` instance.
* Fix quoting issue in pwiz that could generate invalid python
code for double-quoted string literals used as column defaults.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=58