Skip to content

Releases: danidee10/django-notifs

4.0.0

15 Oct 18:16
453a14d
Compare
Choose a tag to compare

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

3.0.5 release

26 Mar 23:00
Compare
Choose a tag to compare
  • Migrate channels field to JSONField
  • Deprecate ListField
  • Fix migration error for ListField

3.0.4 release

25 Mar 00:05
Compare
Choose a tag to compare
  • Make WebSocket channel optional

3.0.3 release

24 Mar 20:54
Compare
Choose a tag to compare
  • loosen requirements

3.0.2 release

21 Mar 18:06
Compare
Choose a tag to compare
  • Fixed ImportError's for optional dependencies

3.0.1 release

20 Mar 13:16
Compare
Choose a tag to compare
  • Fix AppsNotReady error

3.0.0 release

14 Mar 02:41
Compare
Choose a tag to compare
  • 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

26 Jan 09:53
Compare
Choose a tag to compare
  • 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

23 Jan 22:52
Compare
Choose a tag to compare
  • Implement Multi-platform testing with tox
  • General code improvements (Django 3.1.5 compliance)
  • Automate Pypi deployments