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