Skip to content

Latest commit

 

History

History
252 lines (204 loc) · 8.65 KB

CHANGELOG.md

File metadata and controls

252 lines (204 loc) · 8.65 KB

Change Log

All notable changes to this project will be documented in this file.

[5.1.2] - 2017-06-30

Fixed

[5.1.1] - 2017-06-1

Added

  • Pull #391
  • Return personalizations as an array of request compatible JSON.
  • Thanks to Paul Hrimiuc for the PR!

[5.1.0] - 2017-05-3

Added

  • 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!

[5.0.1] - 2017-04-24

Fixed

  • Pull #385
  • Remove JSON.parse() around response bodies in contact-importer
  • Thanks to Eemeli Aro for the PR!

[5.0] - 2017-03-31

BREAKING CHANGE

  • Pull #328
  • Drop 0.10, 0.12 from supported Node.js versions, add 6
  • Thanks to Mike Ralphson for the PR!

[4.10] - 2017-03-30

Added

  • Pull #303
  • Add Inbound Parse data parser
  • Thanks to Jamie for the PR!

[4.9] - 2017-03-28

Added

  • Pull #371
  • Catch error in sendgrid, partially solves #370
  • Thanks to gf for the PR!

[4.8.4] - 2017-03-14

Fixed

  • Pull #348
  • Fix typescript definition for the ClickTracking
  • Thanks to dhenriques for the PR!

[4.8.3] - 2017-03-14

Fixed

  • Pull #368, Fixes #367
  • Personalization.getSubstitutions() return type incorrect in index.d.ts TypeScript definition file
  • Thanks to Brian Love for the PR!

[4.8.2] - 2017-03-14

Fixed

  • Pull #338
  • Fix function name in mail helper and fix the corresponding test
  • Thanks to Seoker Wang for the PR!

[4.8.1] - 2017-03-13

Fixed

  • Pull #354
  • fix: Make various TypeScript request components optional
  • Thanks to Benjamin Pannell for the PR!

[4.8.0] - 2017-03-10

Added

  • Pull #333
  • [TypeDefinition] SendGrid.API should return Promise instead of PromiseLike
  • Thanks to Ayman Nedjmeddine for the PR!

[4.7.1] - 2016-10-25

Added

[4.7.0] - 2016-10-14

Added

  • 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!

[4.6.0] - 2016-10-13

Added

  • Pull #319, Fixed issue #266
  • Converts response.body to have valid json objects
  • Thanks to Hugo Durães for the pull request!

[4.5.0] - 2016-10-05

Added

[4.4.1] - 2016-09-27

Fixed

[4.4.0] - 2016-09-27

Added

[4.3.1] - 2016-09-27

Fixed

[4.3.0] - 2016-09-15

Added

[4.2.1] - 2016-09-15

Fixed

[4.2.0] - 2016-09-14

Added

[4.1.0] - 2016-09-09

Added

[4.0.2] - 2016-08-24

Added

  • Table of Contents in the README
  • Added a USE_CASES.md section, with the first use case example for transactional templates

[4.0.1] - 2016-08-02

Fixed

  • 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

[4.0.0] - 2016-08-02

Breaking Change

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')

[3.0.11] - 2016-07-26

Added

[3.0.10] - 2016-07-23

Fixed

[3.0.9] - 2016-07-20

Added

  • 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

[3.0.8] - 2016-07-12

Added

  • Update docs, unit tests and examples to include Sender ID

[3.0.7] - 2016-07-05

Updated

[3.0.6] - 2016-07-01

Fixed

  • GET suppression/bounces needs header to be Accept: application/json

[3.0.5] - 2016-06-14

Fixed

[3.0.4] - 2016-06-14

Fixed

  • Fixed exports and README example

[3.0.3] - 2016-06-14

Added

  • Moving mail helper export

[3.0.2] - 2016-06-14

Added

  • Added mail helper

[3.0.1] - 2016-06-14

Fixed

  • Missing index.js

[3.0.0] - 2016-06-13

Added

  • Breaking change to support the v3 Web API
  • New HTTP client
  • v3 Mail Send helper

[2.0.0] - 2015-10-13

Fixed

  • Add cc now uses the WebAPI instead of the SMTPApi. Read disclaimer for details

[1.9.1] - 2015-7-20

Changed

  • Pinned request version to be less than 2.59.0 because it broke something

[1.9.0] - 2015-7-07

Added

  • setFromName function #175

[1.8.0] - 2015-5-06

Added

  • addBcc and setBccs functions

[1.7.0] - 2015-4-27

Added

  • Support for API keys

[1.6.1] - 2015-4-5

Added

  • Updated version of lodash for optimizations #158
  • Temporarily make travis use npm 2.7.6 3e16a2

[1.6.0] - 2015-2-3

Added

  • ASM Group ID support
  • CHANGELOG.md