From: Mike Bayer Date: Fri, 8 Feb 2019 20:12:18 +0000 (-0500) Subject: - 1.3.0b3 X-Git-Tag: rel_1_3_0b3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38d34ca4dadb68d80422e80ce17fc95f7ded6006;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - 1.3.0b3 --- diff --git a/doc/build/changelog/changelog_13.rst b/doc/build/changelog/changelog_13.rst index 143c6f65c4..6f624390db 100644 --- a/doc/build/changelog/changelog_13.rst +++ b/doc/build/changelog/changelog_13.rst @@ -12,7 +12,106 @@ .. changelog:: :version: 1.3.0b3 - :include_notes_from: unreleased_13 + :released: February 8, 2019 + + .. change:: + :tags: bug, ext + :tickets: 2642 + + Implemented a more comprehensive assignment operation (e.g. "bulk replace") + when using association proxy with sets or dictionaries. Fixes the problem + of redundant proxy objects being created to replace the old ones, which + leads to excessive events and SQL and in the case of unique constraints + will cause the flush to fail. + + .. seealso:: + + :ref:`change_2642` + + .. change:: + :tags: bug, postgresql + :tickets: 4473 + + Fixed issue where using an uppercase name for an index type (e.g. GIST, + BTREE, etc. ) or an EXCLUDE constraint would treat it as an identifier to + be quoted, rather than rendering it as is. The new behavior converts these + types to lowercase and ensures they contain only valid SQL characters. + + .. change:: + :tags: bug, orm + :tickets: 4469 + + Improved the behavior of :func:`.orm.with_polymorphic` in conjunction with + loader options, in particular wildcard operations as well as + :func:`.orm.load_only`. The polymorphic object will be more accurately + targeted so that column-level options on the entity will correctly take + effect.The issue is a continuation of the same kinds of things fixed in + :ticket:`4468`. + + + .. change:: + :tags: bug, sql + :tickets: 4481 + + Fully removed the behavior of strings passed directly as components of a + :func:`.select` or :class:`.Query` object being coerced to :func:`.text` + constructs automatically; the warning that has been emitted is now an + ArgumentError or in the case of order_by() / group_by() a CompileError. + This has emitted a warning since version 1.0 however its presence continues + to create concerns for the potential of mis-use of this behavior. + + Note that public CVEs have been posted for order_by() / group_by() which + are resolved by this commit: CVE-2019-7164 CVE-2019-7548 + + + .. seealso:: + + :ref:`change_4481` + + .. change:: + :tags: bug, sql + :tickets: 4467 + + Quoting is applied to :class:`.Function` names, those which are usually but + not necessarily generated from the :attr:`.sql.func` construct, at compile + time if they contain illegal characters, such as spaces or punctuation. The + names are as before treated as case insensitive however, meaning if the + names contain uppercase or mixed case characters, that alone does not + trigger quoting. The case insensitivity is currently maintained for + backwards compatibility. + + + .. change:: + :tags: bug, sql + :tickets: 4481 + + Added "SQL phrase validation" to key DDL phrases that are accepted as plain + strings, including :paramref:`.ForeignKeyConstraint.on_delete`, + :paramref:`.ForeignKeyConstraint.on_update`, + :paramref:`.ExcludeConstraint.using`, + :paramref:`.ForeignKeyConstraint.initially`, for areas where a series of SQL + keywords only are expected.Any non-space characters that suggest the phrase + would need to be quoted will raise a :class:`.CompileError`. This change + is related to the series of changes committed as part of :ticket:`4481`. + + .. change:: + :tags: bug, orm, declarative + :tickets: 4470 + + Added some helper exceptions that invoke when a mapping based on + :class:`.AbstractConcreteBase`, :class:`.DeferredReflection`, or + :class:`.AutoMap` is used before the mapping is ready to be used, which + contain descriptive information on the class, rather than falling through + into other failure modes that are less informative. + + + .. change:: + :tags: change, tests + :tickets: 4460 + + The test system has removed support for Nose, which is unmaintained for + several years and is producing warnings under Python 3. The test suite is + currently standardized on Pytest. Pull request courtesy Parth Shandilya. .. changelog:: :version: 1.3.0b2 diff --git a/doc/build/changelog/unreleased_13/2642.rst b/doc/build/changelog/unreleased_13/2642.rst deleted file mode 100644 index 649b1094b0..0000000000 --- a/doc/build/changelog/unreleased_13/2642.rst +++ /dev/null @@ -1,13 +0,0 @@ -.. change:: - :tags: bug, ext - :tickets: 2642 - - Implemented a more comprehensive assignment operation (e.g. "bulk replace") - when using association proxy with sets or dictionaries. Fixes the problem - of redundant proxy objects being created to replace the old ones, which - leads to excessive events and SQL and in the case of unique constraints - will cause the flush to fail. - - .. seealso:: - - :ref:`change_2642` diff --git a/doc/build/changelog/unreleased_13/4460.rst b/doc/build/changelog/unreleased_13/4460.rst deleted file mode 100644 index 52ae743044..0000000000 --- a/doc/build/changelog/unreleased_13/4460.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: change, tests - :tickets: 4460 - - The test system has removed support for Nose, which is unmaintained for - several years and is producing warnings under Python 3. The test suite is - currently standardized on Pytest. Pull request courtesy Parth Shandilya. diff --git a/doc/build/changelog/unreleased_13/4467.rst b/doc/build/changelog/unreleased_13/4467.rst deleted file mode 100644 index 189423ab23..0000000000 --- a/doc/build/changelog/unreleased_13/4467.rst +++ /dev/null @@ -1,12 +0,0 @@ -.. change:: - :tags: bug, sql - :tickets: 4467 - - Quoting is applied to :class:`.Function` names, those which are usually but - not necessarily generated from the :attr:`.sql.func` construct, at compile - time if they contain illegal characters, such as spaces or punctuation. The - names are as before treated as case insensitive however, meaning if the - names contain uppercase or mixed case characters, that alone does not - trigger quoting. The case insensitivity is currently maintained for - backwards compatibility. - diff --git a/doc/build/changelog/unreleased_13/4469.rst b/doc/build/changelog/unreleased_13/4469.rst deleted file mode 100644 index 0ef016709f..0000000000 --- a/doc/build/changelog/unreleased_13/4469.rst +++ /dev/null @@ -1,11 +0,0 @@ -.. change:: - :tags: bug, orm - :tickets: 4469 - - Improved the behavior of :func:`.orm.with_polymorphic` in conjunction with - loader options, in particular wildcard operations as well as - :func:`.orm.load_only`. The polymorphic object will be more accurately - targeted so that column-level options on the entity will correctly take - effect.The issue is a continuation of the same kinds of things fixed in - :ticket:`4468`. - diff --git a/doc/build/changelog/unreleased_13/4470.rst b/doc/build/changelog/unreleased_13/4470.rst deleted file mode 100644 index f859dca76e..0000000000 --- a/doc/build/changelog/unreleased_13/4470.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. change:: - :tags: bug, orm, declarative - :tickets: 4470 - - Added some helper exceptions that invoke when a mapping based on - :class:`.AbstractConcreteBase`, :class:`.DeferredReflection`, or - :class:`.AutoMap` is used before the mapping is ready to be used, which - contain descriptive information on the class, rather than falling through - into other failure modes that are less informative. - diff --git a/doc/build/changelog/unreleased_13/4473.rst b/doc/build/changelog/unreleased_13/4473.rst deleted file mode 100644 index cdafe2b7e3..0000000000 --- a/doc/build/changelog/unreleased_13/4473.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, postgresql - :tickets: 4473 - - Fixed issue where using an uppercase name for an index type (e.g. GIST, - BTREE, etc. ) or an EXCLUDE constraint would treat it as an identifier to - be quoted, rather than rendering it as is. The new behavior converts these - types to lowercase and ensures they contain only valid SQL characters. diff --git a/doc/build/changelog/unreleased_13/4481.rst b/doc/build/changelog/unreleased_13/4481.rst deleted file mode 100644 index af88428c3b..0000000000 --- a/doc/build/changelog/unreleased_13/4481.rst +++ /dev/null @@ -1,18 +0,0 @@ -.. change:: - :tags: bug, sql - :tickets: 4481 - - Fully removed the behavior of strings passed directly as components of a - :func:`.select` or :class:`.Query` object being coerced to :func:`.text` - constructs automatically; the warning that has been emitted is now an - ArgumentError or in the case of order_by() / group_by() a CompileError. - This has emitted a warning since version 1.0 however its presence continues - to create concerns for the potential of mis-use of this behavior. - - Note that public CVEs have been posted for order_by() / group_by() which - are resolved by this commit: CVE-2019-7164 CVE-2019-7548 - - - .. seealso:: - - :ref:`change_4481` \ No newline at end of file diff --git a/doc/build/changelog/unreleased_13/ddl_validation.rst b/doc/build/changelog/unreleased_13/ddl_validation.rst deleted file mode 100644 index 906710d319..0000000000 --- a/doc/build/changelog/unreleased_13/ddl_validation.rst +++ /dev/null @@ -1,12 +0,0 @@ -.. change:: - :tags: bug, sql - :tickets: 4481 - - Added "SQL phrase validation" to key DDL phrases that are accepted as plain - strings, including :paramref:`.ForeignKeyConstraint.on_delete`, - :paramref:`.ForeignKeyConstraint.on_update`, - :paramref:`.ExcludeConstraint.using`, - :paramref:`.ForeignKeyConstraint.initially`, for areas where a series of SQL - keywords only are expected.Any non-space characters that suggest the phrase - would need to be quoted will raise a :class:`.CompileError`. This change - is related to the series of changes committed as part of :ticket:`4481`. diff --git a/doc/build/conf.py b/doc/build/conf.py index e81bfb68d6..01c4c2be51 100644 --- a/doc/build/conf.py +++ b/doc/build/conf.py @@ -109,9 +109,9 @@ copyright = u'2007-2019, the SQLAlchemy authors and contributors' # The short X.Y version. version = "1.3" # The full version, including alpha/beta/rc tags. -release = "1.3.0b2" +release = "1.3.0b3" -release_date = "January 25, 2019" +release_date = "February 8, 2019" site_base = os.environ.get("RTD_SITE_BASE", "http://www.sqlalchemy.org") site_adapter_template = "docs_adapter.mako"