Peewee v2.1.5 Release Notes
-
Summary of new features
- โ
Rewrote the
playhouse.postgres_ext.ServerSideCursor
helper to work with a single query. Docs. - Added error handler hook to the database class, allowing your code to choose how to handle errors executing SQL. Docs.
- ๐ Allow arbitrary attributes to be stored in
Model.Meta
a5e13bb26d6196dbd24ff228f99ff63d9c046f79. - ๐ Support for composite primary keys (!!). How-to and API docs.
- โ Added helper for generating
CASE
expressions. Docs. - ๐ Allow the table alias to be specified as a model
Meta
option. - โ Added ability to specify
NOWAIT
when issuingSELECT FOR UPDATE
queries.
๐ Bug fixes
- #147, SQLite auto-increment behavior.
- #222
- ๐ #223, missing call to
execute()
in docs. - #224, python 3 compatibility fix.
- #227, was using wrong column type for boolean with MySQL.
Commits: https://github.com/coleifer/peewee/compare/2.1.4...2.1.5 ๐ Released 2013-10-19
- โ
Rewrote the