Skip to content

Commit

Permalink
up centrifuge to v0.32.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Mar 14, 2024
1 parent 0ea7ed6 commit c686f12
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
1 change: 1 addition & 0 deletions misc/release/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c686f12

Please sign in to comment.