* Add a document size check to `prepare_upload`. Will raise `ValueError` when trying to upload a document larger than 2MB.
5.1.0
* Added `name` to the response for `NotificationsAPIClient.get_template_by_id()` and `NotificationsAPIClient.get_template_version()` * These functions now return the template name
5.0.1
* Change `BaseAPIClient.request` method to only add use the `data` and `params` arguments if they are not `None`, in order to avoid sending GET requests with a body of `'null'`, since these are rejected by Cloudfront.
5.0.0
* Changed the way documents are added to the personalisation data. A new `prepare_upload` function has to be called for each document upload to prepare the file data to be sent to the Notify API.
4.10.0
* Added `created_by_name` to the response for `NotificationsAPIClient.get_notification_by_id()` and `NotificationsAPIClient.get_all_notifications()` * 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 `None`.
4.9.0
* Add support for document uploads in `send_email_notification`