Peewee v3.5.2 Release Notes
-
- ๐ New guide to using window functions in Peewee.
- ๐ New and improved table name auto-generation. This feature is not backwards
compatible, so it is disabled by default. To enable, set
legacy_table_names=False
in your model'sMeta
options. For more details, see table names documentation. - ๐ Allow passing single fields/columns to window function
order_by
andpartition_by
arguments. - ๐ Support for
FILTER (WHERE...)
clauses with window functions and aggregates. - โ Added
IdentityField
class suitable for use with Postgres 10's new identity column type. It can be used anywhereAutoField
orBigAutoField
was being used previously. - ๐ Fixed bug creating indexes on tables that are in attached databases (SQLite).
- ๐ Fixed obscure bug when using
prefetch()
andModelAlias
to populate a back-reference related model.