Skip to content

Commit

Permalink
Merge pull request #593 from nats-io/prepare_for_next_release
Browse files Browse the repository at this point in the history
Update README and version number for next release
  • Loading branch information
kozlovic authored Sep 27, 2017
2 parents b83c9d1 + d90dc55 commit 12a5ced
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ To start the NATS server with default settings (and no authentication or cluster

```sh
> ./gnatsd
[71950] 2017/06/30 13:00:34.972268 [INF] Starting nats-server version 1.0.2
[71950] 2017/06/30 13:00:34.972407 [INF] Listening for client connections on 0.0.0.0:4222
[71950] 2017/06/30 13:00:34.972410 [INF] Server is ready
[71829] 2017/09/22 14:57:27.740599 [INF] Starting nats-server version 1.0.4
[71829] 2017/09/22 14:57:27.740735 [INF] Listening for client connections on 0.0.0.0:4222
[71829] 2017/09/22 14:57:27.740739 [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.
Expand All @@ -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":"1.0.2","go":"go1.7.6","host":"0.0.0.0","port":4222, ...}
INFO {"server_id":"kG19DsXX1UVeSyEjhl3RFw","version":"1.0.4","go":"go1.8.3","host":"0.0.0.0","port":4222, ...}
SUB foo 1
+OK
PUB foo 11
Expand Down Expand Up @@ -658,10 +658,10 @@ Examples using the test certificates which are self signed for localhost and 127
```bash
> ./gnatsd --tls --tlscert=./test/configs/certs/server-cert.pem --tlskey=./test/configs/certs/server-key.pem

[72112] 2017/06/30 13:05:50.706084 [INF] Starting nats-server version 1.0.2
[72112] 2017/06/30 13:05:50.706231 [INF] Listening for client connections on 0.0.0.0:4222
[72112] 2017/06/30 13:05:50.706234 [INF] TLS required for client connections
[72112] 2017/06/30 13:05:50.706235 [INF] Server is ready
[71505] 2017/09/22 14:53:19.769151 [INF] Starting nats-server version 1.0.4
[71505] 2017/09/22 14:53:19.769315 [INF] Listening for client connections on 0.0.0.0:4222
[71505] 2017/09/22 14:53:19.769319 [INF] TLS required for client connections
[71505] 2017/09/22 14:53:19.769321 [INF] Server is ready
```

Notice that the log indicates that the client connections will be required to use TLS. If you run the server in Debug mode with `-D` or `-DV`, the logs will show the cipher suite selection for each connected client.
Expand Down Expand Up @@ -720,10 +720,10 @@ To enable monitoring via the configuration file, use `host:port` (there is no ex
For example, running the `gnatsd -m 8222` command, you should see that the NATS server starts with the HTTP monitoring port enabled. To view the monitoring home page, go to <a href="http://localhost:8222/" target="_blank">http://localhost:8222/</a>.

```
[72440] 2017/06/30 13:09:18.428193 [INF] Starting nats-server version 1.0.2
[72440] 2017/06/30 13:09:18.428365 [INF] Starting http monitor on 0.0.0.0:8222
[72440] 2017/06/30 13:09:18.428407 [INF] Listening for client connections on 0.0.0.0:4222
[72440] 2017/06/30 13:09:18.428410 [INF] Server is ready
[71859] 2017/09/22 14:57:45.206152 [INF] Starting nats-server version 1.0.4
[71859] 2017/09/22 14:57:45.206292 [INF] Starting http monitor on 0.0.0.0:8222
[71859] 2017/09/22 14:57:45.206328 [INF] Listening for client connections on 0.0.0.0:4222
[71859] 2017/09/22 14:57:45.206330 [INF] Server is ready
```

## Development
Expand Down Expand Up @@ -790,8 +790,8 @@ IN THE SOFTWARE.
[License-Image]: https://img.shields.io/badge/License-MIT-blue.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/v1.0.2
[Release-image]: http://img.shields.io/badge/release-v1.0.2-1eb0fc.svg
[Release-Url]: https://github.com/nats-io/gnatsd/releases/tag/v1.0.4
[Release-image]: http://img.shields.io/badge/release-v1.0.4-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
Expand Down
2 changes: 1 addition & 1 deletion server/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const (

const (
// VERSION is the current version for the server.
VERSION = "1.0.2"
VERSION = "1.0.4"

// DEFAULT_PORT is the default port for client connections.
DEFAULT_PORT = 4222
Expand Down

0 comments on commit 12a5ced

Please sign in to comment.