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's Meta options. For more details, see table names documentation.
    • ๐Ÿ‘ Allow passing single fields/columns to window function order_by and partition_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 anywhere AutoField or BigAutoField was being used previously.
    • ๐Ÿ›  Fixed bug creating indexes on tables that are in attached databases (SQLite).
    • ๐Ÿ›  Fixed obscure bug when using prefetch() and ModelAlias to populate a back-reference related model.

    View commits