Subject: CVS commit: pkgsrc/databases/py-peewee
From: Adam Ciarcinski
Date: 2018-07-04 05:56:46
Message id: 20180704035646.F1FC1FB3E@cvs.NetBSD.org

Log Message:
py-peewee: updated to 3.5.2

3.5.2:

New guide to using window functions in Peewee.
New and improved table name auto-generation. This feature is not backwards \ 
compatible, so it is disabled by default. To enable, set \ 
legacy_table_names=False in your model's Meta options. For more details, see \ 
table names documentation.
Allow passing single fields/columns to window function order_by and partition_by \ 
arguments.
Support for FILTER (WHERE...) clauses with window functions and aggregates.
Added IdentityField class suitable for use with Postgres 10's new identity \ 
column type. It can be used anywhere AutoField or BigAutoField was being used \ 
previously.
Fixed bug creating indexes on tables that are in attached databases (SQLite).
Fixed obscure bug when using prefetch() and ModelAlias to populate a \ 
back-reference related model.

3.5.1:

New features
------------
New documentation for working with relationships in Peewee.
Improved tests and documentation for MySQL upsert functionality.
Allow database parameter to be specified with ModelSelect.get() method.
Add QualifiedNames helper to peewee module exports.
Add temporary= meta option to support temporary tables.
Allow a Database object to be passed to constructor of DataSet helper.

Bug fixes
---------
Fixed edge-case where attempting to alias a field to it's underlying column-name \ 
(when different), Peewee would not respect the alias and use the field name \ 
instead.
Raise a ValueError when joining and aliasing the join to a foreign-key's \ 
object_id_name descriptor. Should prevent accidentally introducing O(n) queries \ 
or silently ignoring data from a joined-instance.
Fixed bug for MySQL when creating a foreign-key to a model which used the \ 
BigAutoField for it's primary-key.
Fixed bugs in the implementation of user-defined aggregates and extensions with \ 
the APSW SQLite driver.
Fixed regression introduced in 3.5.0 which ignored custom Model __repr__().
Fixed regression from 2.x in which inserting from a query using a SQL() was no \ 
longer working.

Files:
RevisionActionfile
1.41modifypkgsrc/databases/py-peewee/Makefile
1.16modifypkgsrc/databases/py-peewee/PLIST
1.38modifypkgsrc/databases/py-peewee/distinfo