github sqlalchemy/sqlalchemy rel_1_2_14
1.2.14

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

1.2.14

Released: November 10, 2018

  • [bug] [orm] Fixed bug in Session.bulk_update_mappings() where alternate mapped
    attribute names would result in the primary key column of the UPDATE
    statement being included in the SET clause, as well as the WHERE clause;
    while usually harmless, for SQL Server this can raise an error due to the
    IDENTITY column. This is a continuation of the same bug that was fixed in
    #3849, where testing was insufficient to catch this additional
    flaw.

    References: #4357

  • [bug] [mysql] Fixed regression caused by #4344 released in 1.2.13, where the fix
    for MySQL 8.0's case sensitivity problem with referenced column names when
    reflecting foreign key referents is worked around using the
    information_schema.columns view. The workaround was failing on OSX /
    lower_case_table_names=2 which produces non-matching casing for the
    information_schema.columns vs. that of SHOW CREATE TABLE, so in
    case-insensitive SQL modes case-insensitive matching is now used.

    References: #4361

  • [bug] [orm] Fixed a minor performance issue which could in some cases add unnecessary
    overhead to result fetching, involving the use of ORM columns and entities
    that include those same columns at the same time within a query. The issue
    has to do with hash / eq overhead when referring to the column in different
    ways.

    References: #4347

Don't miss a new sqlalchemy release

NewReleases is sending notifications on new releases.