From: Mike Bayer Date: Fri, 16 Feb 2018 23:15:47 +0000 (-0500) Subject: - 1.2.3 X-Git-Tag: rel_1_2_3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b11ce6656055b1edbd8add5b02f2eb62ffd0a4d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - 1.2.3 --- diff --git a/doc/build/changelog/changelog_12.rst b/doc/build/changelog/changelog_12.rst index 3496bd0810..a7068648a4 100644 --- a/doc/build/changelog/changelog_12.rst +++ b/doc/build/changelog/changelog_12.rst @@ -12,7 +12,125 @@ .. changelog:: :version: 1.2.3 - :include_notes_from: unreleased_12 + :released: February 16, 2018 + + .. change:: + :tags: bug, oracle + :tickets: 4182 + + Fixed bug in cx_Oracle disconnect detection, used by pre_ping and other + features, where an error could be raised as DatabaseError which includes a + numeric error code; previously we weren't checking in this case for a + disconnect code. + + .. change:: + :tags: bug, sqlite + + Fixed the import error raised when a platform + has neither pysqlite2 nor sqlite3 installed, such + that the sqlite3-related import error is raised, + not the pysqlite2 one which is not the actual + failure mode. Pull request courtesy Robin. + + .. change:: + :tags: bug, orm + :tickets: 4175 + + Fixed bug where the :class:`.Bundle` object did not + correctly report upon the primary :class:`.Mapper` object + represened by the bundle, if any. An immediate + side effect of this issue was that the new selectinload + loader strategy wouldn't work with the horizontal sharding + extension. + + .. change:: + :tags: bug, sql + :tickets: 4180 + + Fixed bug where the :class:`.Enum` type wouldn't handle + enum "aliases" correctly, when more than one key refers to the + same value. Pull request courtesy Daniel Knell. + + + .. change:: + :tags: bug, engine + :tickets: 4181 + + Fixed bug where events associated with an :class:`Engine` + at the class level would be doubled when the + :meth:`.Engine.execution_options` method were used. To + achieve this, the semi-private class :class:`.OptionEngine` + no longer accepts events directly at the class level + and will raise an error; the class only propagates class-level + events from its parent :class:`.Engine`. Instance-level + events continue to work as before. + + .. change:: + :tags: bug, tests + :tickets: 3265 + + A test added in 1.2 thought to confirm a Python 2.7 behavior turns out to + be confirming the behavior only as of Python 2.7.8. Python bug #8743 still + impacts set comparison in Python 2.7.7 and earlier, so the test in question + involving AssociationSet no longer runs for these older Python 2.7 + versions. + + .. change:: + :tags: feature, oracle + + The ON DELETE options for foreign keys are now part of + Oracle reflection. Oracle does not support ON UPDATE + cascades. Pull request courtesy Miroslav Shubernetskiy. + + + + .. change:: + :tags: bug, orm + :tickets: 4188 + + Fixed bug in concrete inheritance mapping where user-defined + attributes such as hybrid properties that mirror the names + of mapped attributes from sibling classes would be overwritten by + the mapper as non-accessible at the instance level. Additionally + ensured that user-bound descriptors are not implicitly invoked at the class + level during the mapper configuration stage. + + .. change:: + :tags: bug, orm + :tickets: 4178 + + Fixed bug where the :func:`.orm.reconstructor` event + helper would not be recognized if it were applied to the + ``__init__()`` method of the mapped class. + + .. change:: + :tags: bug, engine + :tickets: 4170 + + The :class:`.URL` object now allows query keys to be specified multiple + times where their values will be joined into a list. This is to support + the plugins feature documented at :class:`.CreateEnginePlugin` which + documents that "plugin" can be passed multiple times. Additionally, the + plugin names can be passed to :func:`.create_engine` outside of the URL + using the new :paramref:`.create_engine.plugins` parameter. + + .. change:: + :tags: feature, sql + :tickets: 3906 + + Added support for :class:`.Enum` to persist the values of the enumeration, + rather than the keys, when using a Python pep-435 style enumerated object. + The user supplies a callable function that will return the string values to + be persisted. This allows enumerations against non-string values to be + value-persistable as well. Pull request courtesy Jon Snyder. + + .. change:: + :tags: feature, orm + + Added new argument :paramref:`.attributes.set_attribute.inititator` + to the :func:`.attributes.set_attribute` function, allowing an + event token received from a listener function to be propagated + to subsequent set events. .. changelog:: :version: 1.2.2 diff --git a/doc/build/changelog/unreleased_12/3265.rst b/doc/build/changelog/unreleased_12/3265.rst deleted file mode 100644 index 1c97b728ad..0000000000 --- a/doc/build/changelog/unreleased_12/3265.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: bug, tests - :tickets: 3265 - - A test added in 1.2 thought to confirm a Python 2.7 behavior turns out to - be confirming the behavior only as of Python 2.7.8. Python bug #8743 still - impacts set comparison in Python 2.7.7 and earlier, so the test in question - involving AssociationSet no longer runs for these older Python 2.7 - versions. diff --git a/doc/build/changelog/unreleased_12/3906.rst b/doc/build/changelog/unreleased_12/3906.rst deleted file mode 100644 index a56537046e..0000000000 --- a/doc/build/changelog/unreleased_12/3906.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: feature, sql - :tickets: 3906 - - Added support for :class:`.Enum` to persist the values of the enumeration, - rather than the keys, when using a Python pep-435 style enumerated object. - The user supplies a callable function that will return the string values to - be persisted. This allows enumerations against non-string values to be - value-persistable as well. Pull request courtesy Jon Snyder. diff --git a/doc/build/changelog/unreleased_12/4170.rst b/doc/build/changelog/unreleased_12/4170.rst deleted file mode 100644 index abc9917a6d..0000000000 --- a/doc/build/changelog/unreleased_12/4170.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. change:: - :tags: bug, engine - :tickets: 4170 - - The :class:`.URL` object now allows query keys to be specified multiple - times where their values will be joined into a list. This is to support - the plugins feature documented at :class:`.CreateEnginePlugin` which - documents that "plugin" can be passed multiple times. Additionally, the - plugin names can be passed to :func:`.create_engine` outside of the URL - using the new :paramref:`.create_engine.plugins` parameter. diff --git a/doc/build/changelog/unreleased_12/4175.rst b/doc/build/changelog/unreleased_12/4175.rst deleted file mode 100644 index 7d215a79b7..0000000000 --- a/doc/build/changelog/unreleased_12/4175.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. change:: - :tags: bug, orm - :tickets: 4175 - - Fixed bug where the :class:`.Bundle` object did not - correctly report upon the primary :class:`.Mapper` object - represened by the bundle, if any. An immediate - side effect of this issue was that the new selectinload - loader strategy wouldn't work with the horizontal sharding - extension. diff --git a/doc/build/changelog/unreleased_12/4178.rst b/doc/build/changelog/unreleased_12/4178.rst deleted file mode 100644 index 5f4844acc1..0000000000 --- a/doc/build/changelog/unreleased_12/4178.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: bug, orm - :tickets: 4178 - - Fixed bug where the :func:`.orm.reconstructor` event - helper would not be recognized if it were applied to the - ``__init__()`` method of the mapped class. diff --git a/doc/build/changelog/unreleased_12/4180.rst b/doc/build/changelog/unreleased_12/4180.rst deleted file mode 100644 index 01d8ee0047..0000000000 --- a/doc/build/changelog/unreleased_12/4180.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, sql - :tickets: 4180 - - Fixed bug where the :class:`.Enum` type wouldn't handle - enum "aliases" correctly, when more than one key refers to the - same value. Pull request courtesy Daniel Knell. - diff --git a/doc/build/changelog/unreleased_12/4181.rst b/doc/build/changelog/unreleased_12/4181.rst deleted file mode 100644 index 877fe5ba6f..0000000000 --- a/doc/build/changelog/unreleased_12/4181.rst +++ /dev/null @@ -1,12 +0,0 @@ -.. change:: - :tags: bug, engine - :tickets: 4181 - - Fixed bug where events associated with an :class:`Engine` - at the class level would be doubled when the - :meth:`.Engine.execution_options` method were used. To - achieve this, the semi-private class :class:`.OptionEngine` - no longer accepts events directly at the class level - and will raise an error; the class only propagates class-level - events from its parent :class:`.Engine`. Instance-level - events continue to work as before. diff --git a/doc/build/changelog/unreleased_12/4182.rst b/doc/build/changelog/unreleased_12/4182.rst deleted file mode 100644 index 67126b41d3..0000000000 --- a/doc/build/changelog/unreleased_12/4182.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, oracle - :tickets: 4182 - - Fixed bug in cx_Oracle disconnect detection, used by pre_ping and other - features, where an error could be raised as DatabaseError which includes a - numeric error code; previously we weren't checking in this case for a - disconnect code. diff --git a/doc/build/changelog/unreleased_12/4188.rst b/doc/build/changelog/unreleased_12/4188.rst deleted file mode 100644 index fd1085472d..0000000000 --- a/doc/build/changelog/unreleased_12/4188.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. change:: - :tags: bug, orm - :tickets: 4188 - - Fixed bug in concrete inheritance mapping where user-defined - attributes such as hybrid properties that mirror the names - of mapped attributes from sibling classes would be overwritten by - the mapper as non-accessible at the instance level. Additionally - ensured that user-bound descriptors are not implicitly invoked at the class - level during the mapper configuration stage. diff --git a/doc/build/changelog/unreleased_12/add_initiator.rst b/doc/build/changelog/unreleased_12/add_initiator.rst deleted file mode 100644 index a37f9ae848..0000000000 --- a/doc/build/changelog/unreleased_12/add_initiator.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: feature, orm - - Added new argument :paramref:`.attributes.set_attribute.inititator` - to the :func:`.attributes.set_attribute` function, allowing an - event token received from a listener function to be propagated - to subsequent set events. diff --git a/doc/build/changelog/unreleased_12/ora_ondelete_reflect.rst b/doc/build/changelog/unreleased_12/ora_ondelete_reflect.rst deleted file mode 100644 index 6784fe5cc1..0000000000 --- a/doc/build/changelog/unreleased_12/ora_ondelete_reflect.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: feature, oracle - - The ON DELETE options for foreign keys are now part of - Oracle reflection. Oracle does not support ON UPDATE - cascades. Pull request courtesy Miroslav Shubernetskiy. - - diff --git a/doc/build/changelog/unreleased_12/sqlite_import.rst b/doc/build/changelog/unreleased_12/sqlite_import.rst deleted file mode 100644 index 55f3eb5117..0000000000 --- a/doc/build/changelog/unreleased_12/sqlite_import.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, sqlite - - Fixed the import error raised when a platform - has neither pysqlite2 nor sqlite3 installed, such - that the sqlite3-related import error is raised, - not the pysqlite2 one which is not the actual - failure mode. Pull request courtesy Robin. diff --git a/doc/build/conf.py b/doc/build/conf.py index ab72423913..15481d2101 100644 --- a/doc/build/conf.py +++ b/doc/build/conf.py @@ -110,9 +110,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.2" +release = "1.2.3" -release_date = "January 24, 2018" +release_date = "February 16, 2018" site_base = os.environ.get("RTD_SITE_BASE", "http://www.sqlalchemy.org") site_adapter_template = "docs_adapter.mako"