diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ba760400..2c1869666 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log All notable changes to this project will be documented in this file. +## [5.4.1] - 2018-06-26 ## +### Fixed +- [PR #585](https://github.com/sendgrid/sendgrid-python/pull/585): Fix typo in `mail_example.py`. Big thanks to [Anurag Anand](https://github.com/theanuraganand) for the PR! +- [PR #583](https://github.com/sendgrid/sendgrid-python/pull/585): Fix `Personalization.substitutions` setter. Trying to set substitutions directly rather than with add_substitution was causing an infinite regress. Big thanks to [Richard Nias](https://github.com/richardnias) for the PR! + ## [5.4.0] - 2018-06-07 ## ### Added - [PR #384](https://github.com/sendgrid/sendgrid-python/pull/384): Adds how to set up domain whitelabel and how to view email statistics. Big thanks to [Aditya Tandon](https://github.com/adityatandon007) for the PR! diff --git a/docker/README.md b/docker/README.md index 4ff4e2afa..a523dc93d 100644 --- a/docker/README.md +++ b/docker/README.md @@ -1,5 +1,6 @@ # Supported tags and respective `Dockerfile` links - - `v5.4.0`, `latest` [(Dockerfile)](https://github.com/sendgrid/sendgrid-python/blob/master/docker/Dockerfile) + - `v5.4.1`, `latest` [(Dockerfile)](https://github.com/sendgrid/sendgrid-python/blob/master/docker/Dockerfile) + - `v5.4.0` - `v5.3.0` - `v5.2.1` - `v5.2.0` diff --git a/register.py b/register.py index b71341a34..0a7ffe8d8 100644 --- a/register.py +++ b/register.py @@ -2,8 +2,8 @@ from io import open output = pypandoc.convert('README.md', 'rst') -with open('README.txt' 'w+') as f: - f.write(str(output.encode('utf-8'))) +with open('README.txt', 'w+') as f: + f.write(output) readme_rst = open('./README.txt', 'r', encoding='utf-8').read() replace = ''' diff --git a/sendgrid/version.py b/sendgrid/version.py index ec1b5ec64..c191754f8 100644 --- a/sendgrid/version.py +++ b/sendgrid/version.py @@ -1,2 +1,2 @@ -version_info = (5, 4, 0) +version_info = (5, 4, 1) __version__ = '.'.join(str(v) for v in version_info)