From b4f6c29c2db462db9d90702ca778c2fb25cc29a1 Mon Sep 17 00:00:00 2001 From: Dmitriy Sokolov Date: Sat, 9 Dec 2023 10:29:13 +0200 Subject: [PATCH] Prepare 0.12.0 --- CHANGELOG.md | 11 ++++++++++- rangefilter/__init__.py | 2 +- rangefilter/filter.py | 11 ----------- rangefilter/settings.py | 1 - 4 files changed, 11 insertions(+), 14 deletions(-) delete mode 100644 rangefilter/filter.py delete mode 100644 rangefilter/settings.py diff --git a/CHANGELOG.md b/CHANGELOG.md index c2c07c7..11e812f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ ## [Unreleased] +## [0.12.0] - 2023-12-09 +### Added +- Compatibility Django 5 +- Added Greek translation (thx @tagmat) #111 + +### Fix +- NumericRangeFilter: Fix SCP + ## [0.11.2] - 2023-09-10 ### Fix - NumericRangeFilter: Fix filter for the value zero (#105) (thx @autoantwort) @@ -190,7 +198,8 @@ Its useful for definition custom title or initial (default) values. - Add get_timezone - Drop support Django < 1.8 -[Unreleased]: https://github.com/silentsokolov/django-admin-rangefilter/compare/0.11.2...HEAD +[Unreleased]: https://github.com/silentsokolov/django-admin-rangefilter/compare/0.12.0...HEAD +[0.12.0]: https://github.com/silentsokolov/django-admin-rangefilter/compare/v0.11.2...v0.12.0 [0.11.2]: https://github.com/silentsokolov/django-admin-rangefilter/compare/v0.11.1...v0.11.2 [0.11.1]: https://github.com/silentsokolov/django-admin-rangefilter/compare/v0.11.0...v0.11.1 [0.11.0]: https://github.com/silentsokolov/django-admin-rangefilter/compare/v0.10.0...v0.11.0 diff --git a/rangefilter/__init__.py b/rangefilter/__init__.py index 861a865..b281d81 100644 --- a/rangefilter/__init__.py +++ b/rangefilter/__init__.py @@ -3,7 +3,7 @@ import django __author__ = "Dmitriy Sokolov" -__version__ = "0.11.2" +__version__ = "0.12.0" if django.VERSION < (3, 2): default_app_config = "rangefilter.apps.RangeFilterConfig" diff --git a/rangefilter/filter.py b/rangefilter/filter.py deleted file mode 100644 index 458c0c1..0000000 --- a/rangefilter/filter.py +++ /dev/null @@ -1,11 +0,0 @@ -# -*- coding: utf-8 -*- - -import warnings - -warnings.warn( - "Import from the `filter` module is deprecated. Use `filters` module.", - DeprecationWarning, - stacklevel=2, -) - -from .filters import DateRangeFilter, DateTimeRangeFilter # noqa # pylint: disable=unused-import diff --git a/rangefilter/settings.py b/rangefilter/settings.py deleted file mode 100644 index 40a96af..0000000 --- a/rangefilter/settings.py +++ /dev/null @@ -1 +0,0 @@ -# -*- coding: utf-8 -*-