From 8d4b0949debe5fecf229b84b9a059ea29e78714c Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Fri, 15 Apr 2022 20:22:31 +0200 Subject: [PATCH 1/4] Version 0.19.1 --- docs/release-notes.md | 9 +++++++++ starlette/__init__.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index f2cb34cce..5eb9a7e2d 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,3 +1,12 @@ +## 0.19.1 + +April 15, 2022 + +### Fixed +* Apply right name to `Route` when created from methods [#1553](https://github.com/encode/starlette/pull/1553) +* Avoid `TypeError` on `websocket.disconnect` when code is `None` [#1574](https://github.com/encode/starlette/pull/1574) + + ## 0.19.0 March 9, 2022 diff --git a/starlette/__init__.py b/starlette/__init__.py index 11ac8e1a9..4c1ca3c80 100644 --- a/starlette/__init__.py +++ b/starlette/__init__.py @@ -1 +1 @@ -__version__ = "0.19.0" +__version__ = "0.19.1" From e943359c8a47442e8ddbe1859d2f4c3b99a8d270 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Fri, 22 Apr 2022 07:00:41 +0200 Subject: [PATCH 2/4] Apply suggestions from code review --- docs/release-notes.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index 5eb9a7e2d..1838a2abd 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -3,8 +3,11 @@ April 15, 2022 ### Fixed -* Apply right name to `Route` when created from methods [#1553](https://github.com/encode/starlette/pull/1553) -* Avoid `TypeError` on `websocket.disconnect` when code is `None` [#1574](https://github.com/encode/starlette/pull/1574) +* Apply right name to `Route` when created from methods [#1553](https://github.com/encode/starlette/pull/1553). +* Avoid `TypeError` on `websocket.disconnect` when code is `None` [#1574](https://github.com/encode/starlette/pull/1574). + +### Deprecated +* Deprecate `WS_1004_NO_STATUS_RCVD` and `WS_1005_ABNORMAL_CLOSURE` in favor of `WS_1005_NO_STATUS_RCVD` and `WS_1006_ABNORMAL_CLOSURE`, as the previous constants didn't match the [WebSockets specs](https://www.iana.org/assignments/websocket/websocket.xhtml) [#1580](https://github.com/encode/starlette/pull/1580). ## 0.19.0 From 7f526d32bd0b64643414d76edc6fa2d191f46288 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Fri, 22 Apr 2022 07:02:56 +0200 Subject: [PATCH 3/4] Update docs/release-notes.md --- docs/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index 1838a2abd..587805348 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,6 +1,6 @@ ## 0.19.1 -April 15, 2022 +April 22, 2022 ### Fixed * Apply right name to `Route` when created from methods [#1553](https://github.com/encode/starlette/pull/1553). From adca02a447f42ee42b549ec7f3276e6a7e09d402 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Fri, 22 Apr 2022 07:18:39 +0200 Subject: [PATCH 4/4] Update docs/release-notes.md Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> --- docs/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index 587805348..abec69bd4 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -3,7 +3,7 @@ April 22, 2022 ### Fixed -* Apply right name to `Route` when created from methods [#1553](https://github.com/encode/starlette/pull/1553). +* Fix inference of `Route.name` when created from methods [#1553](https://github.com/encode/starlette/pull/1553). * Avoid `TypeError` on `websocket.disconnect` when code is `None` [#1574](https://github.com/encode/starlette/pull/1574). ### Deprecated