All notable changes to this project will be documented in this file.
- Pull #399
- Fix
batch_id
type - Thanks to Leonardo Testa for the PR!
- Pull #391
- Return personalizations as an array of request compatible JSON.
- Thanks to Paul Hrimiuc for the PR!
- Pull #325
- Run prism for tests
- Now the mock SendGrid server, powered by Prism is automated locally and on Travis
- Thanks to Mike Ralphson for the PR!
- Pull #385
- Remove JSON.parse() around response bodies in contact-importer
- Thanks to Eemeli Aro for the PR!
- Pull #328
- Drop 0.10, 0.12 from supported Node.js versions, add 6
- Thanks to Mike Ralphson for the PR!
- Pull #303
- Add Inbound Parse data parser
- Thanks to Jamie for the PR!
- Pull #371
- Catch error in sendgrid, partially solves #370
- Thanks to gf for the PR!
- Pull #348
- Fix typescript definition for the ClickTracking
- Thanks to dhenriques for the PR!
- Pull #368, Fixes #367
- Personalization.getSubstitutions() return type incorrect in index.d.ts TypeScript definition file
- Thanks to Brian Love for the PR!
- Pull #338
- Fix function name in mail helper and fix the corresponding test
- Thanks to Seoker Wang for the PR!
- Pull #354
- fix: Make various TypeScript request components optional
- Thanks to Benjamin Pannell for the PR!
- Pull #333
- [TypeDefinition] SendGrid.API should return Promise instead of PromiseLike
- Thanks to Ayman Nedjmeddine for the PR!
- Pull #329
- Simplified installation instructions
- Thanks to Heitor Tashiro Sergent for the PR!
- Pull #323, Fixed issue #317
- Updates nodejs-http-client dependency to v2.3.0
- Invoke the API callback with a mocked response upon Error
- Thanks to Huli for the PR!
- Pull #319, Fixed issue #266
- Converts
response.body
to have valid json objects - Thanks to Hugo Durães for the pull request!
- Pull #308 feat: Add support for promises to the TypeScript definitions file
- Thanks to Benjamin Pannell for the pull request!
- Pull #309 Allow emptyRequest() to be called with a request object
- Thanks to Benjamin Pannell for the fix!
- Pull #299: Fill 'response' property in error instance
- This makes the behavior when using callbacks consistent with the promise counterpart. That is, in both cases, error.response is present
- Thanks to Guilherme Souza for the pull request!
- Pull #300: Correct TypeScript definitions
- Thanks to Benjamin Pannell for the fix!
- Pull #251: Add TypeScript typings definition file for v3 API
- Thanks to Benjamin Pannell for the pull request!
- Issue #292: 4.2.0 Error: Cannot find module 'debug'
- Pull Request #278: Tkp/contact importer
- Thanks to Tom Kirkpatrick for the pull request!
- Pull Request #277: Make SendGrid a factory that enables multiple prototype instances
- Thanks to Tom Kirkpatrick 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
- Pull request #264: Fixed backwards compatability with Node.js versions 0.10 and 0.12
- Use var instead of let
- Check if Promise is defined
- Pull request #261
- BIG THANKS to Adam Buczynski!!!
- 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')
- Troubleshooting section
- Fixed typo in Mail Helper per pull request #250
- Thanks to Cameron Wilby for finding the issue!
- 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
- Content based on our updated Swagger/OAI doc
- GET suppression/bounces needs header to be Accept: application/json
- Updated dependency on https://github.com/sendgrid/nodejs-http-client
- Sending email with accents: sendgrid#239
- Thanks eaparango!
- Fixed exports and README example
- Moving mail helper export
- Added mail helper
- Missing index.js
- Breaking change to support the v3 Web API
- New HTTP client
- v3 Mail Send helper
- Add cc now uses the WebAPI instead of the SMTPApi. Read disclaimer for details
- Pinned request version to be less than
2.59.0
because it broke something
- setFromName function #175
- addBcc and setBccs functions
- Support for API keys
- ASM Group ID support
- CHANGELOG.md