From 51a928d3f5a5f8bd08a84bb9408d296852ed336b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Sat, 24 Aug 2019 20:08:04 -0500 Subject: [PATCH] :memo: Update release notes --- docs/release-notes.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/release-notes.md b/docs/release-notes.md index 366363d6e..7ba76ec17 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,5 +1,12 @@ ## Latest changes +* Allow having empty paths in *path operations* used with `include_router` and a `prefix`. + * This allows having a router for `/cats` and all its *path operations*, while having one of them for `/cats`. + * Now it doesn't have to be only `/cats/` (with a trailing slash). + * To use it, declare the path in the *path operation* as the empty string (`""`). + * PR [#415](https://github.com/tiangolo/fastapi/pull/415) by [@vitalik](https://github.com/vitalik). +* Fix mypy error after merging PR #415. PR [#462](https://github.com/tiangolo/fastapi/pull/462). + ## 0.35.0 * Fix typo in routing `assert`. PR [#419](https://github.com/tiangolo/fastapi/pull/419) by [@pablogamboa](https://github.com/pablogamboa).