sample-platform
sample-platform copied to clipboard
Bump sqlalchemy from 1.4.41 to 2.0.36
Bumps sqlalchemy from 1.4.41 to 2.0.36.
Release notes
Sourced from sqlalchemy's releases.
2.0.36
Released: October 15, 2024
orm
[orm] [usecase] Added new parameter
_orm.mapped_column.hashto ORM constructs such as_orm.mapped_column(),_orm.relationship(), etc., which is interpreted for ORM Native Dataclasses in the same way as other dataclass-specific field parameters.References: #11923
[orm] [bug] Fixed bug in ORM bulk update/delete where using RETURNING with bulk update/delete in combination with
populate_existingwould fail to accommodate thepopulate_existingoption.References: #11912
[orm] [bug] Continuing from #11912, columns marked with
mapped_column.onupdate,mapped_column.server_onupdate, orComputedare now refreshed in ORM instances when running an ORM enabled UPDATE with WHERE criteria, even if the statement does not use RETURNING orpopulate_existing.References: #11917
[orm] [bug] Fixed regression caused by fixes to joined eager loading in #11449 released in 2.0.31, where a particular joinedload case could not be asserted correctly. We now have an example of that case so the assertion has been repaired to allow for it.
References: #11965
[orm] [bug] Improved the error message emitted when trying to map as dataclass a class while also manually providing the
__table__attribute. This usage is currently not supported.References: #11973
[orm] [bug] Refined the check which the ORM lazy loader uses to detect "this would be loading by primary key and the primary key is NULL, skip loading" to take into account the current setting for the
orm.Mapper.allow_partial_pksparameter. If this parameter isFalse, then a composite PK value that has partial NULL elements should also be skipped. This can apply to some composite overlapping foreign key configurations.
... (truncated)
Commits
- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code