All notable changes to this project will be documented in this file.
- PR #234: Helpers for email statistics - global, category, subuser
- Thanks to Awin Abi for the pull request!
- #173: Update ruby-http-client dependency
- #12 Add a helper that returns the response body as a hash via the
parsed_body
method in theResponse
object. - Thanks to Diego Camargo for the pull request!
- #108 Fix unexpected
Mail
#categories
,#categories=
behavior - Fixed Issue #95 Refactor Mail Helper Array Assignments
personalization.to
becomespersonalization.add_to()
personalization.cc
becomespersonalization.add_cc()
personalization.bcc
becomespersonalization.add_bcc()
personalization.headers
becomespersonalization.add_header()
personalization.substitutions
becomespersonalization.add_substitution()
personalization.custom_args
becomespersonalization.add_custom_arg()
mail.personalizations
becomesmail.add_personalization()
mail.contents
becomesmail.add_content()
mail.attachments
becomesmail.add_attachment()
mail.sections
becomesmail.add_section()
mail.headers
becomesmail.add_header()
mail.categories
becomesmail.add_category()
mail.custom_args
becomesmail.custom_args()
- For a full example of usage, please see here.
- #157: Specify required ruby version as '>= 2.2'
- This library does not support Ruby 2.1 or below.
- Thanks to Ryunosuke Sato for the pull request!
- #161: Fixed problematic Sinatra dependency
- Brings back Rails 4 compatibility (and Rack 1.x applications, in general), also removes release candidate version constraint (both broken in #160). Moreover, ensures that tests are run against two major Sinatra versions, which should protect from compatibility issues in future, somewhat. Related issue: #159.
- Thanks to Sebastian Skałacki for the pull request!
- #160: Updated sinatra version to 2.0
- Fixes bundler dependency issues with rails >5.0 and rack 2.0. Solves #159
- Thanks to gkats for the pull request!
- #70: Adds an account settings management helper object
- See the helper README for details
- Thanks to Kyle Kern for the pull request!
- #112: Fixes version ambiguity in gemspec
- Thanks to Chris McKnight for the pull request!
- #148: Set api_key to empty string
- This makes creating an API key for a SendGrid subuser who does not have an API key easier. See #146 for details
- Thanks to Adam Beck for the pull request!
- #115 #134: Fix typos in initialize methods
- Thanks to Ben Jackson for the pull request!
- #144: Add Inbound Email Parse Webhook support
- Thanks to Wataru Sato for the pull request!
- Solves #147: Add User Agent string
- Pull Request #7
- Fixes issue #6: TLS certificates not verified
- Thanks to Koen Rouwhorst for the pull request!
- Pull #113: Fix Travis CI Prism functionality for non-SendGrid contributors, update deprecated File.exists
- Pull #110, fixed Issue #109
- Automates StopLight.io Prism mock server locally & on Travis CI
- Thanks to KY for the pull request!
- Pull #72: remove unnecessary ruby 2.2 requirement
- Thanks to Billy Watson 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
- Example and USAGE DELETE calls were missing example payloads
- Troubleshooting section
- Update dependency to ruby-http-client
- Response headers now return a hash instead of a string
- Thanks to Chris France for the pull request!
- 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
- Accept: application/json header per https://sendgrid.com/docs/API_Reference/Web_API_v3/How_To_Use_The_Web_API_v3/requests.html
- Content based on our updated Swagger/OAI doc
- Updated dependency on ruby-http-client
- Import structure
- Relative import for mail/helper
- Add mail/send helper to the $LOAD_PATH, updated http client dependency
- Breaking change to support the v3 Web API
- New HTTP client
- v3 Mail Send helper
Support for cc_name and bcc_name via #31
Thanks Dylan!
Thanks Jake!
Remove puts from mail.rb #29
Inline content support
Payload 'to' attribute fix for smtpapi