From c686f12286a6670dcd50d713f4a2493678793ffc Mon Sep 17 00:00:00 2001 From: Alexander Emelin Date: Thu, 14 Mar 2024 08:39:25 +0200 Subject: [PATCH] up centrifuge to v0.32.0 --- go.mod | 2 +- go.sum | 4 ++-- misc/release/notes.md | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 01d99c81e..66e7ab6dc 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/FZambia/statik v0.1.2-0.20180217151304-b9f012bb2a1b github.com/FZambia/tarantool v0.3.1 github.com/FZambia/viper-lite v0.0.0-20220110144934-1899f66c7d0e - github.com/centrifugal/centrifuge v0.31.0 + github.com/centrifugal/centrifuge v0.32.0 github.com/centrifugal/protocol v0.12.0 github.com/cristalhq/jwt/v5 v5.4.0 github.com/gobwas/glob v0.2.3 diff --git a/go.sum b/go.sum index bada1b721..3bef9957e 100644 --- a/go.sum +++ b/go.sum @@ -10,8 +10,8 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM= github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= -github.com/centrifugal/centrifuge v0.31.0 h1:gSEVNTmCN1fJ3HqcoFzQFYvLAVXD6RaSUaX+MLszKDM= -github.com/centrifugal/centrifuge v0.31.0/go.mod h1:vc5SgH/p6kOae1zZIusmqn7xL2lwztOqnCC3zbamxwA= +github.com/centrifugal/centrifuge v0.32.0 h1:yOzuCS/Rs3Isj9hnQusAHG/TD7kDukQDHVGJhpdGCI0= +github.com/centrifugal/centrifuge v0.32.0/go.mod h1:TvgQndMdyHRKhDXJzZnwyWO6VBHFveBAw7IidVsuvWU= github.com/centrifugal/protocol v0.12.0 h1:R8PwL+p3ai55Qmi35ViqP78bokIYjtI0trheeCuzPic= github.com/centrifugal/protocol v0.12.0/go.mod h1:uc0fQeELUbB3QOGU9ggAseofb1d4uUAMCUoENHJhj0E= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= diff --git a/misc/release/notes.md b/misc/release/notes.md index 77fa38594..56047c3f9 100644 --- a/misc/release/notes.md +++ b/misc/release/notes.md @@ -17,6 +17,7 @@ This release adds validation of proper `history_ttl` and `history_meta_ttl` conf ### Fixes * ❗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). +* 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) * Web UI: redirect to the login screen in case of unauthorized errors from server, this fixes a regression introduced by Centrifugo v5.2.1 * Fix setting custom TTL in `gensubtoken` cli, see [#769](https://github.com/centrifugal/centrifugo/pull/769)