From: Mike Bayer Date: Mon, 1 Feb 2021 20:52:15 +0000 (-0500) Subject: - 1.3.23 X-Git-Tag: rel_1_3_23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4d7a872823220b9ec906fadea986a30c26db7887;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - 1.3.23 --- diff --git a/doc/build/changelog/changelog_13.rst b/doc/build/changelog/changelog_13.rst index 831643c95f..517552a3d0 100644 --- a/doc/build/changelog/changelog_13.rst +++ b/doc/build/changelog/changelog_13.rst @@ -12,7 +12,115 @@ .. changelog:: :version: 1.3.23 - :include_notes_from: unreleased_13 + :released: February 1, 2021 + + .. change:: + :tags: bug, ext + :tickets: 5836 + + Fixed issue where the stringification that is sometimes called when + attempting to generate the "key" for the ``.c`` collection on a selectable + would fail if the column were an unlabeled custom SQL construct using the + ``sqlalchemy.ext.compiler`` extension, and did not provide a default + compilation form; while this seems like an unusual case, it can get invoked + for some ORM scenarios such as when the expression is used in an "order by" + in combination with joined eager loading. The issue is that the lack of a + default compiler function was raising :class:`.CompileError` and not + :class:`.UnsupportedCompilationError`. + + .. change:: + :tags: bug, postgresql + :tickets: 5645 + + For SQLAlchemy 1.3 only, setup.py pins pg8000 to a version lower than + 1.16.6. Version 1.16.6 and above is supported by SQLAlchemy 1.4. Pull + request courtesy Giuseppe Lumia. + + .. change:: + :tags: bug, postgresql + :tickets: 5850 + + Fixed issue where using :meth:`_schema.Table.to_metadata` (called + :meth:`_schema.Table.tometadata` in 1.3) in conjunction with a PostgreSQL + :class:`_postgresql.ExcludeConstraint` that made use of ad-hoc column + expressions would fail to copy correctly. + + .. change:: + :tags: bug, sql + :tickets: 5816 + + Fixed bug where making use of the :meth:`.TypeEngine.with_variant` method + on a :class:`.TypeDecorator` type would fail to take into account the + dialect-specific mappings in use, due to a rule in :class:`.TypeDecorator` + that was instead attempting to check for chains of :class:`.TypeDecorator` + instances. + + + .. change:: + :tags: bug, mysql, reflection + :tickets: 5860 + + Fixed bug where MySQL server default reflection would fail for numeric + values with a negation symbol present. + + + .. change:: + :tags: bug, oracle + :tickets: 5813 + + Fixed regression in Oracle dialect introduced by :ticket:`4894` in + SQLAlchemy 1.3.11 where use of a SQL expression in RETURNING for an UPDATE + would fail to compile, due to a check for "server_default" when an + arbitrary SQL expression is not a column. + + + .. change:: + :tags: usecase, mysql + :tickets: 5808 + + Casting to ``FLOAT`` is now supported in MySQL >= (8, 0, 17) and + MariaDb >= (10, 4, 5). + + .. change:: + :tags: bug, mysql + :tickets: 5898 + + Fixed long-lived bug in MySQL dialect where the maximum identifier length + of 255 was too long for names of all types of constraints, not just + indexes, all of which have a size limit of 64. As metadata naming + conventions can create too-long names in this area, apply the limit to the + identifier generator within the DDL compiler. + + .. change:: + :tags: bug, oracle + :tickets: 5812 + + Fixed bug in Oracle dialect where retriving a CLOB/BLOB column via + :meth:`_dml.Insert.returning` would fail as the LOB value would need to be + read when returned; additionally, repaired support for retrieval of Unicode + values via RETURNING under Python 2. + + .. change:: + :tags: bug, mysql + :tickets: 5821 + + Fixed deprecation warnings that arose as a result of the release of PyMySQL + 1.0, including deprecation warnings for the "db" and "passwd" parameters + now replaced with "database" and "password". + + + .. change:: + :tags: bug, mysql + :tickets: 5800 + + Fixed regression from SQLAlchemy 1.3.20 caused by the fix for + :ticket:`5462` which adds double-parenthesis for MySQL functional + expressions in indexes, as is required by the backend, this inadvertently + extended to include arbitrary :func:`_sql.text` expressions as well as + Alembic's internal textual component, which are required by Alembic for + arbitrary index expressions which don't imply double parenthesis. The + check has been narrowed to include only binary/ unary/functional + expressions directly. .. changelog:: :version: 1.3.22 diff --git a/doc/build/changelog/unreleased_13/5645.rst b/doc/build/changelog/unreleased_13/5645.rst deleted file mode 100644 index e1fe072632..0000000000 --- a/doc/build/changelog/unreleased_13/5645.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: bug, postgresql - :tickets: 5645 - - For SQLAlchemy 1.3 only, setup.py pins pg8000 to a version lower than - 1.16.6. Version 1.16.6 and above is supported by SQLAlchemy 1.4. Pull - request courtesy Giuseppe Lumia. diff --git a/doc/build/changelog/unreleased_13/5800.rst b/doc/build/changelog/unreleased_13/5800.rst deleted file mode 100644 index 11bb7309ef..0000000000 --- a/doc/build/changelog/unreleased_13/5800.rst +++ /dev/null @@ -1,12 +0,0 @@ -.. change:: - :tags: bug, mysql - :tickets: 5800 - - Fixed regression from SQLAlchemy 1.3.20 caused by the fix for - :ticket:`5462` which adds double-parenthesis for MySQL functional - expressions in indexes, as is required by the backend, this inadvertently - extended to include arbitrary :func:`_sql.text` expressions as well as - Alembic's internal textual component, which are required by Alembic for - arbitrary index expressions which don't imply double parenthesis. The - check has been narrowed to include only binary/ unary/functional - expressions directly. \ No newline at end of file diff --git a/doc/build/changelog/unreleased_13/5808.rst b/doc/build/changelog/unreleased_13/5808.rst deleted file mode 100644 index b6625c0507..0000000000 --- a/doc/build/changelog/unreleased_13/5808.rst +++ /dev/null @@ -1,6 +0,0 @@ -.. change:: - :tags: usecase, mysql - :tickets: 5808 - - Casting to ``FLOAT`` is now supported in MySQL >= (8, 0, 17) and - MariaDb >= (10, 4, 5). \ No newline at end of file diff --git a/doc/build/changelog/unreleased_13/5812.rst b/doc/build/changelog/unreleased_13/5812.rst deleted file mode 100644 index e354a8ce47..0000000000 --- a/doc/build/changelog/unreleased_13/5812.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, oracle - :tickets: 5812 - - Fixed bug in Oracle dialect where retriving a CLOB/BLOB column via - :meth:`_dml.Insert.returning` would fail as the LOB value would need to be - read when returned; additionally, repaired support for retrieval of Unicode - values via RETURNING under Python 2. \ No newline at end of file diff --git a/doc/build/changelog/unreleased_13/5813.rst b/doc/build/changelog/unreleased_13/5813.rst deleted file mode 100644 index d6483a26fa..0000000000 --- a/doc/build/changelog/unreleased_13/5813.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: bug, oracle - :tickets: 5813 - - Fixed regression in Oracle dialect introduced by :ticket:`4894` in - SQLAlchemy 1.3.11 where use of a SQL expression in RETURNING for an UPDATE - would fail to compile, due to a check for "server_default" when an - arbitrary SQL expression is not a column. - diff --git a/doc/build/changelog/unreleased_13/5816.rst b/doc/build/changelog/unreleased_13/5816.rst deleted file mode 100644 index 5049622a8a..0000000000 --- a/doc/build/changelog/unreleased_13/5816.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. change:: - :tags: bug, sql - :tickets: 5816 - - Fixed bug where making use of the :meth:`.TypeEngine.with_variant` method - on a :class:`.TypeDecorator` type would fail to take into account the - dialect-specific mappings in use, due to a rule in :class:`.TypeDecorator` - that was instead attempting to check for chains of :class:`.TypeDecorator` - instances. - diff --git a/doc/build/changelog/unreleased_13/5821.rst b/doc/build/changelog/unreleased_13/5821.rst deleted file mode 100644 index a2c5d40824..0000000000 --- a/doc/build/changelog/unreleased_13/5821.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, mysql - :tickets: 5821 - - Fixed deprecation warnings that arose as a result of the release of PyMySQL - 1.0, including deprecation warnings for the "db" and "passwd" parameters - now replaced with "database" and "password". - diff --git a/doc/build/changelog/unreleased_13/5836.rst b/doc/build/changelog/unreleased_13/5836.rst deleted file mode 100644 index 0ddfb9a8db..0000000000 --- a/doc/build/changelog/unreleased_13/5836.rst +++ /dev/null @@ -1,13 +0,0 @@ -.. change:: - :tags: bug, ext - :tickets: 5836 - - Fixed issue where the stringification that is sometimes called when - attempting to generate the "key" for the ``.c`` collection on a selectable - would fail if the column were an unlabeled custom SQL construct using the - ``sqlalchemy.ext.compiler`` extension, and did not provide a default - compilation form; while this seems like an unusual case, it can get invoked - for some ORM scenarios such as when the expression is used in an "order by" - in combination with joined eager loading. The issue is that the lack of a - default compiler function was raising :class:`.CompileError` and not - :class:`.UnsupportedCompilationError`. diff --git a/doc/build/changelog/unreleased_13/5850.rst b/doc/build/changelog/unreleased_13/5850.rst deleted file mode 100644 index 2d73a42fb2..0000000000 --- a/doc/build/changelog/unreleased_13/5850.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: bug, postgresql - :tickets: 5850 - - Fixed issue where using :meth:`_schema.Table.to_metadata` (called - :meth:`_schema.Table.tometadata` in 1.3) in conjunction with a PostgreSQL - :class:`_postgresql.ExcludeConstraint` that made use of ad-hoc column - expressions would fail to copy correctly. \ No newline at end of file diff --git a/doc/build/changelog/unreleased_13/5860.rst b/doc/build/changelog/unreleased_13/5860.rst deleted file mode 100644 index f2897ed87f..0000000000 --- a/doc/build/changelog/unreleased_13/5860.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: bug, mysql, reflection - :tickets: 5860 - - Fixed bug where MySQL server default reflection would fail for numeric - values with a negation symbol present. - diff --git a/doc/build/changelog/unreleased_13/5898.rst b/doc/build/changelog/unreleased_13/5898.rst deleted file mode 100644 index a0758dad8b..0000000000 --- a/doc/build/changelog/unreleased_13/5898.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. change:: - :tags: bug, mysql - :tickets: 5898 - - Fixed long-lived bug in MySQL dialect where the maximum identifier length - of 255 was too long for names of all types of constraints, not just - indexes, all of which have a size limit of 64. As metadata naming - conventions can create too-long names in this area, apply the limit to the - identifier generator within the DDL compiler. diff --git a/doc/build/conf.py b/doc/build/conf.py index b730abc546..2d314b94a7 100644 --- a/doc/build/conf.py +++ b/doc/build/conf.py @@ -171,9 +171,9 @@ copyright = u"2007-2021, the SQLAlchemy authors and contributors" # noqa # The short X.Y version. version = "1.3" # The full version, including alpha/beta/rc tags. -release = "1.3.22" +release = "1.3.23" -release_date = "December 18, 2020" +release_date = "February 1, 2021" site_base = os.environ.get("RTD_SITE_BASE", "http://www.sqlalchemy.org") site_adapter_template = "docs_adapter.mako"