diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a8e04f..b1d34ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased - [Compare to latest release][unreleased] +## [1.3.8] - 2021-04-09 +- [#214](https://github.com/SparkPost/python-sparkpost/pull/214) Support for AMP HTML for transmissions + ## [1.3.7] - 2021-03-24 - [#211](https://github.com/SparkPost/python-sparkpost/pull/211) Support for top open pixel for transmissions diff --git a/setup.py b/setup.py index 3b1d209..ef32612 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name='sparkpost', - version='1.3.7', + version='1.3.8', author='SparkPost', author_email='developers@sparkpost.com', packages=find_packages(), diff --git a/sparkpost/__init__.py b/sparkpost/__init__.py index 9cd1f24..8c29f4e 100644 --- a/sparkpost/__init__.py +++ b/sparkpost/__init__.py @@ -9,7 +9,7 @@ from .transmissions import Transmissions -__version__ = '1.3.7' +__version__ = '1.3.8' EU_API = 'api.eu.sparkpost.com' US_API = 'api.sparkpost.com' diff --git a/sparkpost/transmissions.py b/sparkpost/transmissions.py index a3f292c..934c2ec 100644 --- a/sparkpost/transmissions.py +++ b/sparkpost/transmissions.py @@ -32,6 +32,7 @@ 'subject': 'content/subject', 'from_email': 'content/from', 'html': 'content/html', + 'amp_html': 'content/amp_html', 'text': 'content/text', 'template': 'content/template_id', 'attachments': 'content/attachments', @@ -201,6 +202,7 @@ def send(self, **kwargs): :param bool use_draft_template: Defaults to False. Set to true if you want to send a template that is a draft :param str html: HTML part of transmission + :param str amp_html: AMP HTML part of the transmission :param str text: Text part of transmission :param str subject: Subject of transmission :param str from_email: Email that the transmission comes from. The