- Use System.Net.Http from the GAC when the project is compiled as .net framework.
- 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
.
- Added status callback parameters to
SendEmail
andSendSms
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 ifstatusCallbackUrl
is provided.
- Applied fix for issue with synchronous version of NotificationClient API
- Fork client from Gov UK and configure for govau
- Skip tests for code that is no longer supported
- Rename mobileNumber argument to phoneNumber
- Update JWT version to the latest
- Implement asynchronous versions of the NotificationClient methods
- Add an optional
postage
argument toSendPrecompiledLetter
. - Add
postage
attribute toLetterNotificationResponse
model. - Add
postage
attribute toNotification
model.
- Implement the
INotificationClient
interface to make mocking easier (see alphagov/notifications-net-client#57)
- Add
NotificationClient.SendPrecompiledLetter
method. - Add support for document uploads using
NotificationClient.PrepareUpload
- Fixed
NotificationResponse.Equals
andLetterNotificationResponse.Equals
for instances with.template
and.content
attributes set tonull
in order to support pre-compiled letter responses.
- 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
.
- 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
- Add
pending-virus-check
andvirus-scan-failed
to statuses
- Migrate to .Net core 2.0.0 and .Net framework 4.6.2
- 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
- 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.
- Pin dependencies for JWT and Newtonsoft.json
- Pinned to no higher than JWT 2.4.2 and Newtonsoft.json 10.
- 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.
- added
- Make personalisation non-null in SendLetter
- Add new method for sending letters:
SendLetter
- send a letter
- Add template name to
TemplateResponse
model
- Update integration tests to support letter templates:
-
Added new methods for managing templates:
GetTemplateById
- retrieve a single templateGetTemplateByIdAndVersion
- retrieve a specific version for a desired templateGetAllTemplates
- 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.
- Update to
Client.GetNotifications()
- Notifications can now be filtered by
reference
andolderThanId
, see the README for details. - Updated method signature:
- Notifications can now be filtered by
client.GetNotifications(String templateType = "", String status = "", String reference = "", String olderThanId = "")
* Each one of these parameters can be `null`
Changelog not recorded - please see pull requests on github.