Releases: sendgrid/sendgrid-python
Releases · sendgrid/sendgrid-python
v6.0.3
Added
- Twilio SendGrid branding
- Twilio SMS example
- Updated CLA process
v6.0.2
- Do not install the inbound parser module by default.
v6.0.0
BREAKING CHANGE
- The
Mail
helper signature has changed. - Setting up a
SendGridAPIClient
has changed.
Please see the use cases documentation for implemenation details.
This refactor was based on this issue. BIG thanks to all of those who participated in shaping this release.
In particular, BIG THANKS to:
@yothinix
@jeffoneill
@elbuo8
@Jakobovski
@andriisoldatenko
@dibyadas
@belfazt
@iandouglas
@mehronkugler
Fixed
- PR #727: Use raw-string notation for regex to avoid invalid escape sequence (BIG thanks to @)
- PR #715: Correct attribution links formating (BIG thanks to @hugovk)
- PR #640: Changes suggested by grammarly (BIG thanks to @xeon-zolt)
- PR #697: PEP8 Fixes and String Formatting Enhancement (BIG thanks to @vkmrishad)
- PR #647: TROUBLESHOOTING.md broken link fix (BIG thanks to @arshadkazmi42)
- PR #638: Fixed syntax errors in Kitchen sink Python example code (BIG thanks to @vinayak42)
- PR #687: Remove references to "Whitelabel" (BIG thanks to @crweiner)
- PR #690: Corrected links in CoC (BIG thanks to @bhavinjawade)
- PR #656: Fix helper mail_example redirection link (BIG thanks to @joshuadeguzman)
- PR #636: Fix broken link for mail example (BIG thanks to @mattjegan)
- PR #630: Update requirements.txt (BIG thanks to @rahulkumaran)
- PR #628: Update job description in README (BIG thanks to @Jeremyyang920)
- PR #618: Quote names containing comma or semicolon (BIG thanks to @cmccandless)
- PR #613: Fix typos (BIG thanks to @Bharat123rox)
- PR #616: Fix typos (BIG thanks to @hugovk)
- PR #619: Fix format of dependency pytest (BIG thanks to @cmccandless)
- PR #611: Fix broken link (BIG thanks to @themousepotato)
- PR #488: Fix similar code issue in mail.py helper (BIG thanks to @adiman9)
- PR #496: Fix issues in sendgrid/helpers/mail/mail.py (BIG thanks to @galihmelon)
- PR #510: Fix similar code issue in sendgrid/helpers/mail/mail.py (BIG thanks to @nanspro)
- PR #524: Fix master failure on travis (relating to ASM raise-assertion). (BIG thanks to @extemporalgenome)
Added
- PR #666: Created First-timers.md File (BIG thanks to @jaykay12)
- PR #655: Update USAGE.md (BIG thanks to @ChatPion)
- PR #665: Add use case for generation of Plain Text Content from HTML (BIG thanks to @cmccandless)
- PR #718: Update prerequisites (BIG thanks to @Rishabh04-02)
- PR #722: Updated README.md (BIG thanks to @rahulpuroht)
- PR #711: Cleanup Dockerfiles (BIG thanks to @rawkode)
- PR #709: Cleanup Env Documentation (BIG thanks to @rawkode)
- PR #631: Allow creation of Mail from EmailMessage (BIG thanks to @cmccandless)
- PR #683: Create README.md for mail_example.py (BIG thanks to @tulikavijay)
- PR #663: Converted README to reStructuredText and version as plain text file (BIG thanks to @StrikerRUS)
- PR #643: Add test to increase test coverage on config.py (BIG thanks to @zkan)
- PR #692: Add unit tests for spam check (BIG thanks to @pyasi)
- PR #637: Add support for Python 3.7 (BIG thanks to @hugovk)
- PR #626: Drop support for EOL Python 2.6 and 3.0-3.3 (BIG thanks to @hugovk)
- PR #486: Refactor sengrid get method of Mail class (BIG thanks to @Prashant-Surya)
- PR #493: Refactor personalization.py (BIG thanks to @defaults)
- PR #509: Refactor mail.py (BIG thanks to @palash16)
- PR #512: Refactor mail.py (BIG thanks to @extemporalgenome)
v5.6.0
Added
- PR #593: Adds support for dynamic template data. Big thanks to Slam for the PR! Also, big thanks to Wojciech Bartosiak for PR #597!
v5.5.0
Added
- PR #588: Updates the Readme to include environment variable setup in windows. Big thanks to Bhargav Chandaka for the PR!
- PR #599: Updates the Readme to include additional API Key instruction. Big thanks to Anshul Singhal for the PR!
- PR #600: Add CodeTriage Badge. Big thanks to Anshul Singhal for the PR!
- PR #601: Readability improvements to CONTRIBUTING.md. Big thanks to Anshul Singhal for the PR!
- PR #604: Readability improvements to CONTRIBUTING.md. Big thanks to agnesjang98 for the PR!
Fixed
- PR #595: Change type of category in Mail.add_category from string to Category. Big thanks to Phawin Khongkhasawan for the PR!
- PR #596: Fix Docker build. Big thanks to Phawin Khongkhasawan for the PR!
- PR #598: Fix python3 print example in TROUBLESHOOTING.md. Big thanks to Ryan Jarvis for the PR!
- PR #603: Update TROUBLESHOOTING.md to link to correct use cases page. Big thanks to James Purpura for the PR!
v5.4.1
Fixed
- PR #585: Fix typo in
mail_example.py
. Big thanks to Anurag Anand for the PR! - PR #583: Fix
Personalization.substitutions
setter. Trying to set substitutions directly rather than with add_substitution was causing an infinite regress. Big thanks to Richard Nias for the PR!
v5.4.0
Added
- PR #384: Adds how to set up domain whitelabel and how to view email statistics. Big thanks to Aditya Tandon for the PR!
- PR #427: Increase config.py coverage. Big thanks to Jeferson Daniel for the PR!
- PR #423: Update config.py with better file handling. Big thanks to Ajitesh Rai for the PR!
- PR #449: Add a .env_sample file and Update README.md. Big thanks to trangttt for the PR!
- PR #463: Add code climate.
- PR #455: Use with context manager and a few PEP8 changes. Big thanks to Tim for the PR!
- PR #470: Modularize lengthy method. Big thanks to Suprith Kumar Suvarneshwar for the PR!
- PR #425: Add tests for sendgrid.py apikey and api_key setters. Big thanks to Krista LaFentres for the PR!
- PR #446: Added PULL_REQUEST_TEMPLATE. Big thanks to Aleksandr Sobolev for the PR!
- PR #472: Moved mail helper classes into separate files. Big thanks to Milos Pejanovic for the PR!
- PR #481: Documented the new error handling functionality from python-http-client. Big thanks to Manjiri Tapaswi for the PR!
- PR #418: Add test for apps.py. Big thanks to Sinan Comert for the PR!
- PR #438: Update docstrings/pydoc/help. Big thanks to Gabriel Krell for the PR!
- PR #413: Error-checking in Mail helper/ASM. Big thanks to Gabriel Krell for the PR!
- PR #518: Announcement about Data Platform Engineer posting. Big thanks to Marghodk for the PR!
- PR #479: Add Project tests. Big thanks to Peter Hampton for the PR!
- PR #480: Test to check year in LICENSE.txt. Big thanks to Navin Pai for the PR!
- PR #476: Add tests for Send.py. Big thanks to Artiem K. for the PR!
- PR #366: Add AWS app tutorial to USE_CASES.md. Big thanks to Mike Vanbuskirk for the PR!
- PR #365: Write tutorial to deploy simple Django app on Heroku. Big thanks to Kan Ouivirach for the PR!
- PR #526: Include code reviews section. Big thanks to Jared Scott for the PR!
- PR #414: Provide utf-8 as encoding explicitly when opening text files. Big thanks to Ruslan Shestopalyuk for the PR!
- PR #537: Add unittesting support to .codeclimate.yml. Big thanks to Prashu Chaudhary for the PR!
- PR #554: Ensure params are applied independently. Big thanks to Nino Milenovic for the PR!
- PR #557: Client cleanup. Big thanks to Slam for the PR!
- PR #569: Make Mail helper parameters truly optional. Big thanks to Ian Beck for the PR!
Fixed
- PR #415: Typos. Big thanks to Mohd Huzaifa Faruqui for the PR!
- PR #421: Typos. Big thanks to Abhishek Bhatt for the PR!
- PR #432: Typos. Big thanks to Gaurav Arora for the PR!
- PR #431: Typos. Big thanks to Gaurav Arora for the PR!
- PR #430: Attempt to sync before executing shell command. Big thanks to Aditya Narayan for the PR!
- PR #429: Typos. Big thanks to daluntw for the PR!
- PR #492:
Updated date-range in LICENSE file. Big thanks to Dhruv Srivastava for the PR! - PR #482: Typos. Big thanks to Karan Samani for the PR!
- PR #504: Fix .codeclimate.yml. Big thanks to Matt Bernier for the PR!
- PR #505: Remove unnecessary github PR templates. Big thanks to Alex for the PR!
- PR #494: Remove unused import in register.py. Big thanks to Alexis Rivera De La Torre for the PR!
- PR #469:
Removed the trailing white spaces. Big thanks to Siddaram Halli for the PR! - PR #484: Python style fixes. Big thanks to Gabriel Krell for the PR!
- PR #508: Typos. Big thanks to Saksham Gupta for the PR!
- PR #353: Typos. Big thanks to Yothin M for the PR!
- PR #564: Typos. Big thanks to Chao for the PR!
- PR #424: Updating version 2.7.8 to 2.7.11 to match version in pyenv install instruction. Big thanks to Krista LaFentres for the PR!
- PR #454: Requests to send mail with both plain text and HTML content fail if the HTML content is specified first. Big thanks to Ryan D'souza for the PR!
- PR #466: Fixed PEP8 issues. Big thanks to Piotr Szwarc for the PR!
- PR #522: Typos. Big thanks to Abhishek J for the PR!
- PR #514: Fix method_complexity issue in sendgrid/helpers/mail/ganalytics.py. Big thanks to Chetan Kumar for the PR!
- PR #515: Typos. Big thanks to Mohd Ali Rizwi for the PR!
- PR #519: Typos. Big thanks to Aashish Gaba for the PR!
- PR #532: Typos. Big thanks to ~ for the PR!
- PR #533: Fix shadowed builtins,
id
->id_
. Big thanks to ~ for the PR! - PR #581: Typos. Big thanks to Silvia Botros for the PR!
- PR #513: Typos. Big thanks to thepriefy for the PR!
- PR #538: Fix bug in get_mock_personalization_dict(). Big thanks to PierreMonico for the PR!
- PR #543: Typos. Big thanks to Matthieu Bonnefoy for the PR!
v5.3.0
Added
- Pull #348: Allows users to submit rfc822 formatted email addresses
- Big thanks to Matt Bernier for the pull request!
v5.2.1
v5.2.0
Added
- Pull #335: Permit unicode string values with Substitution helper
- Big thanks to Mehron Kugler for the pull request!