diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-04-20 16:35:53 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-04-20 16:35:53 -0400 |
| commit | e5630e1c6a1a4488441b284d823af30759a48600 (patch) | |
| tree | 852c08be87cb9a8b4073ff699861ea6be0fb02fc /doc | |
| parent | 43f278356d94b5342a1020a9a97feea0bb7cd88f (diff) | |
| download | sqlalchemy-e5630e1c6a1a4488441b284d823af30759a48600.tar.gz | |
cherry-pick changelog from 1.2.7
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/changelog/changelog_12.rst | 74 | ||||
| -rw-r--r-- | doc/build/changelog/unreleased_12/4160.rst | 7 | ||||
| -rw-r--r-- | doc/build/changelog/unreleased_12/4228.rst | 13 | ||||
| -rw-r--r-- | doc/build/changelog/unreleased_12/4229.rst | 9 | ||||
| -rw-r--r-- | doc/build/changelog/unreleased_12/4231.rst | 9 | ||||
| -rw-r--r-- | doc/build/changelog/unreleased_12/4234.rst | 10 | ||||
| -rw-r--r-- | doc/build/changelog/unreleased_12/4241.rst | 11 | ||||
| -rw-r--r-- | doc/build/changelog/unreleased_12/oracle_number.rst | 7 |
8 files changed, 73 insertions, 67 deletions
diff --git a/doc/build/changelog/changelog_12.rst b/doc/build/changelog/changelog_12.rst index 8ae2aa8e1..9eaaccf3c 100644 --- a/doc/build/changelog/changelog_12.rst +++ b/doc/build/changelog/changelog_12.rst @@ -12,7 +12,79 @@ .. changelog:: :version: 1.2.7 - :include_notes_from: unreleased_12 + :released: April 20, 2018 + + .. change:: + :tags: bug, orm + :tickets: 4228 + + Fixed regression in 1.2 within sharded query feature where the + new "identity_token" element was not being correctly considered within + the scope of a lazy load operation, when searching the identity map + for a related many-to-one element. The new behavior will allow for + making use of the "id_chooser" in order to determine the best identity + key to retrieve from the identity map. In order to achieve this, some + refactoring of 1.2's "identity_token" approach has made some slight changes + to the implementation of ``ShardedQuery`` which should be noted for other + derivations of this class. + + .. change:: + :tags: bug, postgresql + :tickets: 4229 + + Fixed bug where the special "not equals" operator for the Postgresql + "range" datatypes such as DATERANGE would fail to render "IS NOT NULL" when + compared to the Python ``None`` value. + + + + .. change:: + :tags: bug, mssql + :tickets: 4234 + :versions: 1.3.0b1 + + Fixed 1.2 regression caused by :ticket:`4060` where the query used to + reflect SQL Server cross-schema foreign keys was limiting the criteria + incorrectly. + + + + .. change:: + :tags: bug, oracle + :versions: 1.3.0b1 + + The Oracle NUMBER datatype is reflected as INTEGER if the precision is NULL + and the scale is zero, as this is how INTEGER values come back when + reflected from Oracle's tables. Pull request courtesy Kent Bower. + + .. change:: + :tags: feature, postgresql + :tickets: 4160 + :versions: 1.3.0b1 + + Added new PG type :class:`.postgresql.REGCLASS` which assists in casting + table names to OID values. Pull request courtesy Sebastian Bank. + + .. change:: + :tags: bug, sql + :tickets: 4231 + :versions: 1.3.0b1 + + Fixed issue where the compilation of an INSERT statement with the + "literal_binds" option that also uses an explicit sequence and "inline" + generation, as on Postgresql and Oracle, would fail to accommodate the + extra keyword argument within the sequence processing routine. + + .. change:: + :tags: bug, orm + :tickets: 4241 + + Fixed issue in single-inheritance loading where the use of an aliased + entity against a single-inheritance subclass in conjunction with the + :meth:`.Query.select_from` method would cause the SQL to be rendered with + the unaliased table mixed in to the query, causing a cartesian product. In + particular this was affecting the new "selectin" loader when used against a + single-inheritance subclass. .. changelog:: :version: 1.2.6 diff --git a/doc/build/changelog/unreleased_12/4160.rst b/doc/build/changelog/unreleased_12/4160.rst deleted file mode 100644 index 859720c6f..000000000 --- a/doc/build/changelog/unreleased_12/4160.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: feature, postgresql - :tickets: 4160 - :versions: 1.3.0b1 - - Added new PG type :class:`.postgresql.REGCLASS` which assists in casting - table names to OID values. Pull request courtesy Sebastian Bank. diff --git a/doc/build/changelog/unreleased_12/4228.rst b/doc/build/changelog/unreleased_12/4228.rst deleted file mode 100644 index c0e503e3b..000000000 --- a/doc/build/changelog/unreleased_12/4228.rst +++ /dev/null @@ -1,13 +0,0 @@ -.. change:: - :tags: bug, orm - :tickets: 4228 - - Fixed regression in 1.2 within sharded query feature where the - new "identity_token" element was not being correctly considered within - the scope of a lazy load operation, when searching the identity map - for a related many-to-one element. The new behavior will allow for - making use of the "id_chooser" in order to determine the best identity - key to retrieve from the identity map. In order to achieve this, some - refactoring of 1.2's "identity_token" approach has made some slight changes - to the implementation of ``ShardedQuery`` which should be noted for other - derivations of this class. diff --git a/doc/build/changelog/unreleased_12/4229.rst b/doc/build/changelog/unreleased_12/4229.rst deleted file mode 100644 index d28146e42..000000000 --- a/doc/build/changelog/unreleased_12/4229.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: bug, postgresql - :tickets: 4229 - - Fixed bug where the special "not equals" operator for the Postgresql - "range" datatypes such as DATERANGE would fail to render "IS NOT NULL" when - compared to the Python ``None`` value. - - diff --git a/doc/build/changelog/unreleased_12/4231.rst b/doc/build/changelog/unreleased_12/4231.rst deleted file mode 100644 index 47e70ef02..000000000 --- a/doc/build/changelog/unreleased_12/4231.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: bug, sql - :tickets: 4231 - :versions: 1.3.0b1 - - Fixed issue where the compilation of an INSERT statement with the - "literal_binds" option that also uses an explicit sequence and "inline" - generation, as on Postgresql and Oracle, would fail to accommodate the - extra keyword argument within the sequence processing routine. diff --git a/doc/build/changelog/unreleased_12/4234.rst b/doc/build/changelog/unreleased_12/4234.rst deleted file mode 100644 index f09533e54..000000000 --- a/doc/build/changelog/unreleased_12/4234.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. change:: - :tags: bug, mssql - :tickets: 4234 - :versions: 1.3.0b1 - - Fixed 1.2 regression caused by :ticket:`4060` where the query used to - reflect SQL Server cross-schema foreign keys was limiting the criteria - incorrectly. - - diff --git a/doc/build/changelog/unreleased_12/4241.rst b/doc/build/changelog/unreleased_12/4241.rst deleted file mode 100644 index e633db5a5..000000000 --- a/doc/build/changelog/unreleased_12/4241.rst +++ /dev/null @@ -1,11 +0,0 @@ -.. change:: - :tags: bug, orm - :tickets: 4241 - :versions: 1.3.0b1 - - Fixed issue in single-inheritance loading where the use of an aliased - entity against a single-inheritance subclass in conjunction with the - :meth:`.Query.select_from` method would cause the SQL to be rendered with - the unaliased table mixed in to the query, causing a cartesian product. In - particular this was affecting the new "selectin" loader when used against a - single-inheritance subclass. diff --git a/doc/build/changelog/unreleased_12/oracle_number.rst b/doc/build/changelog/unreleased_12/oracle_number.rst deleted file mode 100644 index 7d073e11f..000000000 --- a/doc/build/changelog/unreleased_12/oracle_number.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: bug, oracle - :versions: 1.3.0b1 - - The Oracle NUMBER datatype is reflected as INTEGER if the precision is NULL - and the scale is zero, as this is how INTEGER values come back when - reflected from Oracle's tables. Pull request courtesy Kent Bower. |
