Skip to content

Commit 78272ac

Browse files
committed
🔖 Release 0.39.0
1 parent f1bee9a commit 78272ac

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.39.0
4+
35
* Allow path parameters to have default values (e.g. `None`) and discard them instead of raising an error.
46
* This allows declaring a parameter like `user_id: str = None` that can be taken from a query parameter, but the same path operation can be included in a router with a path `/users/{user_id}`, in which case will be taken from the path and will be required.
57
* PR [#464](https://github.com/tiangolo/fastapi/pull/464) by [@jonathanunderwood](https://github.com/jonathanunderwood).

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.38.1"
3+
__version__ = "0.39.0"
44

55
from starlette.background import BackgroundTasks
66

0 commit comments

Comments
 (0)