From 614c435b082eefc9ca802374c8aad3ee7c4f793f Mon Sep 17 00:00:00 2001 From: Ivan Kozlovic Date: Thu, 15 Dec 2016 15:38:15 -0700 Subject: [PATCH] Release v0.9.6 --- .travis.yml | 2 +- README.md | 49 ++++++++++++++++++++++++++----------------------- server/const.go | 2 +- 3 files changed, 28 insertions(+), 25 deletions(-) diff --git a/.travis.yml b/.travis.yml index f2285f0fbcc..a7012c9351e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,4 +17,4 @@ script: - staticcheck -ignore "$(cat staticcheck.ignore)" $EXCLUDE_VENDOR after_success: - if [ "$TRAVIS_GO_VERSION" \> "1.7." ]; then ./scripts/cov.sh TRAVIS; fi -- if [ "$TRAVIS_GO_VERSION" \> "1.7." ] && [ "$TRAVIS_TAG" != "" ]; then ./scripts/cross_compile.sh $TRAVIS_TAG; ghr --username nats-io --token $GITHUB_TOKEN --replace $TRAVIS_TAG pkg/; fi +- if [ "$TRAVIS_GO_VERSION" \> "1.7." ] && [ "$TRAVIS_TAG" != "" ]; then ./scripts/cross_compile.sh $TRAVIS_TAG; ghr --owner nats-io --token $GITHUB_TOKEN --draft --replace $TRAVIS_TAG pkg/; fi \ No newline at end of file diff --git a/README.md b/README.md index ee1ddbb29eb..e0242403d97 100644 --- a/README.md +++ b/README.md @@ -49,9 +49,9 @@ To start the NATS server with default settings (and no authentication or cluster ```sh > ./gnatsd -[37274] 2016/11/20 18:33:12.119961 [INF] Starting nats-server version 0.9.4 -[37274] 2016/11/20 18:33:12.120060 [INF] Listening for client connections on 0.0.0.0:4222 -[37274] 2016/11/20 18:33:12.120154 [INF] Server is ready +[37274] 2016/12/15 18:33:12.119961 [INF] Starting nats-server version 0.9.6 +[37274] 2016/12/15 18:33:12.120060 [INF] Listening for client connections on 0.0.0.0:4222 +[37274] 2016/12/15 18:33:12.120154 [INF] Server is ready ``` The server is started and listening for client connections on port 4222 (the default) from all available interfaces. The logs are displayed to stdout as shown above in the server output. @@ -69,7 +69,7 @@ The NATS server uses a [text based protocol](http://nats.io/documentation/intern Trying 107.170.221.32... Connected to demo.nats.io. Escape character is '^]'. -INFO {"server_id":"kG19DsXX1UVeSyEjhl3RFw","version":"0.9.4","go":"go1.6.3","host":"0.0.0.0","port":4222, ...} +INFO {"server_id":"kG19DsXX1UVeSyEjhl3RFw","version":"0.9.6","go":"go1.7.4","host":"0.0.0.0","port":4222, ...} SUB foo 1 +OK PUB foo 11 @@ -85,36 +85,39 @@ The NATS server accepts command line arguments to control its behavior. Usage is ``` Server Options: - -a, --addr HOST Bind to HOST address (default: 0.0.0.0) - -p, --port PORT Use PORT for clients (default: 4222) - -P, --pid FILE File to store PID - -m, --http_port PORT Use HTTP PORT for monitoring - -ms,--https_port PORT Use HTTPS PORT for monitoring - -c, --config FILE Configuration File + -a, --addr Bind to host address (default: 0.0.0.0) + -p, --port Use port for clients (default: 4222) + -P, --pid File to store PID + -m, --http_port Use port for http monitoring + -ms,--https_port Use port for https monitoring + -c, --config Configuration file Logging Options: - -l, --log FILE File to redirect log output + -l, --log File to redirect log output -T, --logtime Timestamp log entries (default: true) - -s, --syslog Enable syslog as log method. - -r, --remote_syslog Syslog server addr (udp://localhost:514). + -s, --syslog Enable syslog as log method + -r, --remote_syslog Syslog server addr (udp://localhost:514) -D, --debug Enable debugging output -V, --trace Trace the raw protocol - -DV Debug and Trace + -DV Debug and trace Authorization Options: - --user user User required for connections - --pass password Password required for connections + --user User required for connections + --pass Password required for connections + --auth Authorization token required for connections TLS Options: --tls Enable TLS, do not verify clients (default: false) - --tlscert FILE Server certificate file - --tlskey FILE Private key for server certificate + --tlscert Server certificate file + --tlskey Private key for server certificate --tlsverify Enable TLS, verify client certificates - --tlscacert FILE Client certificate CA for verification + --tlscacert Client certificate CA for verification Cluster Options: - --routes [rurl-1, rurl-2] Routes to solicit and connect - --cluster [cluster url] Cluster URL for solicited routes + --routes Routes to solicit and connect + --cluster Cluster URL for solicited routes + --no_advertise Advertise known cluster IPs to clients + Common Options: -h, --help Show this message @@ -658,8 +661,8 @@ IN THE SOFTWARE. [License-Image]: https://img.shields.io/npm/l/express.svg [Build-Status-Url]: http://travis-ci.org/nats-io/gnatsd [Build-Status-Image]: https://travis-ci.org/nats-io/gnatsd.svg?branch=master -[Release-Url]: https://github.com/nats-io/gnatsd/releases/tag/v0.9.4 -[Release-image]: http://img.shields.io/badge/release-v0.9.4-1eb0fc.svg +[Release-Url]: https://github.com/nats-io/gnatsd/releases/tag/v0.9.6 +[Release-image]: http://img.shields.io/badge/release-v0.9.6-1eb0fc.svg [Coverage-Url]: https://coveralls.io/r/nats-io/gnatsd?branch=master [Coverage-image]: https://coveralls.io/repos/github/nats-io/gnatsd/badge.svg?branch=master [ReportCard-Url]: http://goreportcard.com/report/nats-io/gnatsd diff --git a/server/const.go b/server/const.go index a56f679945b..f4336f3df59 100644 --- a/server/const.go +++ b/server/const.go @@ -8,7 +8,7 @@ import ( const ( // VERSION is the current version for the server. - VERSION = "0.9.5" + VERSION = "0.9.6" // DEFAULT_PORT is the default port for client connections. DEFAULT_PORT = 4222