Peewee v2.5.1 Release Notes

  • ๐Ÿ›  This is a relatively small release with a few important bugfixes.

    ๐Ÿ› Bugs fixed

    • ๐Ÿ›  #566, fixed a bug regarding parentheses around compound SELECT queries (i.e. UNION, INTERSECT, etc).
    • ๐Ÿ›  Fixed unreported bug where table aliases were not generated correctly for compound SELECT queries.
    • #559, add option to preserve original column order with pwiz. Thanks @elgow!
    • ๐Ÿ›  Fixed unreported bug where selecting all columns from a ModelAlias does not use the appropriate FieldAlias objects.

    ๐Ÿ†• New features

    • #561, added an option for bulk insert queries to return the list of auto-generated primary keys. See docs for InsertQuery.return_id_list.
    • ๐Ÿ“œ #569, added parse function to the playhouse.db_url module. Thanks @stt!
    • โž• Added hacks section to the docs. Please contribute your hacks!

    Backwards-incompatible changes

    • Calls to Node.in_() and Node.not_in() do not take *args anymore and instead take a single argument.

    View commits