All notable changes to this project will be documented in this file.
- Pull #348: Allows users to submit rfc822 formatted email addresses
- Big thanks to Matt Bernier for the pull request!
- Pull #364: Install prism with non superuser account
- Big thanks to meahow for the pull request!
- Pull #335: Permit unicode string values with Substitution helper
- Big thanks to Mehron Kugler for the pull request!
- Pull #338: Allow the
__str__
method for theMail
object return anString
instead of aNoneType
- Solves #292: The
__str__
method of theMail
class, doesn't actually return anything - Big thanks to belfazt for the pull request!
- Pull #337, fixes issue #366
- On install, some experienced:
ValueError: ("Expected ',' or end-of-list in", 'python-http-client ==3.0.*', 'at', '*')
- The breaking change actually happened in version 4.2.1, where I mistakenly applied a patch version bump. See issues #328 and #321 for details.
- This version (5.0.0) replaces error handling via HTTPError from urllib in favor of custom error handling via the HTTPError class as was the case in version 4.2.0.
- Issue #321: Installing 4.2.0 installs the wrong version of python-http-client
- Big thanks to w- for the heads up!
- Pull #318 Add ability to reset request headers on client attribute
- Big thanks to w- for the pull request!
- Pull #314 Add ability to impersonate subuser
- Big thanks to w- for the pull request!
- Pull #244 refactor helpers using property getter/setter
- Big thanks to Denis Vlasov for the pull request!
- The changes break the implementation of the Mail Helper
Mail()
class set_from()
is now the propertyfrom_email
set_subject()
is now the propertysubject
set_template_id()
is now the propertytemplate_id
set_send_at()
is now the propertysend_at
set_batch_id()
is now the propertybatch_id
set_asm()
is now the propertyasm
set_ip_pool_name()
is now the propertyip_pool_name
set_mail_settings()
is now the propertymail_settings
set_tracking_settings()
is now the propertytracking_settings
set_reply_to()
is now the propertyreply_to
personalization.set_send_at()
is now the propertypersonalization.send_at
personalization.set_subject()
is now the propertypersonalization.subject
attachment.set_content()
is now the propertyattachment.content
attachment.set_type()
is now the propertyattachment.type
attachment.set_filename()
is now the propertyattachment.filename
attachment.set_disposition()
is now the propertyattachment.disposition
attachment.set_content_id()
is now the propertyattachment.content_id
mail_settings.set_bcc_settings()
is now the propertymail_settings.bcc_settings
mail_settings.set_bypass_list_management()
is now the propertymail_settings.bypass_list_management
mail_settings.set_footer_settings()
is now the propertymail_settings.footer_settings
mail_settings.set_sandbox_mode()
is now the propertymail_settings.sandbox_mode
mail_settings.set_spam_check()
is now the propertymail_settings.spam_check
tracking_settings.set_click_tracking()
is now the propertyclick_tracking
tracking_settings.set_open_tracking()
is now the propertyopen_tracking
tracking_settings.set_subscription_tracking()
is now the propertysubscription_tracking
tracking_settings.set_ganalytics()
is now the propertyganalytics
- Pull #300 Exclude test package
- Big thanks to Iryna Shcherbina for the pull request!
- Pull #250 Improve code quality
- Big thanks to Andrii Soldatenko for the pull request!
- Pull #243 Update deprecated Heroku command
- Big thanks to Roberto Ortega for the pull request!
- Pull #240 Add six to requirements.txt
- Big thanks to Wataru Sato for the pull request!
- Pull #246 Typo 'user' for 'usr'
- Big thanks to Mike Ralphson for the pull request!
- Pull #234 Substitutions allow non-strings for values
- Big thanks to ittus for the pull request!
- Pull #233: Allow dict to be passed to add_headers
- Big thanks to Navin Pai for the pull request!
- Pull #215
- Support larger files. Note that there is a 20MB maximum.
- Pull #213
- Naming inconsistency, we now standardized on
file_name
- Support for use of
iteritems
in Python 3
- Pull #212
- Allow for custom Inbound Parse config.yml
- Pull #211
- Within sendgrid/helpers/inbound/parse.py - moved doc strings to be under function definitions
- broke up def attachments(...) into two individual private functions, so it's a bit less cumbersome and can be individually tested better
- Big thanks to Christopher Li for the pull request!
- Table of Contents in the README
- Added a USE_CASES.md section, with the first use case example for transactional templates
- pep8 formatting
- include Heroku config files in PyPi
- Helper code for our Inbound Parse webhook
- Release 3.1.9 was botched (sorry!), so the apikey/api_key fix 3.1.9 was supposed to address is now in this release
- Issue #197: api_key / apikey attribute logic incorrect
- Thanks to johguse for reporting the bug
- Troubleshooting section
- Solves issue 195
- The variable apikey and api_key are now interchangeable to help support those migrating from v2
- Thanks to Ian Douglas for the feedback!
- README updates
- Update introduction blurb to include information regarding our forward path
- Update the v3 /mail/send example to include non-helper usage
- Update the generic v3 example to include non-fluent interface usage
- Update docs, unit tests and examples to include Sender ID
- Fixed logic errors related to issue #189
- Dependency update to fix issue #186
- Tests now mocked automatically against prism
- Issue 185: Getting HTTP Error 406 when getting bounces
- Examples, USAGE.md and Unit Tests with updated content and new endpoints
- Breaking change to support the v3 Web API
- New HTTP client
- v3 Mail Send helper
- you can now pass a path to your .env file to the SendGridAPIClient
- you can now pass an apikey to the SendGridAPIClient, per issue #168. Thanks Matt!
- fix .rst formatting for PyPi
- breaking change is only for the Web API v3 endpoints
- we now have support for all Web API v3 endpoints
- a call to GET api_keys after a call to DELETE api_keys would throw an error.
- the timeout value is no longer hard coded.
- smtpi-sendgrid dependency is now 0.3.1, the latest version: 161. Thanks Kevin Brown!
- Can't install normally 155
- Fix "HTTP 406 Not Acceptable Errors" 149
- Global Stats [GET]
- Template Engine documentation
- SMTPAPI documentation
- API Keys documentation for [POST, PATCH, DELETE]
- Fix "Mail uses old-style class again" 144
- Fix timeout via URLError 104
- Minor Refactor and README update
- ASM Global Suppressions [POST]
- ASM Global Suppressions [DELETE]
- Suppression Unsubscribes [GET]
- Global Suppressions [GET]
- Include MIT.LICENSE in release tarball
- Removed unsupported endpoint
- Added Unsubscribe Groups [POST]
- Global Suppressions [GET]
- Refactored tests and added Tox support
- Framework for Web API v3 endpoints
- Web API v3 endpoints: apikeys, ASM groups and ASM suppressions
- Python 3 Fix #126
- Reply To header now supports friendly name #110
- Upgrade Mail to new-style class, on Python 2.x.
- Classifiers for compatible python versions
- Support for API keys
- Add new method for ASM Group ID via #98
- Add CHANGELOG.md