Skip to content

chore(deps): update dependency fastapi-slim to v0.118.2#92

Merged
malteo merged 1 commit into
masterfrom
renovate/fastapi-slim-0.x
Oct 10, 2025
Merged

chore(deps): update dependency fastapi-slim to v0.118.2#92
malteo merged 1 commit into
masterfrom
renovate/fastapi-slim-0.x

Conversation

@cloudesire-bot

@cloudesire-bot cloudesire-bot commented Oct 3, 2025

Copy link
Copy Markdown
Collaborator

This PR contains the following updates:

Package Type Update Change
fastapi-slim (changelog) project.dependencies minor ==0.117.1 -> ==0.118.2

Release Notes

fastapi/fastapi (fastapi-slim)

v0.118.2

Compare Source

Fixes
Internal

v0.118.1

Compare Source

Upgrades
Docs
Translations
Internal

v0.118.0

Compare Source

0.118.0

Fixes
  • 🐛 Fix support for StreamingResponses with dependencies with yield or UploadFiles, close after the response is done. PR #​14099 by @​tiangolo.

Before FastAPI 0.118.0, if you used a dependency with yield, it would run the exit code after the path operation function returned but right before sending the response.

This change also meant that if you returned a StreamingResponse, the exit code of the dependency with yield would have been already run.

For example, if you had a database session in a dependency with yield, the StreamingResponse would not be able to use that session while streaming data because the session would have already been closed in the exit code after yield.

This behavior was reverted in 0.118.0, to make the exit code after yield be executed after the response is sent.

You can read more about it in the docs for Advanced Dependencies - Dependencies with yield, HTTPException, except and Background Tasks. Including what you could do if you wanted to close a database session earlier, before returning the response to the client.

Docs
Translations
Internal

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@cloudesire-bot cloudesire-bot force-pushed the renovate/fastapi-slim-0.x branch from 3660b5d to f5fce97 Compare October 10, 2025 07:07
@cloudesire-bot cloudesire-bot changed the title chore(deps): update dependency fastapi-slim to v0.118.0 chore(deps): update dependency fastapi-slim to v0.118.2 Oct 10, 2025
@malteo malteo merged commit 5c76072 into master Oct 10, 2025
3 checks passed
@malteo malteo deleted the renovate/fastapi-slim-0.x branch October 10, 2025 07:20
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