The Wire · Showcase
FASTAPI JUMPS TWO MINOR VERSIONS IN SQLMODEL REFRESH
By RepoJournal · Filed · About FastAPI & Pydantic
FastAPI 0.138.0 arrives in SQLModel's dependency sweep alongside pytest 9.1.1 and a critical SQLAlchemy ORM fix that unblocks subquery loads.
SQLModel just pulled in FastAPI 0.138.0 from 0.136.3 [1], marking the framework's biggest leap in months alongside 8 other package updates that reshape the stack. The real story is SQLAlchemy 2.0.51 [2], which fixes a gnarly ORM bug where subqueryload combined with of_type and and_ predicates was silently breaking relationship chains. pytest 9.1.1 [1] brings test infrastructure improvements that matter if you're running large suites. Ruff 0.15.19 [1] continues its aggressive linting push, now with better performance on complex repos. On the infrastructure side, SQLModel bumped GitHub Actions checkout to v7.0.0 [3], a major version jump that tightens security models around permission scopes. The Pydantic repo is quieter, rolling through routine CI action updates: CodSpeed profiling bumped to 4.18.1 [4], download-artifact to v21 [5], and pnpm setup to 6.0.9 [6], all minor lifecycle housekeeping that keeps workflows sharp.
Action items
- → Pin FastAPI 0.138.0 in your next SQLModel update if you're on async subqueries with polymorphic relationships tiangolo/sqlmodel [plan]
- → Apply SQLAlchemy 2.0.51 patch immediately if you use orm.subqueryload with relationship filters sqlalchemy/sqlalchemy [immediate]
- → Update GitHub Actions checkout to v7.0.0 in your CI workflows at next scheduled maintenance actions/checkout [plan]
References
- [1] ⬆ Bump the python-packages group across 1 directory with 8 updates ↗ tiangolo/sqlmodel
- [2] ⬆ Bump sqlalchemy from 2.0.50 to 2.0.51 ↗ tiangolo/sqlmodel
- [3] ⬆ Bump the github-actions group with 4 updates ↗ tiangolo/sqlmodel
- [4] Bump CodSpeedHQ/action from 4.14.0 to 4.18.1 ↗ pydantic/pydantic
- [5] Bump dawidd6/action-download-artifact from 19 to 21 ↗ pydantic/pydantic
- [6] Bump pnpm/action-setup from 6.0.8 to 6.0.9 ↗ pydantic/pydantic
FAQ
- What changed in FastAPI & Pydantic on July 3, 2026?
- FastAPI 0.138.0 arrives in SQLModel's dependency sweep alongside pytest 9.1.1 and a critical SQLAlchemy ORM fix that unblocks subquery loads.
- What should FastAPI & Pydantic teams do about it?
- Pin FastAPI 0.138.0 in your next SQLModel update if you're on async subqueries with polymorphic relationships • Apply SQLAlchemy 2.0.51 patch immediately if you use orm.subqueryload with relationship filters • Update GitHub Actions checkout to v7.0.0 in your CI workflows at next scheduled maintenance
- Which FastAPI & Pydantic repositories shipped on July 3, 2026?
- tiangolo/sqlmodel, pydantic/pydantic