From edf1e3eec0f6c8801702ceebd1f5c8c8651ef723 Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 11 Sep 2024 16:06:52 -0500 Subject: [PATCH 1/2] :bookmark: bump version 0.15.0 -> 0.16.0 --- .copier/package.yml | 2 +- pyproject.toml | 2 +- src/django_twc_toolbox/__init__.py | 2 +- tests/test_version.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.copier/package.yml b/.copier/package.yml index 83e83c3..bf71da3 100644 --- a/.copier/package.yml +++ b/.copier/package.yml @@ -3,7 +3,7 @@ _commit: v2024.27 _src_path: gh:westerveltco/django-twc-package author_email: josh@joshthomas.dev author_name: Josh Thomas -current_version: 0.15.0 +current_version: 0.16.0 django_versions: - '4.2' - '5.0' diff --git a/pyproject.toml b/pyproject.toml index 782a5ad..bbfe3cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -89,7 +89,7 @@ stubPath = "src/stubs" [tool.bumpver] commit = true commit_message = ":bookmark: bump version {old_version} -> {new_version}" -current_version = "0.15.0" +current_version = "0.16.0" push = false # set to false for CI tag = false version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]" diff --git a/src/django_twc_toolbox/__init__.py b/src/django_twc_toolbox/__init__.py index 2fb061f..1862dbf 100644 --- a/src/django_twc_toolbox/__init__.py +++ b/src/django_twc_toolbox/__init__.py @@ -1,3 +1,3 @@ from __future__ import annotations -__version__ = "0.15.0" +__version__ = "0.16.0" diff --git a/tests/test_version.py b/tests/test_version.py index e93abee..9744e03 100644 --- a/tests/test_version.py +++ b/tests/test_version.py @@ -4,4 +4,4 @@ def test_version(): - assert __version__ == "0.15.0" + assert __version__ == "0.16.0" From 4497abbc33067beb5112c8858f3ae2c224f8c3ec Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 11 Sep 2024 16:06:52 -0500 Subject: [PATCH 2/2] update CHANGELOG for version 0.16.0 --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f667329..a2b8569 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ and this project attempts to adhere to [Semantic Versioning](https://semver.org/ ## [Unreleased] +## [0.16.0] + ### Added - A middleware `django_twc_toolbox.middleware.WwwRedirectMiddleware` for redirecting any request from a "www." subdomain to the bare domain. All credit to [Adam Johnson](https://github.com/adamchainz) -- [How to Make Django Redirect WWW to Your Bare Domain - Adam Johnson](https://adamj.eu/tech/2020/03/02/how-to-make-django-redirect-www-to-your-bare-domain/). @@ -231,7 +233,7 @@ Initial release! - Josh Thomas (maintainer) -[unreleased]: https://github.com/westerveltco/django-twc-toolbox/compare/v0.15.0...HEAD +[unreleased]: https://github.com/westerveltco/django-twc-toolbox/compare/v0.16.0...HEAD [0.2.1]: https://github.com/westerveltco/django-twc-toolbox/releases/tag/v0.2.1 [0.2.0]: https://github.com/westerveltco/django-twc-toolbox/releases/tag/v0.2.0 [0.1.1]: https://github.com/westerveltco/django-twc-toolbox/releases/tag/v0.1.1 @@ -253,3 +255,4 @@ Initial release! [0.13.0]: https://github.com/westerveltco/django-twc-toolbox/releases/tag/v0.13.0 [0.14.0]: https://github.com/westerveltco/django-twc-toolbox/releases/tag/v0.14.0 [0.15.0]: https://github.com/westerveltco/django-twc-toolbox/releases/tag/v0.15.0 +[0.16.0]: https://github.com/westerveltco/django-twc-toolbox/releases/tag/v0.16.0