pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/py-peewee



Module Name:    pkgsrc
Committed By:   fhajny
Date:           Thu Oct  8 12:59:13 UTC 2015

Modified Files:
        pkgsrc/databases/py-peewee: Makefile PLIST distinfo

Log Message:
Update databases/py-peewee to 2.6.4.

Bugs fixed
- fixed a bug with the Cython speedups not being included
  in package.
- documented how to create models with no primary key.
- allow bare INSERT statements.
- regarding foreign key / one-to-one relationships.
- allow ArrayField to accept tuples in addition to lists.
- fix regarding unsaved relations.
- refactored QueryResultWrapper to allow multiple independent
  iterations over the same underlying result cache.
- fix bug with multiple joins to same table + eager loading.
- fix bug when connection fails while using an execution context.
- use correct column names with non-standard django foreign keys.
- return datetime.time instead of timedelta for MySQL time fields.
- fixed SQLite migrator regular expressions. Thanks @sroebert.

New features
- added support for RETURNING clauses. Update, Insert and Delete
  queries can now be called with RETURNING to retrieve the rows
  that were affected.
- added web request hook docs.
- allowed arbitrary model attributes and methods to be serialized
  by model_to_dict(). Docs.
- allow model_to_dict() to introspect query for which fields
  to serialize.
- Added backend-agnostic truncate_date() implementation.
- Added a FixedCharField which uses column type CHAR.
- Added support for arbitrary PRAGMA statements to be run on new
  SQLite connections. Docs.
- Removed berkeley_build.sh script. See instructions on my blog
  instead.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/databases/py-peewee/Makefile \
    pkgsrc/databases/py-peewee/PLIST pkgsrc/databases/py-peewee/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index