mirror of https://github.com/tiangolo/fastapi.git
🔖 Release 0.39.0
This commit is contained in:
parent
f1bee9a271
commit
78272ac1f3
|
|
@ -1,5 +1,7 @@
|
||||||
## Latest changes
|
## Latest changes
|
||||||
|
|
||||||
|
## 0.39.0
|
||||||
|
|
||||||
* Allow path parameters to have default values (e.g. `None`) and discard them instead of raising an error.
|
* Allow path parameters to have default values (e.g. `None`) and discard them instead of raising an error.
|
||||||
* 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.
|
* 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.
|
||||||
* PR [#464](https://github.com/tiangolo/fastapi/pull/464) by [@jonathanunderwood](https://github.com/jonathanunderwood).
|
* PR [#464](https://github.com/tiangolo/fastapi/pull/464) by [@jonathanunderwood](https://github.com/jonathanunderwood).
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
"""FastAPI framework, high performance, easy to learn, fast to code, ready for production"""
|
"""FastAPI framework, high performance, easy to learn, fast to code, ready for production"""
|
||||||
|
|
||||||
__version__ = "0.38.1"
|
__version__ = "0.39.0"
|
||||||
|
|
||||||
from starlette.background import BackgroundTasks
|
from starlette.background import BackgroundTasks
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue