From bf51fc2d22c940e2bbe1c6e9de57c9b6faa7ebe6 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 8 Nov 2018 12:07:17 +0000 Subject: [PATCH] Version 0.8.0 --- docs/release-notes.md | 25 +++++++++++++++++++++++++ starlette/__init__.py | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index 69a7874e..7c123974 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,3 +1,28 @@ +## 0.8.0 + +### Exceptions + +* Add support for `@app.exception_handler(404)`. +* Ensure handled exceptions are not seen as errors by the middleware stack. + +### SessionMiddleware + +* Add `max_age`, and use timestamp-signed cookies. Defaults to two weeks. + +### Cookies + +* Ensure cookies are strictly HTTP correct. + +### StaticFiles + +* Check directory exists on instantiation. + +## 0.7.4 + +### Concurrency + +* Add `starlette.concurrency.run_in_threadpool`. Now handles `contextvar` support. + ## 0.7.3 ### Routing diff --git a/starlette/__init__.py b/starlette/__init__.py index ed9d4d87..777f190d 100644 --- a/starlette/__init__.py +++ b/starlette/__init__.py @@ -1 +1 @@ -__version__ = "0.7.4" +__version__ = "0.8.0"