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 aCompositeKey
. - #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()
.