From: Mike Bayer Date: Tue, 27 Dec 2022 22:28:36 +0000 (-0500) Subject: rename 2.0.0b5 to 2.0.0rc1 X-Git-Tag: rel_2_0_0rc1~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ea98184dd0842f222772f13f02a373359132281;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git rename 2.0.0b5 to 2.0.0rc1 it's hoped for 2.0.0 final to be next, in early January Change-Id: If4285f0929f4a2895f2bc93d9e8336599b973bcf --- diff --git a/doc/build/changelog/changelog_14.rst b/doc/build/changelog/changelog_14.rst index 248b2041ca..dc699e7f15 100644 --- a/doc/build/changelog/changelog_14.rst +++ b/doc/build/changelog/changelog_14.rst @@ -73,7 +73,7 @@ This document details individual issue-level changes made throughout .. change:: :tags: bug, asyncio :tickets: 8952 - :versions: 2.0.0b5 + :versions: 2.0.0rc1 Removed non-functional ``merge()`` method from :class:`_asyncio.AsyncResult`. This method has never worked and was @@ -138,7 +138,7 @@ This document details individual issue-level changes made throughout .. change:: :tags: bug, oracle :tickets: 8945 - :versions: 2.0.0b5 + :versions: 2.0.0rc1 Fixed issue in Oracle compiler where the syntax for :meth:`.FunctionElement.column_valued` was incorrect, rendering the name diff --git a/doc/build/changelog/changelog_20.rst b/doc/build/changelog/changelog_20.rst index 11220ba429..df97d3833d 100644 --- a/doc/build/changelog/changelog_20.rst +++ b/doc/build/changelog/changelog_20.rst @@ -9,7 +9,7 @@ .. changelog:: - :version: 2.0.0b5 + :version: 2.0.0rc1 :include_notes_from: unreleased_20 .. changelog:: diff --git a/doc/build/changelog/unreleased_14/8393.rst b/doc/build/changelog/unreleased_14/8393.rst index fab9eb04c7..e59c91d428 100644 --- a/doc/build/changelog/unreleased_14/8393.rst +++ b/doc/build/changelog/unreleased_14/8393.rst @@ -1,7 +1,7 @@ .. change:: :tags: usecase, postgresql :tickets: 8393 - :versions: 2.0.0b5 + :versions: 2.0.0rc1 Added the PostgreSQL type ``MACADDR8``. Pull request courtesy of Asim Farooq. diff --git a/doc/build/changelog/unreleased_14/8969.rst b/doc/build/changelog/unreleased_14/8969.rst index 8458706c80..04602759e5 100644 --- a/doc/build/changelog/unreleased_14/8969.rst +++ b/doc/build/changelog/unreleased_14/8969.rst @@ -1,7 +1,7 @@ .. change:: :tags: bug, sqlite :tickets: 8969 - :versions: 2.0.0b5 + :versions: 2.0.0rc1 Fixed regression caused by new support for reflection of partial indexes on SQLite added in 1.4.45 for :ticket:`8804`, where the ``index_list`` pragma diff --git a/doc/build/changelog/unreleased_14/8989.rst b/doc/build/changelog/unreleased_14/8989.rst index 2287bec7b4..a7353f2699 100644 --- a/doc/build/changelog/unreleased_14/8989.rst +++ b/doc/build/changelog/unreleased_14/8989.rst @@ -1,7 +1,7 @@ .. change:: :tags: bug, sql :tickets: 8989 - :versions: 2.0.0b5 + :versions: 2.0.0rc1 Fixed bug where SQL compilation would fail (assertion fail in 2.0, NoneType error in 1.4) when using an expression whose type included diff --git a/doc/build/changelog/unreleased_14/9009.rst b/doc/build/changelog/unreleased_14/9009.rst index 9520b3e133..597d1e583f 100644 --- a/doc/build/changelog/unreleased_14/9009.rst +++ b/doc/build/changelog/unreleased_14/9009.rst @@ -1,7 +1,7 @@ .. change:: :tags: bug, sql :tickets: 9009 - :versions: 2.0.0b5 + :versions: 2.0.0rc1 Added parameter :paramref:`.FunctionElement.column_valued.joins_implicitly`, which is diff --git a/doc/build/changelog/unreleased_20/8977.rst b/doc/build/changelog/unreleased_20/8977.rst index 904e08bf39..ae81f98903 100644 --- a/doc/build/changelog/unreleased_20/8977.rst +++ b/doc/build/changelog/unreleased_20/8977.rst @@ -1,7 +1,7 @@ .. change:: :tags: postgresql, bug :tickets: 8977 - :versions: 2.0.0b5 + :versions: 2.0.0rc1 Added support for explicit use of PG full text functions with asyncpg and psycopg (SQLAlchemy 2.0 only), with regards to the ``REGCONFIG`` type cast diff --git a/doc/build/orm/dataclasses.rst b/doc/build/orm/dataclasses.rst index 0e2e5a9705..4566d704fe 100644 --- a/doc/build/orm/dataclasses.rst +++ b/doc/build/orm/dataclasses.rst @@ -462,7 +462,7 @@ variable may be generated:: >>> u1.password_hash '$6$9ppc... (example crypted string....)' -.. versionchanged:: 2.0.0b5 When using :meth:`_orm.registry.mapped_as_dataclass` +.. versionchanged:: 2.0.0rc1 When using :meth:`_orm.registry.mapped_as_dataclass` or :class:`.MappedAsDataclass`, fields that do not include the :class:`.Mapped` annotation may be included, which will be treated as part of the resulting dataclass but not be mapped, without the need to diff --git a/doc/build/orm/persistence_techniques.rst b/doc/build/orm/persistence_techniques.rst index 911bc410db..0a68befb3b 100644 --- a/doc/build/orm/persistence_techniques.rst +++ b/doc/build/orm/persistence_techniques.rst @@ -318,7 +318,7 @@ above table will look like: INSERT INTO my_table DEFAULT VALUES RETURNING my_table.id, my_table.timestamp, my_table.special_identifier -.. versionchanged:: 2.0.0b5 The :paramref:`_orm.Mapper.eager_defaults` parameter now defaults +.. versionchanged:: 2.0.0rc1 The :paramref:`_orm.Mapper.eager_defaults` parameter now defaults to a new setting ``"auto"``, which will automatically make use of RETURNING to fetch server-generated default values on INSERT if the backing database supports both RETURNING as well as :ref:`insertmanyvalues `. diff --git a/doc/build/orm/queryguide/api.rst b/doc/build/orm/queryguide/api.rst index 35259a3b38..559010cf7d 100644 --- a/doc/build/orm/queryguide/api.rst +++ b/doc/build/orm/queryguide/api.rst @@ -401,7 +401,7 @@ to view the two distinct identity tokens:: The above logic takes place automatically when using the :ref:`horizontal_sharding_toplevel` extension. -.. versionadded:: 2.0.0b5 - added the ``identity_token`` ORM level execution +.. versionadded:: 2.0.0rc1 - added the ``identity_token`` ORM level execution option. .. seealso:: diff --git a/lib/sqlalchemy/__init__.py b/lib/sqlalchemy/__init__.py index 8d61d59de6..beed25cdcb 100644 --- a/lib/sqlalchemy/__init__.py +++ b/lib/sqlalchemy/__init__.py @@ -259,7 +259,7 @@ from .types import Uuid as Uuid from .types import VARBINARY as VARBINARY from .types import VARCHAR as VARCHAR -__version__ = "2.0.0b5" +__version__ = "2.0.0rc1" def __go(lcls: Any) -> None: diff --git a/lib/sqlalchemy/dialects/postgresql/ext.py b/lib/sqlalchemy/dialects/postgresql/ext.py index 31fbf203be..812b542cca 100644 --- a/lib/sqlalchemy/dialects/postgresql/ext.py +++ b/lib/sqlalchemy/dialects/postgresql/ext.py @@ -339,7 +339,7 @@ class to_tsvector(_regconfig_fn): ``sqlalchemy.func.to_tsvector()``, ensuring the correct argument and return type handlers are used at compile and execution time. - .. versionadded:: 2.0.0b5 + .. versionadded:: 2.0.0rc1 """ @@ -361,7 +361,7 @@ class to_tsquery(_regconfig_fn): ``sqlalchemy.func.to_tsquery()``, ensuring the correct argument and return type handlers are used at compile and execution time. - .. versionadded:: 2.0.0b5 + .. versionadded:: 2.0.0rc1 """ @@ -383,7 +383,7 @@ class plainto_tsquery(_regconfig_fn): invoking ``sqlalchemy.func.plainto_tsquery()``, ensuring the correct argument and return type handlers are used at compile and execution time. - .. versionadded:: 2.0.0b5 + .. versionadded:: 2.0.0rc1 """ @@ -405,7 +405,7 @@ class phraseto_tsquery(_regconfig_fn): invoking ``sqlalchemy.func.phraseto_tsquery()``, ensuring the correct argument and return type handlers are used at compile and execution time. - .. versionadded:: 2.0.0b5 + .. versionadded:: 2.0.0rc1 """ @@ -427,7 +427,7 @@ class websearch_to_tsquery(_regconfig_fn): invoking ``sqlalchemy.func.websearch_to_tsquery()``, ensuring the correct argument and return type handlers are used at compile and execution time. - .. versionadded:: 2.0.0b5 + .. versionadded:: 2.0.0rc1 """ @@ -449,7 +449,7 @@ class ts_headline(_regconfig_fn): ``sqlalchemy.func.ts_headline()``, ensuring the correct argument and return type handlers are used at compile and execution time. - .. versionadded:: 2.0.0b5 + .. versionadded:: 2.0.0rc1 """ diff --git a/lib/sqlalchemy/dialects/postgresql/types.py b/lib/sqlalchemy/dialects/postgresql/types.py index eda6511463..549548e010 100644 --- a/lib/sqlalchemy/dialects/postgresql/types.py +++ b/lib/sqlalchemy/dialects/postgresql/types.py @@ -112,7 +112,7 @@ class REGCONFIG(sqltypes.TypeEngine[str]): """Provide the PostgreSQL REGCONFIG type. - .. versionadded:: 2.0.0b5 + .. versionadded:: 2.0.0rc1 """ @@ -123,7 +123,7 @@ class TSQUERY(sqltypes.TypeEngine[str]): """Provide the PostgreSQL TSQUERY type. - .. versionadded:: 2.0.0b5 + .. versionadded:: 2.0.0rc1 """ diff --git a/lib/sqlalchemy/orm/context.py b/lib/sqlalchemy/orm/context.py index b3478b83e1..a5b73f933d 100644 --- a/lib/sqlalchemy/orm/context.py +++ b/lib/sqlalchemy/orm/context.py @@ -512,7 +512,7 @@ class ORMCompileState(AbstractORMCompileState): """given MapperEntity or ORMColumnEntity, setup polymorphic loading if called for by the Mapper. - As of #8168 in 2.0.0b5, polymorphic adapters, which greatly increase + As of #8168 in 2.0.0rc1, polymorphic adapters, which greatly increase the complexity of the query creation process, are not used at all except in the quasi-legacy cases of with_polymorphic referring to an alias and/or subquery. This would apply to concrete polymorphic diff --git a/lib/sqlalchemy/orm/mapper.py b/lib/sqlalchemy/orm/mapper.py index d684cd848f..4572efd454 100644 --- a/lib/sqlalchemy/orm/mapper.py +++ b/lib/sqlalchemy/orm/mapper.py @@ -358,7 +358,7 @@ class Mapper( ``RETURNING`` or "insertmanyreturning" is not available, server defaults will not be fetched. - .. versionchanged:: 2.0.0b5 added the "auto" option for + .. versionchanged:: 2.0.0rc1 added the "auto" option for :paramref:`.Mapper.eager_defaults` .. seealso:: diff --git a/lib/sqlalchemy/orm/session.py b/lib/sqlalchemy/orm/session.py index f1ff566343..9cb72255c5 100644 --- a/lib/sqlalchemy/orm/session.py +++ b/lib/sqlalchemy/orm/session.py @@ -1606,7 +1606,7 @@ class Session(_SessionClassMethods, EventTarget): underlying transaction, but not :meth:`_orm.Session.commit` or :meth:`_orm.Session.close` calls. - .. versionadded:: 2.0.0b5 + .. versionadded:: 2.0.0rc1 """ # noqa @@ -3501,7 +3501,7 @@ class Session(_SessionClassMethods, EventTarget): Contents of this dictionary are passed to the :meth:`.Session.get_bind` method. - .. versionadded: 2.0.0b5 + .. versionadded: 2.0.0rc1 :return: The object instance, or ``None``. diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 895e9724c1..73758ddfad 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -912,7 +912,7 @@ class SQLCompiler(Compiled): :meth:`_sql.SQLCompiler.bindparam_string` method may need to be augmented. See the cx_Oracle compiler for an example of this. - .. versionadded:: 2.0.0b5 + .. versionadded:: 2.0.0rc1 """ @@ -1061,7 +1061,7 @@ class SQLCompiler(Compiled): the "expanded" SQL is assigned here, and then used by the ``.params`` accessor and ``.construct_params()`` methods for their return values. - .. versionadded:: 2.0.0b5 + .. versionadded:: 2.0.0rc1 """ @@ -1624,7 +1624,7 @@ class SQLCompiler(Compiled): this method will provide for both the finalized SQL string as well as the parameters that would be used for a particular parameter set. - .. versionadded:: 2.0.0b5 + .. versionadded:: 2.0.0rc1 """ parameters = self.construct_params( diff --git a/test/orm/inheritance/test_concrete.py b/test/orm/inheritance/test_concrete.py index 3cbccfcd3d..5a6ecff210 100644 --- a/test/orm/inheritance/test_concrete.py +++ b/test/orm/inheritance/test_concrete.py @@ -1015,7 +1015,7 @@ class PropertyInheritanceTest(fixtures.MappedTest): def test_overlapping_backref_relationship(self): """test #3630. - was revisited in #4629 (not fixed until 2.0.0b5 despite the old + was revisited in #4629 (not fixed until 2.0.0rc1 despite the old issue number) """