github sqlalchemy/sqlalchemy rel_1_2_1
1.2.1

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

1.2.1

Released: January 15, 2018

  • [bug] [sql] Fixed bug in Insert.values() where using the "multi-values"
    format in combination with Column objects as keys rather
    than strings would fail. Pull request courtesy Aubrey Stark-Toller.

    This change is also backported to: 1.1.16

    References: #4162

  • [bug] [orm] Fixed bug where an object that is expunged during a rollback of
    a nested or subtransaction which also had its primary key mutated
    would not be correctly removed from the session, causing subsequent
    issues in using the session.

    This change is also backported to: 1.1.16

    References: #4151

  • [bug] [orm] Fixed regression where pickle format of a Load / _UnboundLoad object (e.g.
    loader options) changed and __setstate__() was raising an
    UnboundLocalError for an object received from the legacy format, even
    though an attempt was made to do so. tests are now added to ensure this
    works.

    References: #4159

  • [bug] [ext] Fixed regression in association proxy due to #3769
    (allow for chained any() / has()) where contains() against
    an association proxy chained in the form
    (o2m relationship, associationproxy(m2o relationship, m2o relationship))
    would raise an error regarding the re-application of contains()
    on the final link of the chain.

    References: #4150

  • [bug] [orm] Fixed regression caused by new lazyload caching scheme in #3954
    where a query that makes use of loader options with of_type would cause
    lazy loads of unrelated paths to fail with a TypeError.

    References: #4153

  • [bug] [oracle] Fixed regression where the removal of most setinputsizes
    rules from cx_Oracle dialect impacted the TIMESTAMP
    datatype's ability to retrieve fractional seconds.

    References: #4157

  • [bug] [tests] Removed an oracle-specific requirements rule from the public
    test suite that was interfering with third party dialect
    suites.

  • [bug] [mssql] Fixed regression in 1.2 where newly repaired quoting
    of collation names in #3785 breaks SQL Server,
    which explicitly does not understand a quoted collation
    name. Whether or not mixed-case collation names are
    quoted or not is now deferred down to a dialect-level
    decision so that each dialect can prepare these identifiers
    directly.

    References: #4154

  • [bug] [orm] Fixed bug in new "selectin" relationship loader where the loader could try
    to load a non-existent relationship when loading a collection of
    polymorphic objects, where only some of the mappers include that
    relationship, typically when PropComparator.of_type() is being used.

    References: #4156

  • [bug] [tests] Added a new exclusion rule group_by_complex_expression
    which disables tests that use "GROUP BY ", which seems
    to be not viable for at least two third party dialects.

  • [bug] [oracle] Fixed regression in Oracle imports where a missing comma caused
    an undefined symbol to be present. Pull request courtesy
    Miroslav Shubernetskiy.

Don't miss a new sqlalchemy release

NewReleases is sending notifications on new releases.