Skip to content

Commit

Permalink
- 2.0.25
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzeek committed Jan 3, 2024
1 parent b9b1a0b commit b836ca0
Show file tree
Hide file tree
Showing 8 changed files with 66 additions and 60 deletions.
65 changes: 64 additions & 1 deletion doc/build/changelog/changelog_20.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,70 @@

.. changelog::
:version: 2.0.25
:include_notes_from: unreleased_20
:released: January 2, 2024

.. change::
:tags: oracle, asyncio
:tickets: 10679

Added support for :ref:`oracledb` in asyncio mode, using the newly released
version of the ``oracledb`` DBAPI that includes asyncio support. For the
2.0 series, this is a preview release, where the current implementation
does not yet have include support for
:meth:`_asyncio.AsyncConnection.stream`. Improved support is planned for
the 2.1 release of SQLAlchemy.

.. change::
:tags: bug, orm
:tickets: 10800

Fixed issue where when making use of the
:paramref:`_orm.relationship.post_update` feature at the same time as using
a mapper version_id_col could lead to a situation where the second UPDATE
statement emitted by the post-update feature would fail to make use of the
correct version identifier, assuming an UPDATE was already emitted in that
flush which had already bumped the version counter.

.. change::
:tags: bug, typing
:tickets: 10801, 10818

Fixed regressions caused by typing added to the ``sqlalchemy.sql.functions``
module in version 2.0.24, as part of :ticket:`6810`:

* Further enhancements to pep-484 typing to allow SQL functions from
:attr:`_sql.func` derived elements to work more effectively with ORM-mapped
attributes (:ticket:`10801`)

* Fixed the argument types passed to functions so that literal expressions
like strings and ints are again interpreted correctly (:ticket:`10818`)


.. change::
:tags: usecase, orm
:tickets: 10807

Added preliminary support for Python 3.12 pep-695 type alias structures,
when resolving custom type maps for ORM Annotated Declarative mappings.


.. change::
:tags: bug, orm
:tickets: 10815

Fixed issue where ORM Annotated Declarative would mis-interpret the left
hand side of a relationship without any collection specified as
uselist=True if the left type were given as a class and not a string,
without using future-style annotations.

.. change::
:tags: bug, sql
:tickets: 10817

Improved compilation of :func:`_sql.any_` / :func:`_sql.all_` in the
context of a negation of boolean comparison, will now render ``NOT (expr)``
rather than reversing the equality operator to not equals, allowing
finer-grained control of negations for these non-typical operators.

.. changelog::
:version: 2.0.24
Expand Down
10 changes: 0 additions & 10 deletions doc/build/changelog/unreleased_20/10679.rst

This file was deleted.

10 changes: 0 additions & 10 deletions doc/build/changelog/unreleased_20/10800.rst

This file was deleted.

14 changes: 0 additions & 14 deletions doc/build/changelog/unreleased_20/10801.rst

This file was deleted.

7 changes: 0 additions & 7 deletions doc/build/changelog/unreleased_20/10807.rst

This file was deleted.

8 changes: 0 additions & 8 deletions doc/build/changelog/unreleased_20/10815.rst

This file was deleted.

8 changes: 0 additions & 8 deletions doc/build/changelog/unreleased_20/10817.rst

This file was deleted.

4 changes: 2 additions & 2 deletions doc/build/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@
# The short X.Y version.
version = "2.0"
# The full version, including alpha/beta/rc tags.
release = "2.0.24"
release = "2.0.25"

release_date = "December 28, 2023"
release_date = "January 2, 2024"

site_base = os.environ.get("RTD_SITE_BASE", "https://www.sqlalchemy.org")
site_adapter_template = "docs_adapter.mako"
Expand Down

0 comments on commit b836ca0

Please sign in to comment.