github coleifer/peewee 2.5.1

latest releases: 3.14.10, 3.14.9, 3.14.8...
9 years ago

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

Don't miss a new peewee release

NewReleases is sending notifications on new releases.