diff --git a/CHANGES.rst b/CHANGES.rst index 3253d05..8c5435a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,5 +1,22 @@ + + .. towncrier release notes start +1.2.0 (2021-12-15) +================== + +Bugfixes +-------- + +- Raise a ``HTTPBadRequest`` instead of ``ValueError`` when ``X-Forwarded-For`` header is not a valid IP. (`#311 `_) + + +Deprecations and Removals +------------------------- + +- Dropped Python 3.6 support, the minimal supported aiohttp is 3.8.1 (`#331 `_) + + 1.1.0 (2021-11-04) ================== diff --git a/CHANGES/311.bugfix b/CHANGES/311.bugfix deleted file mode 100644 index 65560da..0000000 --- a/CHANGES/311.bugfix +++ /dev/null @@ -1 +0,0 @@ -Raise a ``HTTPBadRequest`` instead of ``ValueError`` when ``X-Forwarded-For`` header is not a valid IP. diff --git a/CHANGES/331.removal b/CHANGES/331.removal deleted file mode 100644 index 6e5f326..0000000 --- a/CHANGES/331.removal +++ /dev/null @@ -1 +0,0 @@ -Dropped Python 3.6 support, the minimal supported aiohttp is 3.8.1 diff --git a/aiohttp_remotes/__init__.py b/aiohttp_remotes/__init__.py index 5380f35..208f69d 100644 --- a/aiohttp_remotes/__init__.py +++ b/aiohttp_remotes/__init__.py @@ -6,7 +6,7 @@ """ -__version__ = "1.1.0" +__version__ = "1.2.0" from typing_extensions import Protocol diff --git a/pyproject.toml b/pyproject.toml index 5412a76..214d64d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ Documentation = "https://aiohttp-remotes.readthedocs.io" [tool.towncrier] -package = "aiohttp-remotes" +package = "aiohttp_remotes" filename = "CHANGES.rst" directory = "CHANGES/" title_format = "{version} ({project_date})"