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 appropriateFieldAlias
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 theplayhouse.db_url
module. Thanks @stt! - โ Added hacks section to the docs. Please contribute your hacks!
Backwards-incompatible changes
- Calls to
Node.in_()
andNode.not_in()
do not take*args
anymore and instead take a single argument.
- ๐ #566, fixed a bug regarding parentheses around compound