From 04e003dc3d872c4a1a342cf2a43af4607818a7e3 Mon Sep 17 00:00:00 2001 From: Charles Leifer Date: Fri, 5 Oct 2018 15:49:14 -0500 Subject: [PATCH] 3.7.1 --- CHANGELOG.md | 22 +++++++++++++++++++++- peewee.py | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 84f18c462..bc24bca4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,18 @@ https://github.com/coleifer/peewee/releases ## master +[View commits](https://github.com/coleifer/peewee/compare/3.7.1...master) + +## 3.7.1 + +**New features** + +* Added `table_settings` model `Meta` option, which should be a list of strings + specifying additional options for `CREATE TABLE`, which are placed *after* + the closing parentheses. +* Allow specification of `on_update` and `on_delete` behavior for many-to-many + relationships when using `ManyToManyField`. + **Bugfixes** * Fixed incorrect SQL generation for Postgresql ON CONFLICT clause when the @@ -14,10 +26,18 @@ https://github.com/coleifer/peewee/releases introduces a new keyword-argument to the `on_conflict()` method: `conflict_constraint`, which is currently only supported by Postgresql. Refs issue #1737. +* Fixed incorrect SQL for sub-selects used on the right side of `IN` + expressions. Previously the query would be assigned an alias, even though an + alias was not needed. * Fixed incorrect SQL generation for Model indexes which contain SQL functions as indexed columns. +* Fixed bug in the generation of special queries used to perform operations on + SQLite FTS5 virtual tables. +* Allow `frozenset` to be correctly parameterized as a list of values. +* Allow multi-value INSERT queries to specify `columns` as a list of strings. +* Support `CROSS JOIN` for model select queries. -[View commits](https://github.com/coleifer/peewee/compare/3.7.0...master) +[View commits](https://github.com/coleifer/peewee/compare/3.7.0...3.7.1) ## 3.7.0 diff --git a/peewee.py b/peewee.py index 4b1c48708..31cb9ee9a 100644 --- a/peewee.py +++ b/peewee.py @@ -57,7 +57,7 @@ mysql = None -__version__ = '3.7.0' +__version__ = '3.7.1' __all__ = [ 'AsIs', 'AutoField',