Skip to content

Commit

Permalink
3.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Sep 19, 2019
1 parent a8850cf commit 9fc81de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ https://github.com/coleifer/peewee/releases

## master

[View commits](https://github.com/coleifer/peewee/compare/3.11.0...master)

## 3.11.0

* Fixes #1991. This particular issue involves joining 3 models together in a
chain, where the outer two models are empty. Previously peewee would make the
middle model an empty model instance (since a link might be needed from the
Expand All @@ -15,7 +19,7 @@ https://github.com/coleifer/peewee/releases
rather than an empty instance.
* An unrelated fix came out of the work on #1991 where hashing a model whose
primary-key happened to be a foreign-key could trigger the FK resolution
query. This patch fixes the Model._pk and Model.get_id() interfaces so they
query. This patch fixes the `Model._pk` and `get_id()` interfaces so they
no longer introduce the possibility of accidentally resolving the FK.
* Allow `Field.contains()`, `startswith()` and `endswith()` to compare against
another column-like object or expression.
Expand All @@ -39,7 +43,7 @@ https://github.com/coleifer/peewee/releases
* Fix issue where `PostgresqlExtDatabase` and `MySQLConnectorDatabase` did not
respect the `autoconnect` setting.

[View commits](https://github.com/coleifer/peewee/compare/3.10.0...master)
[View commits](https://github.com/coleifer/peewee/compare/3.10.0...3.11.0)

## 3.10.0

Expand Down
2 changes: 1 addition & 1 deletion peewee.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
mysql = None


__version__ = '3.10.0'
__version__ = '3.11.0'
__all__ = [
'AsIs',
'AutoField',
Expand Down

0 comments on commit 9fc81de

Please sign in to comment.