Skip to content

Commit 119c427

Browse files
authored
Prepare version 0.15.0 (#1202)
* Prepare version 0.15.0 * Remember to add a note about websocket_connect * Add date and blurb to release notes * Bump version to 0.15.0 * Add note about fixing #1012
1 parent 7ed2890 commit 119c427

2 files changed

Lines changed: 40 additions & 4 deletions

File tree

docs/release-notes.md

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,47 @@
11
## 0.15.0
22

3-
Unreleased
3+
June 23, 2021
44

5-
### Deprecated
5+
This release includes major changes to the low-level asynchronous parts of Starlette. As a result,
6+
**Starlette now depends on [AnyIO](https://anyio.readthedocs.io/en/stable/)** and some minor API
7+
changes have occurred. Another significant change with this release is the
8+
**deprecation of built-in GraphQL support**.
9+
10+
### Added
11+
* Starlette now supports [Trio](https://trio.readthedocs.io/en/stable/) as an async runtime via
12+
AnyIO - [#1157](https://github.com/encode/starlette/pull/1157).
13+
* `TestClient.websocket_connect()` now must be used as a context manager.
14+
* Initial support for Python 3.10 - [#1201](https://github.com/encode/starlette/pull/1201).
15+
* The compression level used in `GZipMiddleware` is now adjustable -
16+
[#1128](https://github.com/encode/starlette/pull/1128).
17+
18+
### Fixed
19+
* Several fixes to `CORSMiddleware`. See [#1111](https://github.com/encode/starlette/pull/1111),
20+
[#1112](https://github.com/encode/starlette/pull/1112),
21+
[#1113](https://github.com/encode/starlette/pull/1113),
22+
[#1199](https://github.com/encode/starlette/pull/1199).
23+
* Improved exception messages in the case of duplicated path parameter names -
24+
[#1177](https://github.com/encode/starlette/pull/1177).
25+
* `RedirectResponse` now uses `quote` instead of `quote_plus` encoding for the `Location` header
26+
to better match the behaviour in other frameworks such as Django -
27+
[#1164](https://github.com/encode/starlette/pull/1164).
28+
* Exception causes are now preserved in more cases -
29+
[#1158](https://github.com/encode/starlette/pull/1158).
30+
* Session cookies now use the ASGI root path in the case of mounted applications -
31+
[#1147](https://github.com/encode/starlette/pull/1147).
32+
* Fixed a cache invalidation bug when static files were deleted in certain circumstances -
33+
[#1023](https://github.com/encode/starlette/pull/1023).
34+
* Improved memory usage of `BaseHTTPMiddleware` when handling large responses -
35+
[#1012](https://github.com/encode/starlette/issues/1012) fixed via #1157
36+
37+
### Deprecated/removed
638

739
* Built-in GraphQL support via the `GraphQLApp` class has been deprecated and will be removed in a
8-
future release. Please see [#619](https://github.com/encode/starlette/issues/619).
40+
future release. Please see [#619](https://github.com/encode/starlette/issues/619). GraphQL is not
41+
supported on Python 3.10.
42+
* The `executor` parameter to `GraphQLApp` was removed. Use `executor_class` instead.
43+
* The `workers` parameter to `WSGIMiddleware` was removed. This hasn't had any effect since
44+
Starlette v0.6.3.
945

1046
## 0.14.2
1147

starlette/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.14.2"
1+
__version__ = "0.15.0"

0 commit comments

Comments
 (0)