- With upgrade of
superagent
to 1.x, the exact set of errors returned by calls has changed. Notable changes: newstatus
property, and themessage
is now in this format:<ENGLISH HTTP CODE, like 'Unauthorized'> - <DETAIL>
- Add node 0.12 and iojs 1.5/1.6 to travis config
- Update dependencies
- Remove docs from npm package
Twilio
: properly setdevelopment = true
whenNODE_ENV === 'development'
- Properly handle connectivity/other errors thrown by
superagent
- supply callback with arity of two
Breaking changes:
- All environment variables now prefixed with 'THEHELP_'
- Capitalized key names now required for
Twilio.send()
, happily this allows additional paramebers to be included in the request Sendgrid.send()
now requires eithertext
orhtml
keys be provided. Similarly, means that additional parameters can be add for inclusion in the request to Sendgrid.
Other updates:
- Comprehensive testing: unit testing and manual tests for sending/receiving messages
- All test-related environment variables now prefixed with 'TEST_'
- Removed
nodemailer
,lodash
andwinston
as dependencies - Add support for receiving and validating incoming Sendgrid/Twilio messages
- Pare down what's in npm package
- Updated dev dependencies
- Minor version updates:
async
,superagent
- Patch updates:
nodemailer
- Updated a few dev dependencies
- Patch updates: grunt, thehelp-core, thehelp-test
- Minor version updates: thehelp-project, nodemailer, superagent
- Fixed too-long lines after thehelp-project upgrade
- Fixing package.json parse errors
- Twilio and Sendgrid are functional