All notable changes to this project will be documented in this file.
- Pull #116: Fixing mimetypes in the NewSingleEmail function
- Big thanks to Depado for the pull request!
- Pull #96: Send a Single Email to a Single Recipient
- Big thanks to Oranagwa Osmond for the pull request!
- Pull #95: Use log instead of fmt for printing errors
- Big thanks to Gábor Lipták for the pull request!
- Pull #91: Simplified code in mail helper
- Big thanks to Roberto Ortega for the pull request!
- Merged pull request: update prismPath and update prism binary
- Special thanks to Tom Pytleski 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
- Merged pull request: make contents var args in NewV3MailInit
- The
NewV3MailInit
Mail Helper constructor can now take in multiple content objects. - Thanks to Adrien Delorme for the pull request!
- Dependency update to v2.2.0 of sendGrid-rest
- Pull #9: Allow for setting a custom HTTP client
- Here is an example of usage
- This enables usage of the sendgrid-go library on Google App Engine (GAE)
- Special thanks to Chris Broadfoot and Sridhar Venkatakrishnan for providing code and feedback!
- Troubleshooting section
- 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
- Missing example query params for the examples
- Tests now mocked automatically against prism
- 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
- Breaking change to support the v3 Web API
- New HTTP client
- v3 Mail Send helper
- Fixed a nasty bug with orphaned connections but drops support for Go versions < 1.3. Thanks trinchan
- Support for API keys