github sqlalchemy/sqlalchemy rel_1_4_44
1.4.44

latest releases: rel_2_0_29, rel_2_0_28, rel_1_4_52...
17 months ago

1.4.44

Released: November 12, 2022

sql

  • [sql] [bug] Fixed critical memory issue identified in cache key generation, where for
    very large and complex ORM statements that make use of lots of ORM aliases
    with subqueries, cache key generation could produce excessively large keys
    that were orders of magnitude bigger than the statement itself. Much thanks
    to Rollo Konig Brock for their very patient, long term help in finally
    identifying this issue.

    References: #8790

postgresql

  • [postgresql] [bug] [mssql] For the PostgreSQL and SQL Server dialects only, adjusted the compiler so
    that when rendering column expressions in the RETURNING clause, the "non
    anon" label that's used in SELECT statements is suggested for SQL
    expression elements that generate a label; the primary example is a SQL
    function that may be emitting as part of the column's type, where the label
    name should match the column's name by default. This restores a not-well
    defined behavior that had changed in version 1.4.21 due to #6718,
    #6710. The Oracle dialect has a different RETURNING implementation
    and was not affected by this issue. Version 2.0 features an across the
    board change for its widely expanded support of RETURNING on other
    backends.

    References: #8770

oracle

  • [oracle] [bug] Fixed issue in the Oracle dialect where an INSERT statement that used
    insert(some_table).values(...).returning(some_table) against a full
    Table object at once would fail to execute, raising an exception.

tests

  • [tests] [bug] Fixed issue where the --disable-asyncio parameter to the test suite
    would fail to not actually run greenlet tests and would also not prevent
    the suite from using a "wrapping" greenlet for the whole suite. This
    parameter now ensures that no greenlet or asyncio use will occur within the
    entire run when set.

    References: #8793

  • [tests] [bug] Adjusted the test suite which tests the Mypy plugin to accommodate for
    changes in Mypy 0.990 regarding how it handles message output, which affect
    how sys.path is interpreted when determining if notes and errors should be
    printed for particular files. The change broke the test suite as the files
    within the test directory itself no longer produced messaging when run
    under the mypy API.

Don't miss a new sqlalchemy release

NewReleases is sending notifications on new releases.