diff --git a/CHANGELOG.md b/CHANGELOG.md index 14efeda8..8aec9237 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [2.0a12] - 2023-11-?? :fallen_leaf: +## [2.0a12] - 2023-11-17 :fallen_leaf: - Adds support for Python 3.12, by @bymoye - Replaces `pkg_resources` with `importlib.resources` for all supported Python @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Runs tests against Pydantic `2.4.2` instead of Pydantic `2.0` to check support for Pydantic v2. - Upgrades dependencies. +- Adds `.webp` and `.webm` to the list of extensions of files that are served + by default. ## [2.0a11] - 2023-09-19 :warning: diff --git a/blacksheep/__init__.py b/blacksheep/__init__.py index ad9f2e5d..6799e8f3 100644 --- a/blacksheep/__init__.py +++ b/blacksheep/__init__.py @@ -3,7 +3,7 @@ used types to reduce the verbosity of the imports statements. """ __author__ = "Roberto Prevato " -__version__ = "2.0a11" +__version__ = "2.0a12" from .contents import Content as Content from .contents import FormContent as FormContent diff --git a/blacksheep/server/files/__init__.py b/blacksheep/server/files/__init__.py index 65b9494e..89f0a64a 100644 --- a/blacksheep/server/files/__init__.py +++ b/blacksheep/server/files/__init__.py @@ -190,6 +190,8 @@ def get_default_extensions() -> Set[str]: ".svg", ".mp4", ".mp3", + ".webp", + ".webm", }