From: Mike Bayer Date: Wed, 31 Oct 2018 20:49:14 +0000 (-0400) Subject: cherry-pick changelog from 1.2.13 X-Git-Tag: rel_1_3_0b1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4d372d5b6a5261e89ea8f36ae21bf2e66af00c3;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git cherry-pick changelog from 1.2.13 --- diff --git a/doc/build/changelog/changelog_12.rst b/doc/build/changelog/changelog_12.rst index 3b6838938d..8e25607ec7 100644 --- a/doc/build/changelog/changelog_12.rst +++ b/doc/build/changelog/changelog_12.rst @@ -12,7 +12,106 @@ .. changelog:: :version: 1.2.13 - :include_notes_from: unreleased_12 + :released: October 31, 2018 + + .. change:: + :tags: bug, postgresql + :tickets: 4337 + + Added support for the :class:`.aggregate_order_by` function to receive + multiple ORDER BY elements, previously only a single element was accepted. + + + .. change:: + :tags: bug, mysql + :tickets: 4348 + + Added word ``function`` to the list of reserved words for MySQL, which is + now a keyword in MySQL 8.0 + + .. change:: + :tags: feature, sql + :versions: 1.3.0b1 + + Refactored :class:`.SQLCompiler` to expose a + :meth:`.SQLCompiler.group_by_clause` method similar to the + :meth:`.SQLCompiler.order_by_clause` and :meth:`.SQLCompiler.limit_clause` + methods, which can be overridden by dialects to customize how GROUP BY + renders. Pull request courtesy Samuel Chou. + + .. change:: + :tags: bug, misc + + Fixed issue where part of the utility language helper internals was passing + the wrong kind of argument to the Python ``__import__`` builtin as the list + of modules to be imported. The issue produced no symptoms within the core + library but could cause issues with external applications that redefine the + ``__import__`` builtin or otherwise instrument it. Pull request courtesy Joe + Urciuoli. + + .. change:: + :tags: bug, orm + :tickets: 4349 + + Fixed bug where "dynamic" loader needs to explicitly set the "secondary" + table in the FROM clause of the query, to suit the case where the secondary + is a join object that is otherwise not pulled into the query from its + columns alone. + + + .. change:: + :tags: bug, orm, declarative + :tickets: 4350 + + Fixed regression caused by :ticket:`4326` in version 1.2.12 where using + :class:`.declared_attr` with a mixin in conjunction with + :func:`.orm.synonym` would fail to map the synonym properly to an inherited + subclass. + + .. change:: + :tags: bug, misc, py3k + :tickets: 4339 + + Fixed additional warnings generated by Python 3.7 due to changes in the + organization of the Python ``collections`` and ``collections.abc`` packages. + Previous ``collections`` warnings were fixed in version 1.2.11. Pull request + courtesy xtreak. + + .. change:: + :tags: bug, ext + + Added missing ``.index()`` method to list-based association collections + in the association proxy extension. + + .. change:: + :tags: bug, mysql + :tickets: 4344 + + Added a workaround for a MySQL bug #88718 introduced in the 8.0 series, + where the reflection of a foreign key constraint is not reporting the + correct case sensitivity for the referred column, leading to errors during + use of the reflected constraint such as when using the automap extension. + The workaround emits an additional query to the information_schema tables in + order to retrieve the correct case sensitive name. + + .. change:: + :tags: bug, sql + :tickets: 4341 + + Fixed bug where the :paramref:`.Enum.create_constraint` flag on the + :class:`.Enum` datatype would not be propagated to copies of the type, which + affects use cases such as declarative mixins and abstract bases. + + .. change:: + :tags: bug, orm, declarative + :tickets: 4352 + + The column conflict resolution technique discussed at + :ref:`declarative_column_conflicts` is now functional for a :class:`.Column` + that is also a primary key column. Previously, a check for primary key + columns declared on a single-inheritance subclass would occur before the + column copy were allowed to pass. + .. changelog:: :version: 1.2.12 diff --git a/doc/build/changelog/unreleased_12/4337.rst b/doc/build/changelog/unreleased_12/4337.rst deleted file mode 100644 index e056f3ee2a..0000000000 --- a/doc/build/changelog/unreleased_12/4337.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: bug, postgresql - :tickets: 4337 - - Added support for the :class:`.aggregate_order_by` function to receive - multiple ORDER BY elements, previously only a single element was accepted. - diff --git a/doc/build/changelog/unreleased_12/4339.rst b/doc/build/changelog/unreleased_12/4339.rst deleted file mode 100644 index 6c963a66a8..0000000000 --- a/doc/build/changelog/unreleased_12/4339.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, misc, py3k - :tickets: 4339 - - Fixed additional warnings generated by Python 3.7 due to changes in the - organization of the Python ``collections`` and ``collections.abc`` packages. - Previous ``collections`` warnings were fixed in version 1.2.11. Pull request - courtesy xtreak. diff --git a/doc/build/changelog/unreleased_12/4341.rst b/doc/build/changelog/unreleased_12/4341.rst deleted file mode 100644 index c3db81b206..0000000000 --- a/doc/build/changelog/unreleased_12/4341.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: bug, sql - :tickets: 4341 - - Fixed bug where the :paramref:`.Enum.create_constraint` flag on the - :class:`.Enum` datatype would not be propagated to copies of the type, which - affects use cases such as declarative mixins and abstract bases. diff --git a/doc/build/changelog/unreleased_12/4344.rst b/doc/build/changelog/unreleased_12/4344.rst deleted file mode 100644 index 05be223d9c..0000000000 --- a/doc/build/changelog/unreleased_12/4344.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. change:: - :tags: bug, mysql - :tickets: 4344 - - Added a workaround for a MySQL bug #88718 introduced in the 8.0 series, - where the reflection of a foreign key constraint is not reporting the - correct case sensitivity for the referred column, leading to errors during - use of the reflected constraint such as when using the automap extension. - The workaround emits an additional query to the information_schema tables in - order to retrieve the correct case sensitive name. diff --git a/doc/build/changelog/unreleased_12/4348.rst b/doc/build/changelog/unreleased_12/4348.rst deleted file mode 100644 index 5b40ec609f..0000000000 --- a/doc/build/changelog/unreleased_12/4348.rst +++ /dev/null @@ -1,6 +0,0 @@ -.. change:: - :tags: bug, mysql - :tickets: 4348 - - Added word ``function`` to the list of reserved words for MySQL, which is - now a keyword in MySQL 8.0 diff --git a/doc/build/changelog/unreleased_12/4349.rst b/doc/build/changelog/unreleased_12/4349.rst deleted file mode 100644 index a2ce828cb9..0000000000 --- a/doc/build/changelog/unreleased_12/4349.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: bug, orm - :tickets: 4349 - - Fixed bug where "dynamic" loader needs to explicitly set the "secondary" - table in the FROM clause of the query, to suit the case where the secondary - is a join object that is otherwise not pulled into the query from its - columns alone. - diff --git a/doc/build/changelog/unreleased_12/4350.rst b/doc/build/changelog/unreleased_12/4350.rst deleted file mode 100644 index d3216a5bc4..0000000000 --- a/doc/build/changelog/unreleased_12/4350.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, orm, declarative - :tickets: 4350 - - Fixed regression caused by :ticket:`4326` in version 1.2.12 where using - :class:`.declared_attr` with a mixin in conjunction with - :func:`.orm.synonym` would fail to map the synonym properly to an inherited - subclass. diff --git a/doc/build/changelog/unreleased_12/4352.rst b/doc/build/changelog/unreleased_12/4352.rst deleted file mode 100644 index 7db01f6f64..0000000000 --- a/doc/build/changelog/unreleased_12/4352.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. change:: - :tags: bug, orm, declarative - :tickets: 4352 - - The column conflict resolution technique discussed at - :ref:`declarative_column_conflicts` is now functional for a :class:`.Column` - that is also a primary key column. Previously, a check for primary key - columns declared on a single-inheritance subclass would occur before the - column copy were allowed to pass. - diff --git a/doc/build/changelog/unreleased_12/pr473.rst b/doc/build/changelog/unreleased_12/pr473.rst deleted file mode 100644 index 6ee55164f6..0000000000 --- a/doc/build/changelog/unreleased_12/pr473.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: bug, misc - - Fixed issue where part of the utility language helper internals was passing - the wrong kind of argument to the Python ``__import__`` builtin as the list - of modules to be imported. The issue produced no symptoms within the core - library but could cause issues with external applications that redefine the - ``__import__`` builtin or otherwise instrument it. Pull request courtesy Joe - Urciuoli. diff --git a/doc/build/changelog/unreleased_12/pr474.rst b/doc/build/changelog/unreleased_12/pr474.rst deleted file mode 100644 index 571fe5e97c..0000000000 --- a/doc/build/changelog/unreleased_12/pr474.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: feature, sql - :versions: 1.3.0b1 - - Refactored :class:`.SQLCompiler` to expose a - :meth:`.SQLCompiler.group_by_clause` method similar to the - :meth:`.SQLCompiler.order_by_clause` and :meth:`.SQLCompiler.limit_clause` - methods, which can be overridden by dialects to customize how GROUP BY - renders. Pull request courtesy Samuel Chou. diff --git a/doc/build/changelog/unreleased_12/pr485.rst b/doc/build/changelog/unreleased_12/pr485.rst deleted file mode 100644 index bdde0884f5..0000000000 --- a/doc/build/changelog/unreleased_12/pr485.rst +++ /dev/null @@ -1,5 +0,0 @@ -.. change:: - :tags: bug, ext - - Added missing ``.index()`` method to list-based association collections - in the association proxy extension.