]> git.ipfire.org Git - thirdparty/starlette.git/commitdiff
prepare release 0.16.0 (#1233) 0.16.0
authorThomas Grainger <tagrain@gmail.com>
Mon, 19 Jul 2021 07:08:36 +0000 (08:08 +0100)
committerGitHub <noreply@github.com>
Mon, 19 Jul 2021 07:08:36 +0000 (08:08 +0100)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Co-authored-by: Jamie Hewland <jhewland@gmail.com>
docs/release-notes.md
starlette/__init__.py

index b6db7b9b6065d823709028f4fdeb889d0e33d62d..7305046f9df5a2d738a66b37e2714ef18ed20f1f 100644 (file)
@@ -1,3 +1,28 @@
+## 0.16.0
+
+July 19, 2021
+
+### Added
+ * Added [Encode](https://github.com/sponsors/encode) funding option
+   [#1219](https://github.com/encode/starlette/pull/1219)
+
+### Fixed
+ * `starlette.websockets.WebSocket` instances are now hashable and compare by identity
+    [#1039](https://github.com/encode/starlette/pull/1039)
+ * A number of fixes related to running task groups in lifespan
+   [#1213](https://github.com/encode/starlette/pull/1213),
+   [#1227](https://github.com/encode/starlette/pull/1227)
+
+### Deprecated/removed
+ * The method `starlette.templates.Jinja2Templates.get_env` was removed
+   [#1218](https://github.com/encode/starlette/pull/1218)
+ * The ClassVar `starlette.testclient.TestClient.async_backend` was removed,
+   the backend is now configured using constructor kwargs
+   [#1211](https://github.com/encode/starlette/pull/1211)
+ * Passing an Async Generator Function or a Generator Function to `starlette.router.Router(lifespan_context=)` is deprecated. You should wrap your lifespan in `@contextlib.asynccontextmanager`.
+   [#1227](https://github.com/encode/starlette/pull/1227)
+   [#1110](https://github.com/encode/starlette/pull/1110)
+
 ## 0.15.0
 
 June 23, 2021
index 9da2f8fcca63283303ea5956b255350e6cbc41fc..5a313cc7ef4af1ec1829732ee059788808655b76 100644 (file)
@@ -1 +1 @@
-__version__ = "0.15.0"
+__version__ = "0.16.0"