Releases: danidee10/django-notifs
Releases · danidee10/django-notifs
4.0.0
This release contains breaking changes!
What's Changed
Breaking changes
- Changed
obj
field toGenericForeignKey
Previously thenotify
function expectedobj
to be anid
now it's accepts a Django object. This affects thenotify
utility function and the inbuiltNotification
model - Changed
BaseNotificationChannel
class:
This affects the Implementation of custom channels. You'll need to rewrite existing custom channels to follow the new paradigm. See the dos for more details
New features
-
Added Countdown/Schedule functionality.
-
Added
NOTIFICATIONS_MODEL
setting to override the default Notification model setting -
Added serverless `DELIVERY_BACKEND]
-
Added "provider" functionality.
-
Added
slack
provider -
Added
email
provider -
Added
django-sms
provider
Dev:
- Switch from Travis CI to Github actions
- Add
pre-commit
hooks forblack
,isort
andflake8
3.0.5 release
- Migrate
channels
field toJSONField
- Deprecate
ListField
- Fix migration error for
ListField
3.0.4 release
- Make WebSocket channel optional
3.0.3 release
- loosen requirements
3.0.2 release
- Fixed
ImportError
's for optional dependencies
3.0.1 release
- Fix AppsNotReady error
3.0.0 release
- add new setting NOTIFICATIONS_DELIVERY_BACKEND
- add new setting NOTIFICATIONS_QUEUE_NAME
- Change default backend to Synchronous (Celery now has to be explicitly configured)
- Create celery backend
- Create Synchronous backend
- Create RQ Backend
- Update installation instructions (Optional dependencies)
- run each channel as a task
- Add retry functionality
- Document NOTIFICATIONS_RETRY = True and NOTIFICATIONS_RETRY_INTERVAL and NOTIFICATIONS_MAX_RETRIES
- Remove NOTIFICATIONS_PAGINATE_BY setting
- Remove NOTIFICATIONS_USE_WEBSOCKET setting
- Remove NOTIFICATIONS_RABBIT_MQ_URL setting
- Rename BasicWebSocket channel to WebSocket channel
- Use Django channels for WebSocket
- Add new setting NOTIFICATIONS_WEBSOCKET_EVENT_NAME
- Add new setting NOTIFICATIONS_WEBSOCKET_URL_PARAM
- django-jsonfield-backport to support JSONField in django < 3.1
2.6.5 release
- Remove 'notifications' context processor
- Remove views.py and urls.py
- Set Celery dependency to >=4.1.0
- Set pika dependency to 0.12.0
- Deprecate Python3.5 and Django <=2.1 (Will be removed in 2.6.6)
2.6.4 Release
- Implement Multi-platform testing with tox
- General code improvements (Django 3.1.5 compliance)
- Automate Pypi deployments