Skip to content

Commit 2ac24b7

Browse files
Tomasz Wojciktomwojcik
Tomasz Wojcik
authored andcommitted
create release 0.4.0
1 parent 9a1c5df commit 2ac24b7

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.python-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.8.0
1+
3.9.0

docs/source/changelog.md

+8
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
55

66
## Latest Release
77

8+
## [0.4.0] - 2024-03-04
9+
10+
* Drop support for Python 3.8. Now only 3.9+ is supported ( https://github.com/tomwojcik/starlette-context/pull/152/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711R29 )
11+
* Drop support for Starlette versions below 0.27.0 ( released May 16, 2023) ( https://github.com/tomwojcik/starlette-context/pull/152/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711R30 )
12+
* Drop `ContextMiddleware` deprecation warning as Starlette no longer plans to deprecate it ( https://github.com/encode/starlette/discussions/2160#discussioncomment-6053386 )
13+
* Fix `starlette-context` potentially breaking using `ContextMiddleware` with `starlette>=0.41.3` ( https://github.com/tomwojcik/starlette-context/issues/151 )
14+
815
## [0.3.6] - 2023-02-16
916

1017
* Fix for being unable to catch some exceptions with a try/except due to base exc inheriting from the `BaseException` (Thanks @soundstripe) [#90](https://github.com/tomwojcik/starlette-context/issues/90)
@@ -86,6 +93,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
8693
**MVP until 0.1.4**
8794
* experiments and tests with ContextVar
8895

96+
[0.3.7]: https://github.com/tomwojcik/starlette-context/compare/v0.3.6...v0.3.7
8997
[0.3.6]: https://github.com/tomwojcik/starlette-context/compare/v0.3.5...v0.3.6
9098
[0.3.5]: https://github.com/tomwojcik/starlette-context/compare/v0.3.4...v0.3.5
9199
[0.3.4]: https://github.com/tomwojcik/starlette-context/compare/v0.3.3...v0.3.4

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "starlette-context"
3-
version = "0.3.6"
3+
version = "0.4.0"
44
description = "Middleware for Starlette that allows you to store and access the context data of a request. Can be used with logging so logs automatically use request headers such as x-request-id or x-correlation-id."
55
authors = ["Tom Wojcik <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)