Peewee v2.4.6 Release Notes

  • ๐Ÿ“š This is a relatively small release with mostly bug fixes and updates to the documentation. The one new feature I'd like to highlight is the ManyToManyField (docs).

    ๐Ÿ› Bugs fixed

    • ๐Ÿ›  #503, fixes behavior of aggregate_rows() when used with a CompositeKey.
    • ๐Ÿ›  #498, fixes value coercion for field aliases.
    • ๐Ÿ›  #492, fixes bug with pwiz and composite primary keys.
    • #486, correctly handle schemas with reflection module.

    ๐Ÿ†• New features

    • โœ… Peewee has a new ManyToManyField available in the playhouse.shortcuts module.
    • Peewee now has proper support for NOT IN queries through the Node.not_in() method.
    • ๐Ÿ‘ Models now support iteration. This is equivalent to Model.select().

    View commits