Skip to content

Latest commit

 

History

History
131 lines (84 loc) · 4.59 KB

CHANGELOG.md

File metadata and controls

131 lines (84 loc) · 4.59 KB

[2.7.1] - 2021-05-04

  • Use System.Net.Http from the GAC when the project is compiled as .net framework.

[2.7.0] - 2020-11-18

  • The Notification class has a new createdByEmailAddress property.
    • If the notification was sent manually this will be the email address of the sender.
    • If the notification was sent through the API this will be null.

[2.6.0] - 2020-04-17

  • Added status callback parameters to SendEmail and SendSms calls. statusCallbackUrl: an optional HTTPS URL for delivery status updates to be sent to. If you do not provide this and you have set up a delivery status callback URL on your service through Notify.gov.au, then that will be used. statusCallbackBearerToken: The bearer token that will be used for authentication to the delivery status callback URL. This must be provided if statusCallbackUrl is provided.

[2.5.2] - 2019-12-04

  • Applied fix for issue with synchronous version of NotificationClient API

[2.5.1] - 2019-06-07

  • Fork client from Gov UK and configure for govau
  • Skip tests for code that is no longer supported
  • Rename mobileNumber argument to phoneNumber

[2.5.0] - 2018-02-14

  • Update JWT version to the latest

[2.5.0] - 2018-02-14

  • Implement asynchronous versions of the NotificationClient methods

[2.4.0] - 2018-02-11

  • Add an optional postage argument to SendPrecompiledLetter.
  • Add postage attribute to LetterNotificationResponse model.
  • Add postage attribute to Notification model.

[2.3.0] - 2018-10-02

[2.2.0] - 2018-09-13

  • Add NotificationClient.SendPrecompiledLetter method.
  • Add support for document uploads using NotificationClient.PrepareUpload
  • Fixed NotificationResponse.Equals and LetterNotificationResponse.Equals for instances with .template and .content attributes set to null in order to support pre-compiled letter responses.

[2.1.0] - 2018-08-14

  • The Notification class has a new createdByName property.
    • If the notification was sent manually this will be the name of the sender. If the notification was sent through the API this will be null.

[2.0.1] - 2018-03-29

  • Add pending-virus-check and virus-scan-failed to statuses

[2.0.0] - 2018-02-09

  • Migrate to .Net core 2.0.0 and .Net framework 4.6.2

[1.6.0] - 2017-11-15

Changed

  • Update to NotificationsClient.SendSms
    • added smsSenderId: an optional smsSenderId specified when adding a text message sender under service settings, if this is not provided it will default to the service name.
  • Added GetReceivedTexts - retrieves all received text messages, links provided with page size of 250
  • Added Makefile in order to run build, tests and nuget package from the terminal.

[1.5.3] - 2017-11-15

Changed

  • Pin dependencies for JWT and Newtonsoft.json
    • Pinned to no higher than JWT 2.4.2 and Newtonsoft.json 10.

[1.5.2] - 2017-10-11

Changed

  • Update to NotificationsClient.send_email_notification
    • added emailReplyToId: an optional emailReplyToId specified when adding Email reply to addresses under service settings, if this is not provided the reply to email will be the service default reply to email. email_reply_to_id can be omitted.

[1.5.1] - 2017-09-22

Changed

  • Make personalisation non-null in SendLetter

[1.5.0] - 2017-09-22

Changed

  • Add new method for sending letters:
    • SendLetter - send a letter

[1.4.0] - 2017-08-30

Changed

  • Add template name to TemplateResponse model

[1.3.0] - 2017-08-09

Changed

  • Update integration tests to support letter templates:

[1.2.0] - 2017-05-11

Changed

  • Added new methods for managing templates:

    • GetTemplateById - retrieve a single template
    • GetTemplateByIdAndVersion - retrieve a specific version for a desired template
    • GetAllTemplates - retrieve all templates (can filter by type)
    • GenerateTemplatePreview - preview a template with personalisation applied
  • Refactored MSTest tests to NUnit tests.

    • This allows for wider compatibility with a variety of IDEs.

[1.1.0] - 2016-12-16

Changed

  • Update to Client.GetNotifications()
    • Notifications can now be filtered by reference and olderThanId, see the README for details.
    • Updated method signature:
client.GetNotifications(String templateType = "", String status = "", String reference = "", String olderThanId = "")
 * Each one of these parameters can be `null`

Prior versions

Changelog not recorded - please see pull requests on github.