All notable changes to this project will be documented in this file.
This minor version bump was due to a hiccup using lerna
to publish to npm.
- PR #691: Added support for
dynamicTemplateData
. Big thanks to Raju Mandapati for the PR! - PR #510: A tutorial to deploy a simple Hello Email app on Digital Ocean with Node.js using this SDK. Big thanks to Devin Chasanoff for the PR!
- PR #628: Add a repository overview in CONTRIBUTING.md. Big thanks to Nitish Phanse for the PR!
- PR #603: Added links to CONTRIBUTING.md. Big thanks to John Stevans for the PR!
- PR #687: Exclude sections from camel/snake case conversion in Mail helper class. Big thanks to Simon Bélanger for the PR!
- PR #666: Bumped the moment, chai-as-promised, and dirty-chai version in package.json. Big thanks to Cory Trimm for the PR!
- PR #651: Typo - Change
contentId
tocontent_id
. Big thanks to Tak Tran for the PR! - PR #610: Exclude esdoc node modules. Big thanks to Nitish Phanse for the PR!
- PR #619, Fixes #618: Update definitions for tsc 2.6
- Thanks to Francesco Soncina for the PR!
- PR #650: Expose Client and MailService classes
- Thanks to Adam Reis for the PR!
- PR #468: Heroku Tutorial
- Thanks to Shawn Wang for the PR!
- PR #477: Check if "body" on "response" is actually defined before accessing it
- Thanks to Philipp Gröschler for the PR!
- PR #457: Function to remove HTML tags
- Thanks to Nathaniel Hodges for the PR!
- PR #580: Simplify complexity in arrayToJson helpers
- Thanks to Anthony Juan Christian for the PR!
- PR #597: Adds file structure for USE_CASES.md
- Thanks to Shriyash Jalukar for the PR!
- PR #595: Added Code Review to CONTRIBUTING.md
- Thanks to Manjiri Tapaswi for the PR!
- PR #471: Google App Engine (GAE) Tutorial
- Thanks to Thujeevan for the PR!
- PR #449: Updated the endpoint which allows the retrieval of all recipients
- Thanks to Divya Rani for the PR!
- PR #568: Added unittest to check for specific repo files
- Thanks to Manjiri Tapaswi for the PR!
- PR #594: Sr. Front End Engineer job posting in Announcements
- Thanks to Marghodk for the PR!
- PR #605: Chai dependency version issue
- Thanks to Mukul Mishra for the PR!
- PR #581: Remove .only from test
- Thanks to Cédric Guérin for the PR!
- Pull #539: Add subscription widget to packages
- Thanks to Devin Chasanoff for the PR!
- Pull #542: Turn ContactImporter into ES6 class
- Thanks to Seth Etter for the PR!
- Pull #542: Turn ContactImporter into ES6 class
- Thanks to Seth Etter for the PR!
- Pull #445: Documentation Updates for better DX/UX
- Updates to README, TROUBLESHOOTING and USE_CASE documents to improve the developer experience.
- Pull #442: This addresses the issue where custom args and substitutions would have their keys transformed to camel case / snake case.
- Solves #441: Substitution is not working
- Thanks to Adam Reis for the PR!
- Pull #438: Content is not mandatory
- Solves #435: Unexpected Error when trying to send transactional email
- Thanks to Adam Reis for the PR!
- Pull #436, solves #433: Convert plain data to personalization class instance
- Thanks to Adam Reis for the PR!
- Pull #430, solves #428: TypeScript support added for v6 packages
- Thanks to Benjamin Pannell for the PR!
- BIG, HUGE, MEGA THANKS to Adam Reis for this amazing PR!!!
- Pull #407 via #378: API Simplification
- v6.0.0 is a complete rewrite of this SDK for all endpoints. To upgrade from v5.X and lower, we suggest you update your code based on the examples found here for mail send and here for all other endpoints.
- Please do not hesitate to open an issue if there are any challenges and/or feedback. PRs are also welcome.
- Pull #418: Fixed #417: fix: Update TypeScript definition to correct callback arguments for API
- Thanks to Benjamin Pannell for the PR!
- Pull #413: Handle null and undefined values in substitutions
- Thanks to Matteo Ferrando for the PR!
- Pull #410: Cast substitution values to strings
- Thanks to Ryan James for the PR!
- 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
- emptyRequest 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