* We added `letter_contact_block` to our template object serialization, which means it will be added to responses for `get_template_by_id` requests and also `get_template_version` and `get_all_templates` . This version adds this new `letter_contact_block` attribute to Documentation and tests.
5.6.0
* Add support for an optional `is_csv` parameter in the `prepare_upload()` function. This fixes a bug when sending a CSV file by email. This ensures that the file is downloaded as a CSV rather than a TXT file.
5.5.1
* 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`