From: Sebastián Ramírez Date: Wed, 29 May 2019 12:33:19 +0000 (+0400) Subject: :memo: Update release notes X-Git-Tag: 0.26.0~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a1ff213a02b2edc60e099cd0acd255ebacbf0a6;p=thirdparty%2Ffastapi%2Ffastapi.git :memo: Update release notes --- diff --git a/docs/release-notes.md b/docs/release-notes.md index 8aef2d2b46..e53169b83f 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,5 +1,15 @@ ## Next release +* Separate error handling for validation errors. + * This will allow developers to customize the exception handlers. + * Document better how to handle exceptions and use error handlers. + * Include `RequestValidationError` and `WebSocketRequestValidationError` (this last one will be useful once [encode/starlette#527](https://github.com/encode/starlette/pull/527) or equivalent is merged). + * New documentation about exceptions handlers: + * [Install custom exception handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#install-custom-exception-handlers). + * [Override the default exception handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#override-the-default-exception-handlers). + * [Re-use **FastAPI's** exception handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#re-use-fastapis-exception-handlers). + * PR [#273](https://github.com/tiangolo/fastapi/pull/273). + * Fix support for *paths* in *path parameters* without needing explicit `Path(...)`. * PR [#256](https://github.com/tiangolo/fastapi/pull/256). * Documented in PR [#272](https://github.com/tiangolo/fastapi/pull/272) by [@wshayes](https://github.com/wshayes).