From 4ea60fbd0f46f3f8656404c5f4726b5e28545983 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 11 Dec 2018 16:49:28 -0500 Subject: [PATCH] - 1.2.15 --- doc/build/changelog/changelog_12.rst | 71 +++++++++++++++++++++- doc/build/changelog/unreleased_12/4363.rst | 13 ---- doc/build/changelog/unreleased_12/4366.rst | 10 --- doc/build/changelog/unreleased_12/4367.rst | 11 ---- doc/build/changelog/unreleased_12/4374.rst | 7 --- doc/build/changelog/unreleased_12/4377.rst | 7 --- doc/build/changelog/unreleased_12/4381.rst | 6 -- doc/build/changelog/unreleased_12/4400.rst | 8 --- doc/build/conf.py | 4 +- 9 files changed, 72 insertions(+), 65 deletions(-) delete mode 100644 doc/build/changelog/unreleased_12/4363.rst delete mode 100644 doc/build/changelog/unreleased_12/4366.rst delete mode 100644 doc/build/changelog/unreleased_12/4367.rst delete mode 100644 doc/build/changelog/unreleased_12/4374.rst delete mode 100644 doc/build/changelog/unreleased_12/4377.rst delete mode 100644 doc/build/changelog/unreleased_12/4381.rst delete mode 100644 doc/build/changelog/unreleased_12/4400.rst diff --git a/doc/build/changelog/changelog_12.rst b/doc/build/changelog/changelog_12.rst index dc1d73dbfa..40c2aae3dd 100644 --- a/doc/build/changelog/changelog_12.rst +++ b/doc/build/changelog/changelog_12.rst @@ -12,7 +12,76 @@ .. changelog:: :version: 1.2.15 - :include_notes_from: unreleased_12 + :released: December 11, 2018 + + .. change:: + :tags: bug, orm + :tickets: 4367 + + Fixed bug where the ORM annotations could be incorrect for the + primaryjoin/secondaryjoin a relationship if one used the pattern + ``ForeignKey(SomeClass.id)`` in the declarative mappings. This pattern + would leak undesired annotations into the join conditions which can break + aliasing operations done within :class:`.Query` that are not supposed to + impact elements in that join condition. These annotations are now removed + up front if present. + + .. change:: + :tags: bug, orm, declarative + :tickets: 4374 + + A warning is emitted in the case that a :func:`.column` object is applied to + a declarative class, as it seems likely this intended to be a + :class:`.Column` object. + + .. change:: + :tags: bug, orm + :tickets: 4366 + + In continuing with a similar theme as that of very recent :ticket:`4349`, + repaired issue with :meth:`.RelationshipProperty.Comparator.any` and + :meth:`.RelationshipProperty.Comparator.has` where the "secondary" + selectable needs to be explicitly part of the FROM clause in the + EXISTS subquery to suit the case where this "secondary" is a :class:`.Join` + object. + + .. change:: + :tags: bug, orm + :tickets: 4363 + + Fixed regression caused by :ticket:`4349` where adding the "secondary" + table to the FROM clause for a dynamic loader would affect the ability of + the :class:`.Query` to make a subsequent join to another entity. The fix + adds the primary entity as the first element of the FROM list since + :meth:`.Query.join` wants to jump from that. Version 1.3 will have + a more comprehensive solution to this problem as well (:ticket:`4365`). + + + + + .. change:: + :tags: bug, orm + :tickests: 4400 + + Fixed bug where chaining of mapper options using + :meth:`.RelationshipProperty.of_type` in conjunction with a chained option + that refers to an attribute name by string only would fail to locate the + attribute. + + .. change:: + :tag: feature, mysql + :tickets: 4381 + + Added support for the ``write_timeout`` flag accepted by mysqlclient and + pymysql to be passed in the URL string. + + .. change:: + :tag: bug, postgresql + :tickets: 4377, 4380 + + Fixed issue where reflection of a PostgreSQL domain that is expressed as an + array would fail to be recognized. Pull request courtesy Jakub Synowiec. + .. changelog:: :version: 1.2.14 diff --git a/doc/build/changelog/unreleased_12/4363.rst b/doc/build/changelog/unreleased_12/4363.rst deleted file mode 100644 index 1a05327636..0000000000 --- a/doc/build/changelog/unreleased_12/4363.rst +++ /dev/null @@ -1,13 +0,0 @@ -.. change:: - :tags: bug, orm - :tickets: 4363 - - Fixed regression caused by :ticket:`4349` where adding the "secondary" - table to the FROM clause for a dynamic loader would affect the ability of - the :class:`.Query` to make a subsequent join to another entity. The fix - adds the primary entity as the first element of the FROM list since - :meth:`.Query.join` wants to jump from that. Version 1.3 will have - a more comprehensive solution to this problem as well (:ticket:`4365`). - - - diff --git a/doc/build/changelog/unreleased_12/4366.rst b/doc/build/changelog/unreleased_12/4366.rst deleted file mode 100644 index d3332633a5..0000000000 --- a/doc/build/changelog/unreleased_12/4366.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. change:: - :tags: bug, orm - :tickets: 4366 - - In continuing with a similar theme as that of very recent :ticket:`4349`, - repaired issue with :meth:`.RelationshipProperty.Comparator.any` and - :meth:`.RelationshipProperty.Comparator.has` where the "secondary" - selectable needs to be explicitly part of the FROM clause in the - EXISTS subquery to suit the case where this "secondary" is a :class:`.Join` - object. \ No newline at end of file diff --git a/doc/build/changelog/unreleased_12/4367.rst b/doc/build/changelog/unreleased_12/4367.rst deleted file mode 100644 index 9db364ce86..0000000000 --- a/doc/build/changelog/unreleased_12/4367.rst +++ /dev/null @@ -1,11 +0,0 @@ -.. change:: - :tags: bug, orm - :tickets: 4367 - - Fixed bug where the ORM annotations could be incorrect for the - primaryjoin/secondaryjoin a relationship if one used the pattern - ``ForeignKey(SomeClass.id)`` in the declarative mappings. This pattern - would leak undesired annotations into the join conditions which can break - aliasing operations done within :class:`.Query` that are not supposed to - impact elements in that join condition. These annotations are now removed - up front if present. diff --git a/doc/build/changelog/unreleased_12/4374.rst b/doc/build/changelog/unreleased_12/4374.rst deleted file mode 100644 index 716ff5b67b..0000000000 --- a/doc/build/changelog/unreleased_12/4374.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: bug, orm, declarative - :tickets: 4374 - - A warning is emitted in the case that a :func:`.column` object is applied to - a declarative class, as it seems likely this intended to be a - :class:`.Column` object. diff --git a/doc/build/changelog/unreleased_12/4377.rst b/doc/build/changelog/unreleased_12/4377.rst deleted file mode 100644 index 9d3477efa0..0000000000 --- a/doc/build/changelog/unreleased_12/4377.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tag: bug, postgresql - :tickets: 4377, 4380 - - Fixed issue where reflection of a PostgreSQL domain that is expressed as an - array would fail to be recognized. Pull request courtesy Jakub Synowiec. - diff --git a/doc/build/changelog/unreleased_12/4381.rst b/doc/build/changelog/unreleased_12/4381.rst deleted file mode 100644 index 8e6dff9549..0000000000 --- a/doc/build/changelog/unreleased_12/4381.rst +++ /dev/null @@ -1,6 +0,0 @@ -.. change:: - :tag: feature, mysql - :tickets: 4381 - - Added support for the ``write_timeout`` flag accepted by mysqlclient and - pymysql to be passed in the URL string. diff --git a/doc/build/changelog/unreleased_12/4400.rst b/doc/build/changelog/unreleased_12/4400.rst deleted file mode 100644 index 4a76fb53cd..0000000000 --- a/doc/build/changelog/unreleased_12/4400.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, orm - :tickests: 4400 - - Fixed bug where chaining of mapper options using - :meth:`.RelationshipProperty.of_type` in conjunction with a chained option - that refers to an attribute name by string only would fail to locate the - attribute. diff --git a/doc/build/conf.py b/doc/build/conf.py index 21884fb3b7..1b362e0eaa 100644 --- a/doc/build/conf.py +++ b/doc/build/conf.py @@ -109,9 +109,9 @@ copyright = u'2007-2018, the SQLAlchemy authors and contributors' # The short X.Y version. version = "1.2" # The full version, including alpha/beta/rc tags. -release = "1.2.14" +release = "1.2.15" -release_date = "November 10, 2018" +release_date = "December 11, 2018" site_base = os.environ.get("RTD_SITE_BASE", "http://www.sqlalchemy.org") site_adapter_template = "docs_adapter.mako" -- 2.47.2