Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 3.29 KB

File metadata and controls

63 lines (44 loc) · 3.29 KB

4.4.0

Added

  • Added NotificationsAPIClient.send_letter_notification():
    • functions similarly to send_sms_notification and send_email_notification, however, address details are provided in the personalisation dict.
    • See more details in the README

4.3.0

Changed

  • Update to NotificationsAPIClient.get_template(id):
    • the dict returned has changed, learn more from the README.
  • Update to NotificationsAPIClient.get_template_version(id, version):
    • the dict returned has changed, learn more from the README.
  • Update to NotificationsAPIClient.get_all_templates(template_type=None):
    • the dict returned has changed, learn more from the README
  • Replaced NotificationsAPIClient.get_template_preview(id) function with NotificationsAPIClient.post_template_preview(id, persionalisation):
    • See more details here README

4.2.0

Changed

  • NotificationsAPIClient.get_all_notifications()
    • Notifications can be now be filtered by reference, see the README for details.
    • NotificationList response has changed, see the README for details.

4.1.0

Changed

  • Python 2.7 supported

4.0.0

Changed

  • Using version 2 of the notification-api.
  • When creating a new NotificationsAPIClient the optional parameter of service_id has been removed. The api_key is a combined string contain the api_key and the service_id
  • Update to NotificationsAPIClient.send_sms_notification():
    • added reference: an optional unique identifier for the notification or an identifier for a batch of notifications. reference can be omitted.
    • the dict returned has changed, learn more from the README.
  • Update to NotificationClient.send_email_notification():
    • added reference: an optional unique identifier for the notification or an identifier for a batch of notifications. reference can be omitted.
    • the dict returned has changed, learn more from the README.
  • Update to the response of NotificationsAPIClient.get_notification_by_id(id), see the README for details.

3.0.0 (2016-11-14)

Changed

  • BaseClient method signature: base_url is now optional. See #41
  • BaseClient method signature: api_key is now a positional argument. See #41

2.0.0 (2016-11-09)

Changed

  • Replace asserts with proper exceptions in jwt token code. See #40

Prior versions

Changelog not recorded - please see pull requests on github.