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 issuing SELECT 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