.. 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
.. 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
.. changelog::
- :version: 2.0.0b5
+ :version: 2.0.0rc1
:include_notes_from: unreleased_20
.. changelog::
.. 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.
.. 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
.. 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
.. change::
:tags: bug, sql
:tickets: 9009
- :versions: 2.0.0b5
+ :versions: 2.0.0rc1
Added parameter
:paramref:`.FunctionElement.column_valued.joins_implicitly`, which is
.. 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
>>> 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
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>`.
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::
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:
``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
"""
``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
"""
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
"""
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
"""
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
"""
``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
"""
"""Provide the PostgreSQL REGCONFIG type.
- .. versionadded:: 2.0.0b5
+ .. versionadded:: 2.0.0rc1
"""
"""Provide the PostgreSQL TSQUERY type.
- .. versionadded:: 2.0.0b5
+ .. versionadded:: 2.0.0rc1
"""
"""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
``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::
underlying transaction, but not :meth:`_orm.Session.commit` or
:meth:`_orm.Session.close` calls.
- .. versionadded:: 2.0.0b5
+ .. versionadded:: 2.0.0rc1
""" # noqa
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``.
: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
"""
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
"""
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(
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)
"""