Skip to content

Commit 74ebd62

Browse files
committed
v5.3.1 release notes, use go1.22.2
1 parent 98870be commit 74ebd62

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
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.22.1]
13+
go-version: [1.22.2]
1414
steps:
1515
- name: Install Go
1616
uses: actions/setup-go@v5

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -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.22.1]
26+
go-version: [1.22.2]
2727
tarantool-version: [2.7.2]
2828
steps:
2929
- name: Install Go

misc/release/notes.md

+5-10
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,17 @@ 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-
1311
### Improvements
1412

15-
* Better error message for invalid connection token with channel claim, see [#776](https://github.com/centrifugal/centrifugo/issues/776)
13+
* Minor performance optimization – reuse connection timer, see [centrifugal/centrifuge#349](https://github.com/centrifugal/centrifuge/pull/349)
1614

1715
### Fixes
1816

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-
* When using in-memory broker (default) history meta TTL was not properly inherited from channel namespace configuration – the global one was used instead. Fixed in [centrifugal/centrifuge#366](https://github.com/centrifugal/centrifuge/pull/366)
21-
* Web UI: redirect to the login screen in case of unauthorized errors from server, this fixes a regression introduced by Centrifugo v5.2.1
22-
* Fix setting custom TTL in `gensubtoken` cli, see [#769](https://github.com/centrifugal/centrifugo/pull/769)
17+
* Fix WebSocket compression (`io: read/write on closed pipe` error) in JSON protocol case, see [commit in centrifugal/protocol](https://github.com/centrifugal/protocol/commit/a9e11df2c5fccf8c3f0397fea0321ac09555265c)
18+
* Fix unmarshaling slice of objects in yaml config [#786](https://github.com/centrifugal/centrifugo/pull/786)
2319

2420
### Misc
2521

26-
* Release is built with Go 1.22.1
22+
* Release is built with Go 1.22.2
2723
* All dependencies were updated to latest versions
28-
* Built-in integration with Heroku was removed [#779](https://github.com/centrifugal/centrifugo/pull/779)
29-
* ❗If you use SockJS – pay attention to [#765](https://github.com/centrifugal/centrifugo/issues/765) – in Centrifugo v6 SockJS support will be removed
24+
* If you use `centrifuge-js` and have dynamic subscribe/unsubscribe calls – take a look at `centrifuge-js` [v5.1.0](https://github.com/centrifugal/centrifuge-js/releases/tag/5.1.0) – it contains changes for a proper processing of unsubscribe frames.

0 commit comments

Comments
 (0)