Changelog¶
v2.0.0¶
We sincerely apologize for the long delay since our last release. This major version brings the package up to date with the latest Django and Python versions while removing support for end-of-life versions.
Breaking Changes
DROPPED support for Python
3.6,3.7,3.8, and3.9- these versions have reached end-of-lifeDROPPED support for Django
2.2,3.0,3.1, and3.2- these versions are no longer supported by DjangoMinimum Python version is now
3.10Minimum Django version is now
4.2(LTS)
Features
NEW support for Python
3.11,3.12, and3.13NEW support for Django
4.2(LTS),5.0,5.1, and5.2Removed deprecated Django features and compatibility code for better performance
Chores
Migrated from
poetrytopyproject.toml.Updated development tooling (switched from flake8/isort to ruff)
1.3.0¶
1.2.0¶
1.1.0¶
1.0.1¶
Fix saving of anonymous sessions(#4).
1.0.0¶
Bring back project to life.
- Change in project structure
signalsdelete_hit_countfromhitcount.modelshas been moved tohitcount.signals.The argument
save_hitcountto the functiondelete_hit_count_handler(this process the signaldelete_hit_count) is nowkeyword-only. The earlier design pattern was a case of boolean-trap.
mixinsHitCountMixinfromhitcount.modelshas been renamed asHitCountModelMixinand moved tohitcount.mixins.HitCountMixinfromhitcount.viewshas been renamed asHitCountViewMixinand moved tohitcount.mixins.
modelsBlackListIPrenamed toBlockedIP.BlackListUserAgentrenamed toBlockedUserAgent.- The
ipfield forHitmodel has been made optional. This hopefully makes the project GDPR compliant. Please open an issue if still isn’t. To maintain backwards compatibility with
django-hitcount, an additional setting HITCOUNT_USE_IP has been added.
- The
viewshitcount.views.update_hit_count_ajaxthat was to be removed indjango-hitcount1.2has been removed. Usehitcount.views.HitCountJSONViewinstead.hitcount.views._update_hit_countthat was to be removed indjango-hitcount1.2has been removed. Usehitcount.mixins.HitCountViewMixin.hit_countinstead.
removed additional dependency of
django-etc.added additional unit tests. Test coverage is now
100%.