Skip to content

Commit

Permalink
3.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Jun 3, 2019
1 parent 10ddd6e commit 0fa0d39
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,11 +7,24 @@ https://github.com/coleifer/peewee/releases

## master

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

## 3.9.6

* Support nesting the `Database` instance as a context-manager. The outermost
block will handle opening and closing the connection along with wrapping
everything in a transaction. Nested blocks will use savepoints.

[View commits](https://github.com/coleifer/peewee/compare/3.9.5...master)
* Add new `session_start()`, `session_commit()` and `session_rollback()`
interfaces to the Database object to support using transactional controls in
situations where a context-manager or decorator is awkward.
* Fix error that would arise when attempting to do an empty bulk-insert.
* Set `isolation_level=None` in SQLite connection constructor rather than
afterwards using the setter.
* Add `create_table()` method to `Select` query to implement `CREATE TABLE AS`.
* Cleanup some declarations in the Sqlite C extension.
* Add new example showing how to implement Reddit's ranking algorithm in SQL.

[View commits](https://github.com/coleifer/peewee/compare/3.9.5...3.9.6)

## 3.9.5

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.9.5'
__version__ = '3.9.6'
__all__ = [
'AsIs',
'AutoField',
Expand Down

0 comments on commit 0fa0d39

Please sign in to comment.