* change error message to refer to file rather than document
5.5.0
* Improve error messages for errors related to JSON Web Tokens
5.4.0
* Add `NotificationsAPIClient.get_pdf_for_letter(id)` * Returns a `BytesIO` * Will raise a BadRequestError if the PDF is not available
5.3.0
* Add an optional `postage` argument to `send_precompiled_letter_notification` method. * Add postage to the response of `send_precompiled_letter_notification`
5.2.0
* 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