From: Sebastián Ramírez Date: Sat, 16 Feb 2019 13:06:31 +0000 (+0400) Subject: :bookmark: Release 0.5.0 with new HTTPException X-Git-Tag: 0.5.0 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=894e131e03ede4a68a037a62d9ea77c82f4fce3b;p=thirdparty%2Ffastapi%2Ffastapi.git :bookmark: Release 0.5.0 with new HTTPException --- diff --git a/docs/release-notes.md b/docs/release-notes.md index 79a61bdc0c..07ede5b57b 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,31 +1,35 @@ ## Next -* Add documentation to use Starlette `Request` object directly. Check #25 by @euri10 +## 0.5.0 -* Add issue templates to simplify reporting bugs, getting help, etc: #34 +* Add new `HTTPException` with support for custom headers. With new documentation for handling errors at: https://fastapi.tiangolo.com/tutorial/handling-errors/. PR #35. + +* Add documentation to use Starlette `Request` object directly. Check #25 by @euri10. + +* Add issue templates to simplify reporting bugs, getting help, etc: #34. * Update example for the SQLAlchemy tutorial at https://fastapi.tiangolo.com/tutorial/sql-databases/ using middleware and database session attached to request. ## 0.4.0 -* Add `openapi_prefix`, support for reverse proxy and mounting sub-applicaitons. See the docs at https://fastapi.tiangolo.com/tutorial/sub-applications-proxy/: #26 by @kabirkhan +* Add `openapi_prefix`, support for reverse proxy and mounting sub-applicaitons. See the docs at https://fastapi.tiangolo.com/tutorial/sub-applications-proxy/: #26 by @kabirkhan. * Update docs/tutorial for SQLAlchemy including note about *DB Browser for SQLite*. ## 0.3.0 -* Fix/add SQLAlchemy support, including ORM, and update docs for SQLAlchemy: #30 +* Fix/add SQLAlchemy support, including ORM, and update docs for SQLAlchemy: #30. ## 0.2.1 -* Fix `jsonable_encoder` for Pydantic models with `Config` but without `json_encoders`: #29 +* Fix `jsonable_encoder` for Pydantic models with `Config` but without `json_encoders`: #29. ## 0.2.0 -* Fix typos in Security section: #24 by @kkinder +* Fix typos in Security section: #24 by @kkinder. -* Add support for Pydantic custom JSON encoders: #21 by @euri10 +* Add support for Pydantic custom JSON encoders: #21 by @euri10. ## 0.1.19 -* Upgrade Starlette version to the current latest `0.10.1`: #17 by @euri10 +* Upgrade Starlette version to the current latest `0.10.1`: #17 by @euri10. diff --git a/fastapi/__init__.py b/fastapi/__init__.py index 2449014ce0..7a03ddc287 100644 --- a/fastapi/__init__.py +++ b/fastapi/__init__.py @@ -1,6 +1,6 @@ """FastAPI framework, high performance, easy to learn, fast to code, ready for production""" -__version__ = "0.4.0" +__version__ = "0.5.0" from .applications import FastAPI from .routing import APIRouter