Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 469AAA654B for ; Tue, 7 Apr 2015 09:51:53 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id DC85B14A187; Tue, 7 Apr 2015 09:51:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 61EE714A183 for ; Tue, 7 Apr 2015 09:51:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id o3TCCWUUUOma for ; Tue, 7 Apr 2015 09:51:44 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 720D914A150 for ; Tue, 7 Apr 2015 09:51:44 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 6680398; Tue, 7 Apr 2015 09:51:44 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 7 Apr 2015 09:51:44 +0000 From: "Filip Hajny" Subject: CVS commit: pkgsrc/databases/py-peewee To: pkgsrc-changes@NetBSD.org Reply-To: fhajny@netbsd.org X-Mailer: log_accum Message-Id: <20150407095144.6680398@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: fhajny Date: Tue Apr 7 09:51:44 UTC 2015 Modified Files: pkgsrc/databases/py-peewee: Makefile PLIST distinfo Log Message: Update py-peewee to 2.5.1. 2.5.1 - #566, fixed a bug regarding parentheses around compound SELECT queries (i.e. UNION, INTERSECT, etc). - Fixed unreported bug where table aliases were not generated correctly for compound SELECT queries. - #559, add option to preserve original column order with pwiz. Thanks @elgow! - Fixed unreported bug where selecting all columns from a ModelAlias does not use the appropriate FieldAlias objects. - #561, added an option for bulk insert queries to return the list of auto-generated primary keys. See docs for InsertQuery.return_id_list. - #569, added parse function to the playhouse.db_url module. Thanks @stt! - Added hacks section to the docs. Please contribute your hacks! - Calls to Node.in_() and Node.not_in() do not take *args anymore and instead take a single argument. 2.5.0 - #534, CSV utils was erroneously stripping the primary key from CSV data. - #537, fix upserts when using insert_many. - #541, respect autorollback with PostgresqlExtDatabase. Thanks @davidmcclure. - #551, fix for QueryResultWrapper's implementation of the iterator protocol. - #554, allow SQLite journal_mode to be set at run-time. - Fixed case-sensitivity issue with DataSet. - Added support for CAST expressions. - Added a hook for extending Node with custom methods. - JOIN_ became JOIN., e.g. .join(JOIN.LEFT_OUTER). - OP_ became OP.. - #556, allowed using + and - prefixes to indicate ascending/descending ordering. - #550, added Database.initialize_connection() hook. - #549, bind selected columns to a particular model. Thanks @jhorman, nice PR! - #531, support for swapping databases at run-time via Using. - #530, support for SQLCipher and Python3. - New RowIDField for sqlite_ext playhouse module. This field can be used to interact with SQLite rowid fields. - Added LateralJoin helper to the postgres_ext playhouse module. 2.4.7 - #504, Docs updates. - #506, Fixed regression in aggregate_rows() - #510, Fixes bug in pwiz overwriting columns. - #514, Correctly cast foreign keys in prefetch(). - #515, Simplifies queries issued when doing recursive deletes. - #516, Fix cloning of Field objects. - #519, Aggregate rows now correctly preserves ordering of joined instances. - Unreported, fixed bug to not leave expired connections sitting around in the pool. - Added support for Postgresql's jsonb type with BinaryJSONField. - Add some basic Flask helpers. - Add support for UNION ALL queries in #512 - Add SqlCipherExtDatabase, which combines the sqlcipher database with the sqlite extensions. - Add option to print metadata when generating code with pwiz. 2.4.6 - #503, fixes behavior of aggregate_rows() when used with a CompositeKey. - #498, fixes value coercion for field aliases. - #492, fixes bug with pwiz and composite primary keys. - #486, correctly handle schemas with reflection module. - Peewee has a new ManyToManyField available in the playhouse.shortcuts module. - Peewee now has proper support for NOT IN queries through the Node.not_in() method. - Models now support iteration. This is equivalent to Model.select(). 2.4.5 - #471, #482 and #484, all of which had to do with how joins were handled by the aggregate_rows() query result wrapper. - #472 removed some needless special-casing in Model.save(). - #466 fixed case-sensitive issues with the SQLite migrator. - #474 fixed a handful of bugs that cropped up migrating foreign keys with SQLite. - #475 fixed the behavior of the SQLite migrator regarding auto-generated indexes. - #479 fixed a bug in the code that stripped extra parentheses in the SQL generator. - Fixed a handful of bugs in the APSW extension. - Added connection abstraction called ExecutionContext (see docs). - Made all context managers work as decorators (atomic, transaction, savepoint, execution_context). - Added explicit methods for IS NULL and IS NOT NULL queries. The latter was actually necessary since the behavior is different from NOT IS NULL (...). - Allow disabling backref validation (#465) - Made quite a few improvements to the documentation, particularly sections on transactions. - Added caching to the DataSet extension, which should improve performance. - Made the SQLite migrator smarter with regards to preserving indexes when a table copy is necessary. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 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.