Skip to content

Commit 1f789aa

Browse files
committed
prepare Centrifugo v5.3.0
1 parent 7fd9b53 commit 1f789aa

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
go-version: [1.21.6]
13+
go-version: [1.22.1]
1414
steps:
1515
- name: Install Go
1616
uses: actions/setup-go@v5

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v4
1111
- uses: actions/setup-go@v5
1212
with:
13-
go-version: '1.21.x'
13+
go-version: '1.22.x'
1414
- name: golangci-lint
1515
uses: golangci/golangci-lint-action@v4
1616
with:
@@ -23,7 +23,7 @@ jobs:
2323
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
2424
strategy:
2525
matrix:
26-
go-version: [1.21.6]
26+
go-version: [1.22.1]
2727
tarantool-version: [2.7.2]
2828
steps:
2929
- name: Install Go

misc/release/notes.md

+17-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Centrifugo is an open-source scalable real-time messaging server. Centrifugo can instantly deliver messages to application online users connected over supported transports (WebSocket, HTTP-streaming, SSE/EventSource, GRPC, SockJS, WebTransport). Centrifugo has the concept of a channel – so it's a user-facing PUB/SUB server.
1+
Centrifugo is an open-source scalable real-time messaging server. Centrifugo can instantly deliver messages to application online users connected over supported transports (WebSocket, HTTP-streaming, SSE/EventSource, GRPC, WebTransport). Centrifugo has the concept of a channel – so it's a user-facing PUB/SUB server.
22

33
Centrifugo is language-agnostic and can be used to build chat apps, live comments, multiplayer games, real-time data visualizations, collaborative tools, etc. in combination with any backend. It is well suited for modern architectures and allows decoupling the business logic from the real-time transport layer.
44

@@ -8,6 +8,21 @@ For details, go to the [Centrifugo documentation site](https://centrifugal.dev).
88

99
## What's changed
1010

11+
This release adds validation of proper `history_ttl` and `history_meta_ttl` configuration. Adding validation means possible errors on Centrifugo start if you have improperly configured history meta TTL expiration. See more details below.
12+
13+
### Improvements
14+
15+
* Better error message for invalid connection token with channel claim, see [#776](https://github.com/centrifugal/centrifugo/issues/776)
16+
1117
### Fixes
1218

13-
* Fix nil pointer dereference upon calling presence stats – fixes the regression introduced by v5.2.1, [centrifugal/centrifuge#117fa3e](centrifugal/centrifuge/commit/117fa3e02289f193afa16d8b4e90e0cc4376d6a0)
19+
* ❗Add validation on Centrifugo start for `history_meta_ttl` option to be greater than or equal to `history_ttl` option. Without this validation your history streams may eventually return error `The ID specified in XADD is equal or smaller than the target stream top item` during publish operation. See [#768](https://github.com/centrifugal/centrifugo/issues/768) for the details. This change won't affect you if you don't have `history_ttl` more than 30 days. Also, documentation about `history_meta_ttl` option was fixed since it contained different default values in different parts of the doc (the default changed in v5 together with [history meta ttl refactoring](https://centrifugal.dev/blog/2023/06/29/centrifugo-v5-released#history_meta_ttl-refactoring), but the doc was not properly updated).
20+
* Web UI: redirect to the login screen in case of unauthorized errors from server, this fixes a regression introduced by Centrifugo v5.2.1
21+
* Fix setting custom TTL in `gensubtoken` cli, see [#769](https://github.com/centrifugal/centrifugo/pull/769)
22+
23+
### Misc
24+
25+
* Release is built with Go 1.22.1
26+
* All dependencies were updated to latest versions
27+
* Built-in integration with Heroku was removed [#779](https://github.com/centrifugal/centrifugo/pull/779)
28+
* ❗If you use SockJS – pay attention to [#765](https://github.com/centrifugal/centrifugo/issues/765) – in Centrifugo v6 SockJS support will be removed

0 commit comments

Comments
 (0)