Peewee v2.4.0 Release Notes

  • ๐Ÿš€ This release contains a number of enhancements to the playhouse collection of extensions.

    Backwards-incompatible changes

    ๐Ÿšš As of 2.4.0, most of the introspection logic was moved out of the pwiz module and into playhouse.reflection.

    ๐Ÿ†• New features

    • Created a new reflection extension for introspecting databases. The reflection module additionally can generate actual peewee Model classes dynamically.
    • โœ… Created a dataset library (based on the SQLAlchemy project of the same name). For more info check out the blog post announcing playhouse.dataset.
    • โž• Added a db_url module which creates Database objects from a connection string.
    • โž• Added csv dump functionality to the CSV utils extension.
    • โž• Added an atomic context manager to support nested transactions.
    • โž• Added support for HStore, JSON and TSVector to the reflection module.
    • ๐Ÿ“š More documentation updates.

    ๐Ÿ› Bugs fixed

    • ๐Ÿ›  Fixed #440, which fixes a bug where Model.dirty_fields did not return an empty set for some subclasses of QueryResultWrapper.

    View commits