github coleifer/peewee 2.4.0

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

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

Don't miss a new peewee release

NewReleases is sending notifications on new releases.