Skip to content

Commit

Permalink
more release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Sep 18, 2018
1 parent f3da5b9 commit 97372a1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ Centrifugo is now based on new library [centrifuge](https://github.com/centrifug

Highlights of v2:

* Cleaner and more structured client-server protocol defined in protobuf schema
* Binary Websocket support (Protobuf). Of course JSON is still the main serialization format
* JWT for authentication and private channel authorization instead of hand-crafted HMAC sign
* Prometheus integration and automatic export of stats to Graphite
* Cleaner and more structured client-server protocol defined in protobuf schema. Protocol is more compact because some fields with default values that were sent previously now omitted
* Binary Websocket support (Protobuf). Protobuf allows to transfer data in much more compact and performant way than before. Of course JSON is still the main serialization format
* JWT for authentication and private channel authorization instead of hand-crafted HMAC sign. This means that there is no need in extra libraries to generate connection and subscription tokens. There are [plenty of JWT libraries](https://jwt.io/) for all languages
* Prometheus integration and automatic export of stats to Graphite. Now Centrifugo easily integrates in modern monitoring stack – no need to manually export stats
* Refactored [Javascript](https://github.com/centrifugal/centrifuge-js) (ES6), [Go](https://github.com/centrifugal/centrifuge-go) and [gomobile client](https://github.com/centrifugal/centrifuge-mobile) libraries
* Simplified HTTP API authentication (no request body signing anymore)
* GRPC for server API
* New `presence_stats` API command
* Structured logging
* Mechanism to automatically merge several Websocket messages into one
* New `presence_stats` API command to get compact presence information - how many clients and unique users in channel
* Structured logging with coloured output during development
* Mechanism to automatically merge several Websocket messages into one to reduce syscall amount thus be more performant under heavy load
* Better recovery algorithm to fix several `recovered` flag false positives
* Goreleaser for automatic releases to Github

Expand All @@ -32,7 +32,7 @@ Some things were removed from Centrifugo in v2 release:

[New documentation](https://centrifugal.github.io/centrifugo/) contains actual information and tips about migration from v1.

As said above new version uses JWT tokens for authentication and private channel authorization. And there is no API request body signing anymore. This all means that there is no real need using API clients (like `cent`, `phpcent`, `jscent`, `rubycent`, `gocent` before) – you can use any JWT library for your language and just send commands from your code – this is just simple JSON objects. Though those libraries still make sense to simplify integration a bit.
As mentioned above new version uses JWT tokens for authentication and private channel authorization. And there is no API request body signing anymore. This all means that using API clients (like `cent`, `phpcent`, `jscent`, `rubycent`, `gocent` before) is not necessary anymore – you can use any JWT library for your language and just send commands from your code – this is just simple JSON objects. Though API libraries still make sense to simplify integration a bit.

At moment there are no native mobile clients. I.e. `centrifuge-ios` and `centrifuge-android` have not been updated to Centrifugo v2 yet.

Expand Down
16 changes: 8 additions & 8 deletions misc/release/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ Centrifugo is now based on new library [centrifuge](https://github.com/centrifug

Highlights of v2:

* Cleaner and more structured client-server protocol defined in protobuf schema
* Binary Websocket support (Protobuf). Of course JSON is still the main serialization format
* JWT for authentication and private channel authorization instead of hand-crafted HMAC sign
* Prometheus integration and automatic export of stats to Graphite
* Cleaner and more structured client-server protocol defined in protobuf schema. Protocol is more compact because some fields with default values that were sent previously now omitted
* Binary Websocket support (Protobuf). Protobuf allows to transfer data in much more compact and performant way than before. Of course JSON is still the main serialization format
* JWT for authentication and private channel authorization instead of hand-crafted HMAC sign. This means that there is no need in extra libraries to generate connection and subscription tokens. There are [plenty of JWT libraries](https://jwt.io/) for all languages
* Prometheus integration and automatic export of stats to Graphite. Now Centrifugo easily integrates in modern monitoring stack – no need to manually export stats
* Refactored [Javascript](https://github.com/centrifugal/centrifuge-js) (ES6), [Go](https://github.com/centrifugal/centrifuge-go) and [gomobile client](https://github.com/centrifugal/centrifuge-mobile) libraries
* Simplified HTTP API authentication (no request body signing anymore)
* GRPC for server API
* New `presence_stats` API command
* Structured logging
* Mechanism to automatically merge several Websocket messages into one
* New `presence_stats` API command to get compact presence information - how many clients and unique users in channel
* Structured logging with coloured output during development
* Mechanism to automatically merge several Websocket messages into one to reduce syscall amount thus be more performant under heavy load
* Better recovery algorithm to fix several `recovered` flag false positives
* Goreleaser for automatic releases to Github

Expand All @@ -29,6 +29,6 @@ Some things were removed from Centrifugo in v2 release:

[New documentation](https://centrifugal.github.io/centrifugo/) contains actual information and tips about migration from v1.

As said above new version uses JWT tokens for authentication and private channel authorization. And there is no API request body signing anymore. This all means that there is no real need using API clients (like `cent`, `phpcent`, `jscent`, `rubycent`, `gocent` before) – you can use any JWT library for your language and just send commands from your code – this is just simple JSON objects. Though those libraries still make sense to simplify integration a bit.
As mentioned above new version uses JWT tokens for authentication and private channel authorization. And there is no API request body signing anymore. This all means that using API clients (like `cent`, `phpcent`, `jscent`, `rubycent`, `gocent` before) is not necessary anymore – you can use any JWT library for your language and just send commands from your code – this is just simple JSON objects. Though API libraries still make sense to simplify integration a bit.

At moment there are no native mobile clients. I.e. `centrifuge-ios` and `centrifuge-android` have not been updated to Centrifugo v2 yet.

0 comments on commit 97372a1

Please sign in to comment.