github sqlalchemy/sqlalchemy rel_1_4_15
1.4.15

latest releases: rel_2_0_29, rel_2_0_28, rel_1_4_52...
2 years ago

1.4.15

Released: May 11, 2021

general

  • [general] [feature] A new approach has been applied to the warnings system in SQLAlchemy to
    accurately predict the appropriate stack level for each warning
    dynamically. This allows evaluating the source of SQLAlchemy-generated
    warnings and deprecation warnings to be more straightforward as the warning
    will indicate the source line within end-user code, rather than from an
    arbitrary level within SQLAlchemy's own source code.

    References: #6241

orm

  • [orm] [bug] [regression] Fixed additional regression caused by "eager loaders run on unexpire"
    feature #1763 where the feature would run for a
    contains_eager() eagerload option in the case that the
    contains_eager() were chained to an additional eager loader option,
    which would then produce an incorrect query as the original query-bound
    join criteria were no longer present.

    References: #6449

  • [orm] [bug] Fixed issue in subquery loader strategy which prevented caching from
    working correctly. This would have been seen in the logs as a "generated"
    message instead of "cached" for all subqueryload SQL emitted, which by
    saturating the cache with new keys would degrade overall performance; it
    also would produce "LRU size alert" warnings.

    References: #6459

sql

  • [sql] [bug] Adjusted the logic added as part of #6397 in 1.4.12 so that
    internal mutation of the BindParameter object occurs within the
    clause construction phase as it did before, rather than in the compilation
    phase. In the latter case, the mutation still produced side effects against
    the incoming construct and additionally could potentially interfere with
    other internal mutation routines.

    References: #6460

mysql

  • [mysql] [bug] [documentation] Added support for the ssl_check_hostname= parameter in mysql connection
    URIs and updated the mysql dialect documentation regarding secure
    connections. Original pull request courtesy of Jerry Zhao.

    References: #5397

Don't miss a new sqlalchemy release

NewReleases is sending notifications on new releases.