Skip to content

Commit

Permalink
prepare release 0.16.0 (#1233)
Browse files Browse the repository at this point in the history
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Co-authored-by: Jamie Hewland <jhewland@gmail.com>
  • Loading branch information
3 people committed Jul 19, 2021
1 parent b0a6d6f commit e45c579
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions docs/release-notes.md
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion starlette/__init__.py
@@ -1 +1 @@
__version__ = "0.15.0"
__version__ = "0.16.0"

0 comments on commit e45c579

Please sign in to comment.