Skip to content

Commit 65536cb

Browse files
committed
🔖 Release version 0.42.0: Answer to the Ultimate Question of Life, the Universe, and Everything
1 parent 0192eab commit 65536cb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/release-notes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Latest changes
22

3+
## 0.42.0
4+
35
* Add dependencies with `yield`, a.k.a. exit steps, context managers, cleanup, teardown, ...
46
* This allows adding extra code after a dependency is done. It can be used, for example, to close database connections.
57
* Dependencies with `yield` can be normal or `async`, **FastAPI** will run normal dependencies in a threadpool.

fastapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""FastAPI framework, high performance, easy to learn, fast to code, ready for production"""
22

3-
__version__ = "0.41.0"
3+
__version__ = "0.42.0"
44

55
from starlette.background import BackgroundTasks
66

0 commit comments

Comments
 (0)