Skip to content

Releases: sendgrid/sendgrid-python

v5.1.0

31 Aug 04:47
Compare
Choose a tag to compare

Added

  • Pull #338: Allow the __str__ method for the Mail object return an String instead of a NoneType
  • Solves #292: The __str__ method of the Mail class, doesn't actually return anything
  • Big thanks to belfazt for the pull request!

v5.0.1

29 Aug 19:29
Compare
Choose a tag to compare

Fix

  • Pull #337, fixes issue #366
  • On install, some experienced: ValueError: ("Expected ',' or end-of-list in", 'python-http-client ==3.0.*', 'at', '*')

v5.0.0

11 Aug 20:51
Compare
Choose a tag to compare

BREAKING CHANGE

  • 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.

v4.2.1

04 Aug 03:02
Compare
Choose a tag to compare

Fixed

  • Issue #321: Installing 4.2.0 installs the wrong version of python-http-client
  • We now pin to 2.2.* of python-http-client to avoid the break caused by 2.3
  • Big thanks to w- for the heads up!

v4.2.0

01 Jun 20:32
Compare
Choose a tag to compare

Added

  • Pull #318 Add ability to reset request headers on client attribute
  • Big thanks to w- for the pull request!

v4.1.0

09 May 06:32
Compare
Choose a tag to compare

Added

  • Pull #314 Add ability to impersonate subuser
  • Big thanks to w- for the pull request!

v4.0.0

05 Apr 17:59
Compare
Choose a tag to compare

BREAKING CHANGE

  • Pull #244 refactor helpers using property getter/setter
  • Big thanks to Denis Vlasov for the pull request!
  • The changes break the impelmentation of the Mail Helper Mail() class
  • set_from() is now the property from_email
  • set_subject() is now the property subject
  • set_template_id() is now the property template_id
  • set_send_at() is now the property send_at
  • set_batch_id() is now the property batch_id
  • set_asm() is now the property asm
  • set_ip_pool_name() is now the property ip_pool_name
  • set_mail_settings() is now the property mail_settings
  • set_tracking_settings() is now the property tracking_settings
  • set_reply_to() is now the property reply_to
  • personalization.set_send_at() is now the property personalization.send_at
  • personalization.set_subject() is now the property personalization.subject
  • attachment.set_content() is now the property attachment.content
  • attachment.set_type() is now the property attachment.type
  • attachment.set_filename() is now the property attachment.filename
  • attachment.set_disposition() is now the property attachment.disposition
  • attachment.set_content_id() is now the property attachment.content_id
  • mail_settings.set_bcc_settings() is now the property mail_settings.bcc_settings
  • mail_settings.set_bypass_list_management() is now the property mail_settings.bypass_list_management
  • mail_settings.set_footer_settings() is now the property mail_settings.footer_settings
  • mail_settings.set_sandbox_mode() is now the property mail_settings.sandbox_mode
  • mail_settings.set_spam_check() is now the property mail_settings.spam_check
  • tracking_settings.set_click_tracking() is now the property click_tracking
  • tracking_settings.set_open_tracking() is now the property open_tracking
  • tracking_settings.set_subscription_tracking() is now the property subscription_tracking
  • tracking_settings.set_ganalytics() is now the property ganalytics

v3.6.5

30 Mar 17:40
Compare
Choose a tag to compare

Updated

v3.6.4

29 Mar 17:42
Compare
Choose a tag to compare

Updated

v3.6.3

14 Nov 20:47
Compare
Choose a tag to compare

Updated