Skip to content

Commit

Permalink
Version bump 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiezane committed Apr 27, 2015
1 parent ae4490a commit 5d2dc5a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log
All notable changes to this project will be documented in this file.

## [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](https://github.com/sendgrid/sendgrid-nodejs/pull/158)
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Add the following to your `package.json` file:
...
"dependencies": {
...
"sendgrid": "^1.6.1"
"sendgrid": "^1.7.0"
}
}
```
Expand All @@ -54,10 +54,12 @@ There is a [sendgrid-nodejs-example app](https://github.com/sendgrid/sendgrid-no

## Usage

To begin using this library, initialize the SendGrid object with your SendGrid credentials.
To begin using this library, initialize the SendGrid object with your SendGrid credentials OR a SendGrid API Key. API Key is the preferred method. API Keys are in beta. To configure API keys, visit https://sendgrid.com/beta/settings/api_keys

```javascript
var sendgrid = require('sendgrid')(api_user, api_key);
var sendgrid = require('sendgrid')(api_user, api_password);
// OR
var sendgrid = require('sendgrid')(api_key);
```

Create a new JavaScript object with your message details.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"name": "sendgrid",
"description": "Official SendGrid NodeJS library.",
"version": "1.6.1",
"version": "1.7.0",
"homepage": "http://sendgrid.com",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion test/lib/sendgrid.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('SendGrid', function () {

it('version should be set', function() {
var sendgrid = SendGrid(API_USER, API_KEY);
expect(sendgrid.version).to.equal("1.6.1");
expect(sendgrid.version).to.equal("1.7.0");
});

it('should attach a options object to self', function() {
Expand Down

0 comments on commit 5d2dc5a

Please sign in to comment.