Releases: sendgrid/sendgrid-nodejs
Releases · sendgrid/sendgrid-nodejs
v4.2.1
Fixed
v4.2.0
Added
- Pull Request #278: Tkp/contact importer
- Thanks to Tom Kirkpatrick for the pull request!
v4.1.0
Added
- Pull Request #277: Make SendGrid a factory that enables multiple prototype instances
- Thanks to Tom Kirkpatrick for the pull request!
v4.0.2
Added
- Table of Contents in the README
- Added a USE_CASES.md section, with the first use case example for transactional templates
v4.0.1
v4.0.0
Breaking Change
- Pull request #261
- BIG THANKS to Adam Buczynski!!!
Fixed
Added
- Extracted some logic into helpers
- Using a getEmptyRequest helper to avoid code duplication
- emtpyRequest now accepts an object with data to extend the empty request with, this will allow simpler syntax for initializing requests.
- Callback function now receives two parameters as per Node conventions (error, response)
- If no callback provided, the method will return a promise instead.
- Implemented promise API when not passing a callback function
- Using native Promise by default if present, but allow users to override this with any other implementation by setting Sendgrid.Promise to any value, e.g. Sendgrid.Promise = require('bluebird')
v3.0.11
Added
- Troubleshooting section
v3.0.10
- Fixed typo in Mail Helper per pull request #250
- Thanks to Cameron Wilby for finding the issue!
v3.0.9
- 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