]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
changelog edits
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Feb 2025 18:59:22 +0000 (13:59 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Feb 2025 18:59:22 +0000 (13:59 -0500)
Change-Id: I61164f4af388d8f4f157ad6afe96ccbb668587a7

doc/build/changelog/unreleased_20/12077.rst
doc/build/changelog/unreleased_20/12117.rst
doc/build/changelog/unreleased_20/12159.rst
doc/build/changelog/unreleased_20/12285.rst
doc/build/changelog/unreleased_20/12289.rst
doc/build/changelog/unreleased_20/12302.rst
doc/build/changelog/unreleased_20/12314.rst
doc/build/changelog/whatsnew_20.rst

index ac1c5a95e50ae9853503619fa71ecf8f48cb5365..94511b172d855e7bc054cc24107b7a785b8cceb4 100644 (file)
@@ -2,6 +2,7 @@
     :tags: postgresql, usecase, asyncio
     :tickets: 12077
 
-    Added an additional ``shield()`` call within the connection terminate
-    process of the asyncpg driver, to mitigate an issue where terminate would
-    be prevented from completing under the anyio concurrency library.
+    Added an additional ``asyncio.shield()`` call within the connection
+    terminate process of the asyncpg driver, to mitigate an issue where
+    terminate would be prevented from completing under the anyio concurrency
+    library.
index b4da4db1ef1b14c0438bf23ff989285daa191e87..a82ddc36f8bac9ff188ebe03d6a7685a78ce14c0 100644 (file)
@@ -2,7 +2,8 @@
     :tags: bug, dml, mariadb, mysql
     :tickets: 12117
 
-    Fixed a bug where the :class:`MySQLCompiler` would not properly compile statements
-    where :meth:`_mysql.Insert.on_duplicate_key_update` was passed values that included
-    :class:`InstrumentedAttribute` as keys.
-    Pull request courtesy of mingyu.
+    Fixed a bug where the MySQL statement compiler would not properly compile
+    statements where :meth:`_mysql.Insert.on_duplicate_key_update` was passed
+    values that included ORM-mapped attributes (e.g.
+    :class:`InstrumentedAttribute` objects) as keys. Pull request courtesy of
+    mingyu.
index 3babbf9db72364a23c9dacab2beb8fe253fcb3aa..50496759faf9b7d7888819182cda9b959f041909 100644 (file)
@@ -2,9 +2,9 @@
     :tags: bug, postgresql
     :tickets: 12159
 
-    Adjusted the asyncpg connection wrapper so that the asyncpg
-    ``.transaction()`` call sends ``None`` for isolation_level if not otherwise
-    set in the SQLAlchemy dialect/wrapper, thereby allowing asyncpg to make use
-    of the server level setting for isolation_level in the absense of a
-    client-level setting. Previously, this behavior of asyncpg was blocked by a
-    hardcoded ``read_committed``.
+    Adjusted the asyncpg connection wrapper so that the
+    ``connection.transaction()`` call sent to asyncpg sends ``None`` for
+    ``isolation_level`` if not otherwise set in the SQLAlchemy dialect/wrapper,
+    thereby allowing asyncpg to make use of the server level setting for
+    ``isolation_level`` in the absense of a client-level setting. Previously,
+    this behavior of asyncpg was blocked by a hardcoded ``read_committed``.
index 2c1451b36084d79c5e51f08957b1be1bea3fe588..5d815f84ca2d1ec0519ff9dd58753c72b68b3f67 100644 (file)
@@ -1,6 +1,10 @@
 .. change::
-    :tags: change, sqlite, aiosqlite, asyncio, pool
+    :tags: bug, sqlite, aiosqlite, asyncio, pool
     :tickets: 12285
 
-    Changed default connection pool of aiosqlite from NullPool to AsyncAdaptedQueuePool for consistency with pysqlite.
+    Changed default connection pool used by the ``aiosqlite`` dialect
+    from :class:`.NullPool` to :class:`.AsyncAdaptedQueuePool`; this change
+    should have been made when 2.0 was first released as the ``pysqlite``
+    dialect was similarly changed to use :class:`.QueuePool` as detailed
+    in :ref:`change_7490`.
 
index 7ac111c0f503e3bce1bcf3d5d2c663161b5609ad..33bc0f50a0a66cb13711235ee6bdea42f03beb23 100644 (file)
@@ -2,7 +2,7 @@
     :tags: bug, engine
     :tickets: 12289
 
-    Fixed issue where creating an :class:`.Engine` using multiple calls to
-    :meth:`.Engine.execution_options` where a subsequent call involved certain
-    options such as ``isolation_level`` would lead to an internal error
+    Fixed event-related issue where invoking :meth:`.Engine.execution_options`
+    on a :class:`.Engine` multiple times while making use of event-registering
+    parameters such as ``isolation_level`` would lead to internal errors
     involving event registration.
index 38d4544898974ec6b2a98e3fb959df4df2415cfb..43c1f7fafcd3e3b9d0b6672123670a70259d6397 100644 (file)
@@ -2,7 +2,7 @@
     :tags: bug, sql
     :tickets: 12302
 
-    Reorganized the internals by which the `.c` collection on a
+    Reorganized the internals by which the ``.c`` collection on a
     :class:`.FromClause` gets generated so that it is resilient against the
     collection being accessed in concurrent fashion.   An example is creating a
     :class:`.Alias` or :class:`.Subquery` and accessing it as a module level
index 6d5e83adeba1781deb3fb483d8459a4054f1ad63..626c316bf92e2347c152171290261e9b5adeb147 100644 (file)
@@ -2,8 +2,8 @@
     :tags: bug, sql
     :tickets: 12314
 
-    Fixed SQL rendering bug which impacted caching where using a ``None`` value
-    inside of an ``in_()`` expression would bypass the usual "expanded bind
-    parameter" logic used by the IN construct, which allows proper caching to
-    take place.
+    Fixed SQL composition bug which impacted caching where using a ``None``
+    value inside of an ``in_()`` expression would bypass the usual "expanded
+    bind parameter" logic used by the IN construct, which allows proper caching
+    to take place.
 
index 26241d58db5176785c805f86f33567aa6163509d..5b81b4aa4963eb7b2b203bf263eff9f7809fc41b 100644 (file)
@@ -2185,6 +2185,11 @@ hold onto database connections after they are released, did in fact have a
 measurable negative performance impact. As always, the pool class is
 customizable via the :paramref:`_sa.create_engine.poolclass` parameter.
 
+.. versionchanged:: 2.0.37 - an equivalent change is also made for the
+   ``aiosqlite`` dialect, using :class:`._pool.AsyncAdaptedQueuePool` instead
+   of :class:`._pool.NullPool`.  The ``aiosqlite`` dialect was not included
+   in the initial change in error.
+
 .. seealso::
 
     :ref:`pysqlite_threading_pooling`