Skip to content

Commit

Permalink
Pony ORM Release 0.7.6 (2018-08-10)
Browse files Browse the repository at this point in the history
# Features since 0.7.5:

* f-strings support in queries: `select(f'{s.name} - {s.age}' for s in Student)`
* #344: It is now possible to specify offset without limit: `query.limit(offset=10)`
* #371: Support of explicit casting of JSON expressions to `str`, `int` or `float`
* `@db.on_connect` decorator added

# Bugfixes

* Fix bulk delete bug introduced in 0.7.4
* #370 Fix memory leak introduced in 0.7.4
* Now `exists()` in query does not throw away condition in generator expression: `exists(s.gpa > 3 for s in Student)`
* #373: 0.7.4/0.7.5 breaks queries using the `in` operator to test membership of another query result
* #374: `auto=True` can be used with all PrimaryKey types, not only `int`
* #369: Make QueryResult looks like a list object again: add concatenation with lists, `.shuffle()` and `.to_list()` methods
* #355: Fix binary primary keys `PrimaryKey(buffer)` in Python2
* Interactive mode support for PyCharm console
* Fix wrong table aliases in complex queries
* Fix query optimization code for complex queries
* Fix a bug with hybrid properties that use external functions
  • Loading branch information
kozlovsky committed Aug 10, 2018
2 parents 8687996 + 260795e commit 643e051
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions CHANGELOG.md
@@ -1,8 +1,15 @@
# Pony ORM Release 0.7.6 (2018-08-10)

## Bugfixes

* Fixed a bug with hybrid properties that use external functions


# Pony ORM Release 0.7.6rc1 (2018-08-08)

## New features

* f-strings support in queries: select(f'{s.name} - {s.age}' for s in Student)
* f-strings support in queries: `select(f'{s.name} - {s.age}' for s in Student)`
* #344: It is now possible to specify offset without limit: `query.limit(offset=10)`
* #371: Support of explicit casting of JSON expressions to `str`, `int` or `float`
* `@db.on_connect` decorator added
Expand All @@ -11,9 +18,9 @@

* Fix bulk delete bug introduced in 0.7.4
* #370 Fix memory leak introduced in 0.7.4
* Now exists() in query does not throw away condition in generator expression: `exists(s.gpa > 3 for s in Student)`
* Now `exists()` in query does not throw away condition in generator expression: `exists(s.gpa > 3 for s in Student)`
* #373: 0.7.4/0.7.5 breaks queries using the `in` operator to test membership of another query result
* #374: `auto=True` can be used with all PrimaryKey types, not only int
* #374: `auto=True` can be used with all PrimaryKey types, not only `int`
* #369: Make QueryResult looks like a list object again: add concatenation with lists, `.shuffle()` and `.to_list()` methods
* #355: Fix binary primary keys `PrimaryKey(buffer)` in Python2
* Interactive mode support for PyCharm console
Expand Down
2 changes: 1 addition & 1 deletion pony/__init__.py
Expand Up @@ -3,7 +3,7 @@
import sys
from os.path import dirname

__version__ = '0.7.6rc1'
__version__ = '0.7.6'

def detect_mode():
try: import google.appengine
Expand Down

0 comments on commit 643e051

Please sign in to comment.