Skip to content

1.4.51

Compare
Choose a tag to compare
@sqla-tester sqla-tester released this 03 Jan 01:32
· 2460 commits to main since this release

1.4.51

Released: January 2, 2024

orm

  • [orm] [bug] Improved a fix first implemented for #3208 released in version
    0.9.8, where the registry of classes used internally by declarative could
    be subject to a race condition in the case where individual mapped classes
    are being garbage collected at the same time while new mapped classes are
    being constructed, as can happen in some test suite configurations or
    dynamic class creation environments. In addition to the weakref check
    already added, the list of items being iterated is also copied first to
    avoid "list changed while iterating" errors. Pull request courtesy Yilei
    Yang.

    References: #10782

asyncio

  • [asyncio] [bug] Fixed critical issue in asyncio version of the connection pool where
    calling _asyncio.AsyncEngine.dispose() would produce a new connection
    pool that did not fully re-establish the use of asyncio-compatible mutexes,
    leading to the use of a plain threading.Lock() which would then cause
    deadlocks in an asyncio context when using concurrency features like
    asyncio.gather().

    References: #10813

mysql

  • [mysql] [bug] Fixed regression introduced by the fix in ticket #10492 when using
    pool pre-ping with PyMySQL version older than 1.0.

    References: #10650