Skip to content

Bump sqlalchemy from 1.3.20 to 1.4.17

Norman Ziegner requested to merge dependabot/pip/sqlalchemy-1.4.17 into master

Bumps sqlalchemy from 1.3.20 to 1.4.17.

Release notes

Sourced from sqlalchemy's releases.

1.4.17

Released: May 29, 2021

orm

  • [orm] [bug] [regression] Fixed regression caused by just-released performance fix mentioned in #6550 where a query.join() to a relationship could produce an AttributeError if the query were made against non-ORM structures only, a fairly unusual calling pattern.

    References: #6558

1.4.16

Released: May 28, 2021

general

  • [general] [bug] Resolved various deprecation warnings which were appearing as of Python version 3.10.0b1.

    References: #6540, #6543

orm

  • [orm] [bug] Fixed issue when using _orm.relationship.cascade_backrefs parameter set to False, which per change_5150 is set to become the standard behavior in SQLAlchemy 2.0, where adding the item to a collection that uniquifies, such as set or dict would fail to fire a cascade event if the object were already associated in that collection via the backref. This fix represents a fundamental change in the collection mechanics by introducing a new event state which can fire off for a collection mutation even if there is no net change on the collection; the action is now suited using a new event hook _orm.AttributeEvents.append_wo_mutation().

    References: #6471

  • [orm] [bug] [regression] Fixed regression involving clause adaption of labeled ORM compound elements, such as single-table inheritance discriminator expressions with conditionals or CASE expressions, which could cause aliased expressions such as those used in ORM join / joinedload operations to not be adapted correctly, such as referring to the wrong table in the ON clause in a join.

    This change also improves a performance bump that was located within the process of invoking _sql.Select.join() given an ORM attribute

... (truncated)

Commits

Merge request reports

Loading