Open
Conversation
# New features
* f-strings support in queries: select(f'{s.name} - {s.age}' for s in Student)
* ponyorm#344: It is now possible to specify offset without limit: `query.limit(offset=10)`
* ponyorm#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
* ponyorm#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)`
* ponyorm#373: 0.7.4/0.7.5 breaks queries using the `in` operator to test membership of another query result
* ponyorm#374: `auto=True` can be used with all PrimaryKey types, not only int
* ponyorm#369: Make QueryResult looks like a list object again: add concatenation with lists, `.shuffle()` and `.to_list()` methods
* ponyorm#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
# Features since 0.7.5:
* f-strings support in queries: `select(f'{s.name} - {s.age}' for s in Student)`
* ponyorm#344: It is now possible to specify offset without limit: `query.limit(offset=10)`
* ponyorm#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
* ponyorm#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)`
* ponyorm#373: 0.7.4/0.7.5 breaks queries using the `in` operator to test membership of another query result
* ponyorm#374: `auto=True` can be used with all PrimaryKey types, not only `int`
* ponyorm#369: Make QueryResult looks like a list object again: add concatenation with lists, `.shuffle()` and `.to_list()` methods
* ponyorm#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
# Features * CockroachDB support added * CI testing for SQLite, PostgreSQL & CockroachDB # Bugfixes * Fix translation of getting array items with negative indexes * Fix string getitem translation for slices and negative indexes * PostgreSQL DISTINCT bug fixed for queries with ORDER BY clause * Fix date difference syntax in PostgreSQL * Fix casting json to dobule in PostgreSQL * Fix count by several columns in PostgreSQL * Fix PostgreSQL MIN and MAX expressions on boolean columns * Fix determination of interactive mode in PyCharm * Fix column definition when `sql_default` is specified: DEFAULT should be before NOT NULL * Relax checks on updating in-memory cache indexes (don't throw CacheIndexError on valid cases) * Fix deduplication logic for attribute values
This release does not contains new features or bugfixes. Its goal is to test automatic release building and uploading
Basic JSON has also been implemented.
added bool fix
…etc, not yet tested
Fixed py datetime to sql datetime string conversion
…adding the possibility of returning None id after insert
|
@sostholm I would love to re-introduce this PR however it has a wide range of changes to PonyORM, many of which are not related to MS SQL Server. #545 (now closed) seemed to be much "tighter" with just a single addition of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Working SQL Server CRUD, running model1.py test works.
Basic JSON has also been implemented.
Only works with pyodbc.
Based on mysql and postgres providers.