]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
rename 2.0.0b5 to 2.0.0rc1
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 27 Dec 2022 22:28:36 +0000 (17:28 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 27 Dec 2022 22:28:36 +0000 (17:28 -0500)
it's hoped for 2.0.0 final to be next, in early January

Change-Id: If4285f0929f4a2895f2bc93d9e8336599b973bcf

18 files changed:
doc/build/changelog/changelog_14.rst
doc/build/changelog/changelog_20.rst
doc/build/changelog/unreleased_14/8393.rst
doc/build/changelog/unreleased_14/8969.rst
doc/build/changelog/unreleased_14/8989.rst
doc/build/changelog/unreleased_14/9009.rst
doc/build/changelog/unreleased_20/8977.rst
doc/build/orm/dataclasses.rst
doc/build/orm/persistence_techniques.rst
doc/build/orm/queryguide/api.rst
lib/sqlalchemy/__init__.py
lib/sqlalchemy/dialects/postgresql/ext.py
lib/sqlalchemy/dialects/postgresql/types.py
lib/sqlalchemy/orm/context.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/sql/compiler.py
test/orm/inheritance/test_concrete.py

index 248b2041cabf89625bfe1f16ce54833d68ab5aad..dc699e7f156481b81d12b8380ebf45931f899ab4 100644 (file)
@@ -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
index 11220ba4297e17a84792eb36feb98ab7057974c5..df97d3833df3150dea42df9efc0049da90d7ddd1 100644 (file)
@@ -9,7 +9,7 @@
 
 
 .. changelog::
-    :version: 2.0.0b5
+    :version: 2.0.0rc1
     :include_notes_from: unreleased_20
 
 .. changelog::
index fab9eb04c7abdc570a3acdd27a32fe311bd3b1fc..e59c91d4284aa5ba2ad3d1042452b9b5229831f5 100644 (file)
@@ -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.
index 8458706c809ea94ac2a911cb8fc83722a16b3b52..04602759e503d62ec9a19790f0a1eb002ee8c0f9 100644 (file)
@@ -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
index 2287bec7b4df905269d3222638471be5affb625c..a7353f2699ba8d34a776a025540e3c784785c617 100644 (file)
@@ -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
index 9520b3e133c9bc4a4e195e4a18eaa9c9537551d7..597d1e583f3198a2da89683047061d2c9ed17263 100644 (file)
@@ -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
index 904e08bf39859b727639274f60252fd61df2311a..ae81f98903f56c74f3e5073fac9a1aa9024e52e4 100644 (file)
@@ -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
index 0e2e5a9705ff234c5fea1340fa30fbad7c59f6f3..4566d704fe917d70c131907c6b408b94869ff643 100644 (file)
@@ -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
index 911bc410dbff1da8b14bb4c1e7fb94a4d168b277..0a68befb3bf0f2deedde14c69d3b32d56636b469 100644 (file)
@@ -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 <engine_insertmanyvalues>`.
index 35259a3b38bf300874123b264795c4fb77e9706f..559010cf7d046deeaf4057820374ae9cba95dbdb 100644 (file)
@@ -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::
index 8d61d59de6321fd80564e02016d1dcd37ba7493b..beed25cdcbeb45b7037fdce9b333123dcb126d37 100644 (file)
@@ -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:
index 31fbf203be16e3d7edef0453a6a6de25f440fdb0..812b542cca33b7e4f7bacdff6049f06b12749c8e 100644 (file)
@@ -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
 
     """
 
index eda6511463061a16910f4efe356a32694b929cb4..549548e0104f08e789554f644db4d2d893f8ec96 100644 (file)
@@ -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
 
     """
 
index b3478b83e14511f6a39a5926ca1d9d3cec5ee027..a5b73f933d4621e8d45b758e789988e41ad54f87 100644 (file)
@@ -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
index d684cd848fef557002f6e254c0c2fdbde76f22be..4572efd45432d984e6eabde730043d3020836c86 100644 (file)
@@ -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::
index f1ff5663433f813a752ec2a576836ce0c5967168..9cb72255c53752986d3ceab19ffac8e28fddb61f 100644 (file)
@@ -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``.
 
index 895e9724c1922c60aa819d08e3451385383d16e5..73758ddfadcfa9071edfb21df8ea3429168ed0ad 100644 (file)
@@ -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(
index 3cbccfcd3d44d506c78b69a8e9cddd87ea86e78b..5a6ecff210fe1bb7a793a116760ff463f5f2b2d6 100644 (file)
@@ -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)
 
         """