From 243287887af63920ae07f843c2f661e1a65a3c6f Mon Sep 17 00:00:00 2001 From: Alexander Emelin Date: Sat, 25 Nov 2023 09:08:07 +0200 Subject: [PATCH] prepare v5.1.2 release --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- CHANGELOG.md | 7 +++++++ misc/release/notes.md | 12 ++++++------ 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d9e35f5cef..d4886d3815 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: [1.21.3] + go-version: [1.21.4] steps: - name: Install Go uses: actions/setup-go@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 97a627c70c..689f7a3ceb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository strategy: matrix: - go-version: [1.21.3] + go-version: [1.21.4] tarantool-version: [2.7.2] steps: - name: Install Go diff --git a/CHANGELOG.md b/CHANGELOG.md index ce6a7c4aa6..018ae47238 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +v5.1.2 and higher +================= + +Since Centrifugo v5.1.2 we do not maintain CHANGELOG.md file. + +All changes may be found on [Centrifugo releases page](https://github.com/centrifugal/centrifugo/releases) on Github. + v5.1.1 ====== diff --git a/misc/release/notes.md b/misc/release/notes.md index 8591e9e93c..ef3bdf6b57 100644 --- a/misc/release/notes.md +++ b/misc/release/notes.md @@ -10,15 +10,15 @@ For details, go to the [Centrifugo documentation site](https://centrifugal.dev). ### Improvements -* Option to extract client connection user ID from HTTP header [#730](https://github.com/centrifugal/centrifugo/pull/730). See [documentation](https://centrifugal.dev/docs/server/configuration#client_user_id_http_header) for it. -* Speed up channel config operations by using atomic.Value and reduce allocations upon channel namespace extraction by using channel options cache, [#727](https://github.com/centrifugal/centrifugo/pull/727) -* New metrics for the size of messages sent and received by Centrifugo real-time transport. And we finally described all the metrics exposed by Centrifugo in docs - see [Server observability -> Exposed metrics](https://centrifugal.dev/docs/server/observability#exposed-metrics) +* Avoid keeping zero offsets in history meta hash keys in Redis – slightly reduces memory consumption of Redis, see [centrifugal/centrifuge#332](https://github.com/centrifugal/centrifuge/pull/332) ### Fixes -* Fix `Lua redis lib command arguments must be strings or integers script` error when calling Redis reversed history and the stream metadata key does not exist, [#732](https://github.com/centrifugal/centrifugo/issues/732) +* Centrifugo v5.1.1 fixed `Lua redis lib command arguments must be strings or integers script` error for new Centrifugo setups and new keys in Redis, but have not provided solution to existing keys. In [centrifugal/centrifuge/#331](https://github.com/centrifugal/centrifuge/pull/331) we fixed it. +* Updating `github.com/redis/rueidis` to v1.0.22 fixes unaligned atomics to run Centrifugo with Redis engine on 32-bit systems, [some details](https://github.com/centrifugal/centrifugo/pull/737) ### Misc -* Dependencies updated (rueidis, quic-go, etc) -* Improved logging for bidirectional emulation transports and unidirectional transports - avoid unnecessary error logs +* Release is built using Go v1.21.4 +* Opentelemetry dependencies updated +* We now have a [bash script for quick local setup of Redis cluster](https://github.com/centrifugal/centrifugo/tree/master/misc/redis_cluster) - to simplify development