Releases: django-notifications/django-notifications
Releases · django-notifications/django-notifications
1.8.3
1.8.2
- Added the migration for verbose_name changes
1.8.0
- Added support for Django 4.1
- Dropped support for Django < 3.2 and Python < 3.7
- Added indexes for GenericForeignKey fields in AbstractNotificationModel (see https://docs.djangoproject.com/en/4.1/ref/contrib/contenttypes/#generic-relations)
- new setting 'CACHE_TIMEOUT' to cache certain result such as "notifications.unread().count".
(a timeout value of 0 won’t cache anything). - #263 Fix vunerability in views
- #233 Adds methods to convert to human readable type
- Translate project all strings
1.7.0
- Added support for Django 3.2 and Django 4.0
- Fixed bug on IE11 for using
forEach
in notify.js
1.6.0
- Added support to Django up to version 3.0
- Added
AbstractNotification
model - Added prefetch for actor field in admin
- Added never_cache to some views to avoid no-update bug
1.5.0
THIS VERSION HAS BREAKING CHANGES:
Now all configs for the app are made inside the dictionary DJANGO_NOTIFICATION_CONFIG in settings.py.
Default configs:
DJANGO_NOTIFICATION_CONFIG = {
'PAGINATE_BY': 20,
'USE_JSONFIELD': False,
'SOFT_DELETE': False,
'NUM_TO_FETCH': 10,
}
- Improve code quality. (@AlvaroLQueiroz)
- Improve url patterns and remove duplicated code. (@julianogouveia)
- Added a view for show all notifications. #205 (@AlvaroLQueiroz)
- Added a new tag to verify if an user has unread notifications. #164 (@AlvaroLQueiroz)
- Improve documentation. (@pandabearcoder)
- Fix pagination in list views. #69 (@AlvaroLQueiroz)
- Improve test matrix. (@AlvaroLQueiroz)
1.4.0
- Adds support for django 2.0.0 (@jphamcsp and @nemesisdesign).
- Adds database index for some fields (@nemesisdesign).
- Changes the ID-based selection to a class-based selection in the methods live_notify_badge and live_notify_list (@AlvaroLQueiroz).
- Now extra data and slug are returned on live_unread_notification_list API (@AlvaroLQueiroz).
- Fix documentation issues (@archatas, @yaoelvon and @AlvaroLQueiroz).
1.3
Bump version 1.3