Skip to content

Commit 7f1dc2b

Browse files
author
SteveT
authored
Merge pull request #214 from darrensmith223/patch-1
add-amp-html
2 parents 222161c + 7492f54 commit 7f1dc2b

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
55
## Unreleased
66
- [Compare to latest release][unreleased]
77

8+
## [1.3.8] - 2021-04-09
9+
- [#214](https://github.com/SparkPost/python-sparkpost/pull/214) Support for AMP HTML for transmissions
10+
811
## [1.3.7] - 2021-03-24
912
- [#211](https://github.com/SparkPost/python-sparkpost/pull/211) Support for top open pixel for transmissions
1013

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name='sparkpost',
9-
version='1.3.7',
9+
version='1.3.8',
1010
author='SparkPost',
1111
author_email='[email protected]',
1212
packages=find_packages(),

sparkpost/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from .transmissions import Transmissions
1010

1111

12-
__version__ = '1.3.7'
12+
__version__ = '1.3.8'
1313

1414
EU_API = 'api.eu.sparkpost.com'
1515
US_API = 'api.sparkpost.com'

sparkpost/transmissions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
'subject': 'content/subject',
3333
'from_email': 'content/from',
3434
'html': 'content/html',
35+
'amp_html': 'content/amp_html',
3536
'text': 'content/text',
3637
'template': 'content/template_id',
3738
'attachments': 'content/attachments',
@@ -201,6 +202,7 @@ def send(self, **kwargs):
201202
:param bool use_draft_template: Defaults to False. Set to true if you
202203
want to send a template that is a draft
203204
:param str html: HTML part of transmission
205+
:param str amp_html: AMP HTML part of the transmission
204206
:param str text: Text part of transmission
205207
:param str subject: Subject of transmission
206208
:param str from_email: Email that the transmission comes from. The

0 commit comments

Comments
 (0)