Skip to content

Commit

Permalink
Merge pull request #163 from nats-io/node-nats-node-compat
Browse files Browse the repository at this point in the history
Nodejs compatibility statement
  • Loading branch information
Alberto Ricart authored Oct 16, 2017
2 parents c531bc7 + 90cadb0 commit db697ec
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ language: node_js
sudo: false

node_js:
- "0.12"
- "4"
- "6"
- "7"
- "8"

before_script:
- wget https://github.com/nats-io/gnatsd/releases/download/v0.9.4/gnatsd-v0.9.4-linux-amd64.zip -qO tmp.zip
- wget https://github.com/nats-io/gnatsd/releases/download/v1.0.4/gnatsd-v1.0.4-linux-amd64.zip -qO tmp.zip
- unzip tmp.zip
- mv gnatsd-v0.9.4-linux-amd64 gnatsd
- mv gnatsd-v1.0.4-linux-amd64 gnatsd

after_success:
- npm run coveralls
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,16 @@ nc.on('close', function() {

```

See examples and benchmarks for more information..
See examples and benchmarks for more information.


## Supported Node Versions

Support policy for Nodejs versions follows
[Nodejs release support]( https://github.com/nodejs/Release).
We will support and build node-nats on even Nodejs versions that are current
or in maintenance.


## License

Expand Down
2 changes: 1 addition & 1 deletion lib/nats.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var net = require('net'),
/**
* Constants
*/
var VERSION = '0.7.20',
var VERSION = '0.7.22',

DEFAULT_PORT = 4222,
DEFAULT_PRE = 'nats://localhost:',
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": "nats",
"version": "0.7.20",
"version": "0.7.22",
"description": "Node.js client for NATS, a lightweight, high-performance cloud native messaging system",
"keywords": [
"nats",
Expand Down

0 comments on commit db697ec

Please sign in to comment.