Title: ⬆ Bump sqlalchemy from 2.0.50 to 2.0.51 by dependabot[bot] · Pull Request #2013 · fastapi/sqlmodel · GitHub
Open Graph Title: ⬆ Bump sqlalchemy from 2.0.50 to 2.0.51 by dependabot[bot] · Pull Request #2013 · fastapi/sqlmodel
X Title: ⬆ Bump sqlalchemy from 2.0.50 to 2.0.51 by dependabot[bot] · Pull Request #2013 · fastapi/sqlmodel
Description: Bumps sqlalchemy from 2.0.50 to 2.0.51.
Release notes
Sourced from sqlalchemy's releases.
2.0.51
Released: June 15, 2026
orm
[orm] [bug] Fixed issue where _orm.subqueryload() combined with
PropComparator.of_type() and PropComparator.and_() would
silently drop the additional filter criteria, causing all related objects
to be loaded instead of only those matching the filter. The
LoaderCriteriaOption was being constructed against the base
entity rather than the effective entity indicated by
PropComparator.of_type(). Pull request courtesy Arya Rizky.
References: #13207
[orm] [bug] Fixed bug where a failure during tpc_prepare() within
_orm.Session.commit() for a two-phase session would raise
IllegalStateChangeError instead of the original database
exception. The internal _prepare_impl() method's error handler
was unable to invoke _orm.SessionTransaction.rollback() due
to a state-change guard, preventing proper cleanup and masking the
underlying error.
References: #13356
engine
[engine] [bug] Fixed issue where Result.freeze() would lose track of ambiguous
column names present in the original CursorResult, causing
key-based access on the thawed result to silently return a value instead of
raising InvalidRequestError. The
SimpleResultMetaData now accepts and propagates ambiguous key
information so that frozen, thawed, and pickled results raise consistently
for duplicate column names. Pull request courtesy Saurabh Kohli.
References: #9427
sql
[sql] [bug] Fixed issue where _sql.StatementLambdaElement would proxy
attribute access through the cached "expected" expression rather than the
resolved expression, causing stale closure-bound parameter values to be
used when a lambda statement was extended with non-lambda criteria such as
an additional .where() clause. Courtesy cjc0013.
References: #10827
... (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 rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot show
Open Graph Description: Bumps sqlalchemy from 2.0.50 to 2.0.51. Release notes Sourced from sqlalchemy's releases. 2.0.51 Released: June 15, 2026 orm [orm] [bug] Fixed issue where _orm.subqueryload() combined with ...
X Description: Bumps sqlalchemy from 2.0.50 to 2.0.51. Release notes Sourced from sqlalchemy's releases. 2.0.51 Released: June 15, 2026 orm [orm] [bug] Fixed issue where _orm.subqueryload() combined w...
Opengraph URL: https://github.com/fastapi/sqlmodel/pull/2013
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:542bd798-f38f-f79a-b5da-fb9dcd2e2d1c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BF48:28A483:50A0E3:6B1CF8:6B019C7D |
| html-safe-nonce | 7612311aa8168717583e003b294969586f12dd67297e6ead5b3daa47338cd940 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjQ4OjI4QTQ4Mzo1MEEwRTM6NkIxQ0Y4OjZCMDE5QzdEIiwidmlzaXRvcl9pZCI6Ijg5OTM1NzIyMzU4MzkxMTg0NjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9d9fa831e422cf0e4f7121ea3aa216b15a521accf02131f13e43a162d846f067 |
| hovercard-subject-tag | pull_request:3923411625 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/fastapi/sqlmodel/pull/2013/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps sqlalchemy from 2.0.50 to 2.0.51. Release notes Sourced from sqlalchemy's releases. 2.0.51 Released: June 15, 2026 orm [orm] [bug] Fixed issue where _orm.subqueryload() combined with ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/fastapi/sqlmodel git https://github.com/fastapi/sqlmodel.git |
| octolytics-dimension-user_id | 156354296 |
| octolytics-dimension-user_login | fastapi |
| octolytics-dimension-repository_id | 399495186 |
| octolytics-dimension-repository_nwo | fastapi/sqlmodel |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 399495186 |
| octolytics-dimension-repository_network_root_nwo | fastapi/sqlmodel |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width