Skip to content

Releases: SparkPost/node-sparkpost

Version 2.1.3 Release

25 Oct 18:57
Compare
Choose a tag to compare

Fixed

View the full changelog

Version 2.1.2 Release

20 Jan 14:18
Compare
Choose a tag to compare

Fixed

  • Callbacks are no longer being called twice in some methods by @avrahamgoldman. See Issue 203.

View the full changelog

Version 2.1.1 Release

11 Jan 14:24
Compare
Choose a tag to compare

Changed

  • Removed our addition to the native Promise prototype in favor of a bluebird-inspired callback-wrapping function. See Issue #199. Thanks @danieljuhl.

Fixed

  • Empty CC sugar method no longer triggers an API error by @avrahamgoldman.

View the full changelog

Version 2.1.0 Release

20 Dec 14:30
Compare
Choose a tag to compare

Added

Changed

  • Updated the following npm packages: coveralls, eslint, eslint-config-sparkpost, mocha, lodash, and request by @aydrian.
  • Resolved new linting issues from eslint-config-sparkpost update by @avrahamgoldman.

Fixed

  • The options parameter on the transmissions.send() method is now optional if you're using a callback function by @avrahamgoldman.
  • The options parameter on the templates.get() method is now optional if you're using a callback function by @avrahamgoldman.

View the full changelog

Version 2.0.1 Release

10 Nov 16:37
Compare
Choose a tag to compare

Added

  • Node.js version is now tracked using the User-Agent header by @ewandennis.
  • An optional "stack identifier" that can be set during initialization so we can track libraries that use node-sparkpost via the User-Agent header by @ewandennis.

View the full changelog

Version 2.0.0 Release

04 Nov 19:12
Compare
Choose a tag to compare

Note: This release contains breaking changes

With this major release, we streamlined and simplified the library making it more of a thin wrapper, adding sugar methods when needed. Parameters are no longer abstracted and are passed directly to the API as laid out in the official documentation. Please see the updated resource docs and examples. The high level changes have been listed below.

Added

  • Support for Promises and Callbacks. See Async Handling.
  • Debug option on initialization attaches debug information on response

Changed

  • Methods return the response body instead of the full response.
  • Standardized methods on all API wrappers. See Issue #175.
  • Transmissions send method now takes an object of transmission attributes as the first parameter. Any other options, such as num_rcpt_errors has been moved to a second optional options parameter.
  • Removed the toApiFormat method, parameters are passed directly to the API as snake_case.
  • Now using ESLint with SparkPost config instead of JSLint
  • Now using NPM scripts instead of grunt

Fixed

  • Responses for GET requests are now properly parsed as JSON by @aydrian. Closes #111

Removed

  • No longer supporting Node.js versions 0.10 & 0.12. We will be following the LTS Schedule going forward.
  • Removed SendGrid Compatibility layer.

View the full changelog

Version 1.3.8 Release

26 Aug 19:48
Compare
Choose a tag to compare
  • #165 Updated webhook update method to not send id in request (@aydrian)

View the full changelog

Version 1.3.7 Release

28 Jul 17:56
Compare
Choose a tag to compare

View the full changelog

Version 1.3.6 Release

14 Jul 12:46
Compare
Choose a tag to compare

View the full changelog

Version 1.3.5 Release

13 May 19:14
Compare
Choose a tag to compare
  • #146 Single recipient suppression list upserts now use the bulk update endpoint (@jgzamora)

View the full changelog