Skip to content

Commit

Permalink
3.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Oct 13, 2023
1 parent 605f97e commit 01b2d94
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
17 changes: 15 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.17.0...master)

## 3.17.0

* Only roll-back in the outermost `@db.transaction` decorator/ctx manager if
an unhandled exception occurs. Previously, an unhandled exception that
occurred in a nested `transaction` context would trigger a rollback. The use
Expand All @@ -17,8 +21,17 @@ https://github.com/coleifer/peewee/releases
* Cover transaction `BEGIN` in the reconnect-mixin. Given that no transaction
has been started, reconnecting when beginning a new transaction ensures that
a reconnect will occur if it is safe to do so.

[View commits](https://github.com/coleifer/peewee/compare/3.16.3...master)
* Add support for setting `isolation_level` in `db.atomic()` and
`db.transaction()` when using Postgres and MySQL/MariaDB, which will apply to
the wrapped transaction. Note: Sqlite has supported a similar `lock_type`
parameter for some time.
* Add support for the Sqlite `SQLITE_DETERMINISTIC` function flag. This allows
user-defined Sqlite functions to be used in indexes and may be used by the
query planner.
* Fix unreported bug in dataset import when inferred field name differs from
column name.

[View commits](https://github.com/coleifer/peewee/compare/3.16.3...3.17.0)

## 3.16.3

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


__version__ = '3.16.3'
__version__ = '3.17.0'
__all__ = [
'AnyField',
'AsIs',
Expand Down

0 comments on commit 01b2d94

Please sign in to comment.