diff --git a/docs/release_notes.rst b/docs/release_notes.rst index 82b9c6f0..08b45485 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -7,6 +7,22 @@ Release Notes =============== +0.15.0 +====== + +* Honor explicit expiration on cached permanent redirects. +* Parse ``Cache-Control`` directive names case-insensitively. +* Preserve the case of usernames and passwords in cache keys. +* Preserve CRLF bytes in cached chunked response bodies. +* Close discarded cached responses and release body files opened by + ``SeparateBodyFileCache``. +* Handle malformed ``Date`` headers without raising an assertion error. +* Treat invalid ``Expires`` values as expired and purge stale entries instead + of passing non-positive lifetimes to cache backends such as Redis. +* Log cache entry deserialization failures at debug level. +* Document security considerations for using CacheControl in :doc:`security`. +* Include tests in the source distribution. + 0.14.4 ====== diff --git a/pyproject.toml b/pyproject.toml index 5e3a1e76..d7ac933a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ module-root = "" [project] name = "CacheControl" -version = "0.14.4" +version = "0.15.0" description = "httplib2 caching for requests" readme = "README.rst" license = "Apache-2.0" diff --git a/uv.lock b/uv.lock index 6a1ad730..c0d122f2 100644 --- a/uv.lock +++ b/uv.lock @@ -78,7 +78,7 @@ wheels = [ [[package]] name = "cachecontrol" -version = "0.14.4" +version = "0.15.0" source = { editable = "." } dependencies = [ { name = "msgpack" },