Releases: SparkPost/node-sparkpost
Releases · SparkPost/node-sparkpost
Version 2.1.3 Release
Version 2.1.2 Release
Version 2.1.1 Release
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
Added
- You can now add recipients to CC and BCC using sugar methods by @avrahamgoldman. See the updated transmissions documentation and CC/BCC examples.
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
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
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 asnum_rcpt_errors
has been moved to a second optionaloptions
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
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
Version 1.3.7 Release
Version 1.3.6 Release
- #148 Preserve array/object structure of API data (@gpittarelli)
View the full changelog