Skip to content

Commit

Permalink
Merge pull request #214 from darrensmith223/patch-1
Browse files Browse the repository at this point in the history
add-amp-html
  • Loading branch information
SteveT authored Apr 12, 2021
2 parents 222161c + 7492f54 commit 7f1dc2b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
2 changes: 1 addition & 1 deletion sparkpost/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 2 additions & 0 deletions sparkpost/transmissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7f1dc2b

Please sign in to comment.