Skip to content

4.0.0

Latest
Compare
Choose a tag to compare
@danidee10 danidee10 released this 15 Oct 18:16
· 145 commits to master since this release
453a14d

This release contains breaking changes!

What's Changed

Breaking changes

  • Changed obj field to GenericForeignKey
    Previously the notify function expected obj to be an id now it's accepts a Django object. This affects the notify utility function and the inbuilt Notification 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 for black, isort and flake8