pypi peewee 4.5.3

5 hours ago
  • JSON path keys on Postgres are rendered inline (data->>'key', '{"a","b"}'::text[]) instead of as bound parameters, so GROUP BY and ORDER BY on a JSON lookup work under psycopg3, which binds each as a distinct parameter.
  • Cast() etc over a python value no longer break result row processing.
  • A write query with a RETURNING clause now runs again on every explicit execute() call (like a write query without one). Iterating the query still reads the result of the last execution. Previously, repeated execute() calls returned the cached result without running the query.
  • Fix regression in model select .exists(), #3086.

View commits

Don't miss a new peewee release

NewReleases is sending notifications on new releases.