Skip to content

Upgrade FastAPI to 0.134.0 and Starlette to 1.0.1#3437

Merged
gantoine merged 1 commit into
masterfrom
claude/gallant-bell-qLNfe
May 26, 2026
Merged

Upgrade FastAPI to 0.134.0 and Starlette to 1.0.1#3437
gantoine merged 1 commit into
masterfrom
claude/gallant-bell-qLNfe

Conversation

@gantoine
Copy link
Copy Markdown
Member

@gantoine gantoine commented May 26, 2026

Description

This PR upgrades two core dependencies:

  • FastAPI from ~0.121.1 to ~0.134.0
  • Starlette from ~0.49 to ~1.0.1

These upgrades bring in the latest features, performance improvements, and bug fixes from both libraries. Starlette 1.0.1 is a major version release, so this may include breaking changes that should be validated during testing.

Checklist

  • I've tested the changes locally
  • I've updated relevant comments
  • I've assigned reviewers for this PR
  • I've added unit tests that cover the changes

Starlette versions 0.8.3-1.0.0 are vulnerable to improper Host header
validation when reconstructing request.url, which can cause
request.url.path to differ from the actual requested path and bypass
path-based security checks. Patched in 1.0.1.

Bumps fastapi to 0.134.0 since 0.121.x pins starlette<0.50.0.

https://claude.ai/code/session_01P9NtqqFN9dVW1c5Uno6oRC
@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedpypi/​fastapi@​0.121.1 ⏵ 0.134.0100100100100100

View full report

@gantoine gantoine marked this pull request as ready for review May 26, 2026 20:07
Copilot AI review requested due to automatic review settings May 26, 2026 20:07
@gantoine gantoine merged commit 6bc3d58 into master May 26, 2026
8 of 9 checks passed
@gantoine gantoine deleted the claude/gallant-bell-qLNfe branch May 26, 2026 20:08
@gantoine gantoine review requested due to automatic review settings May 26, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants