Skip to content

Commit

Permalink
Bump version to 4.0.0 out of beta and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
plivo-sdks committed Jan 18, 2018
1 parent 92e6588 commit 067e0c8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Change Log
## [4.0.0](https://github.com/plivo/plivo-node/releases/tag/v4.0.0)(2018-01-18)
- Add timeout support while making the API requests
- Add meta property to list responses

## [4.0.0-beta.1](https://github.com/plivo/plivo-node/releases/tag/v4.0.0-beta.1)(2017-10-24)
- The new SDK works with Node.js >= 4. It has been tested against the versions 4, 5, 6, 7 and 8.
- The API interfaces are consistent and guessable
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The Node.js SDK makes it simpler to integrate communications into your Node.js a
## Installation
Install the SDK using [npm](https://www.npmjs.com/package/plivo)

$ npm install plivo@beta
$ npm install plivo

If you have the `0.4.1` version (a.k.a legacy) already installed, you may have to first uninstall it before installing the new version.

Expand Down Expand Up @@ -96,4 +96,4 @@ This generates the following XML:
Refer to the [Plivo API Reference](https://api-reference.plivo.com/latest/node/introduction/overview) for more examples. Also refer to the [guide to setting up dev environment](https://developers.plivo.com/getting-started/setting-up-dev-environment/) on [Plivo Developers Portal](https://developers.plivo.com) to setup an Express server & use it to test out your integration in under 5 minutes.

## Reporting issues
Report any feedback or problems with this beta version by [opening an issue on Github](https://github.com/plivo/plivo-node/issues).
Report any feedback or problems with this version by [opening an issue on Github](https://github.com/plivo/plivo-node/issues).
2 changes: 1 addition & 1 deletion lib/rest/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class Client {
authToken: authToken,
version: 'v1',
url: 'https://api.plivo.com/v1/Account/' + authId,
userAgent: `${name || 'plivo-node'}/${version || 'Unknown Version'} (Node: ${process.version})`,
userAgent: `${'plivo-node'}/${version || 'Unknown Version'} (Node: ${process.version})`,
}, options);

let client = camelCaseRequestWrapper(Request(options));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plivo",
"version": "4.0.0-beta.1",
"version": "4.0.0",
"description": "A Node.js SDK to make voice calls & send SMS using Plivo and to generate Plivo XML",
"homepage": "https://github.com/plivo/plivo-node",
"files": [
Expand Down

0 comments on commit 067e0c8

Please sign in to comment.