Skip to content

Releases: centrifugal/centrifuge-go

v0.10.3

21 Oct 14:21
a89001a
Compare
Choose a tag to compare

What's Changed

  • Add HTTP Proxy lookup function support by @ax-esuedmeier in #94
  • Add test to reproduce panic during Client close by @C-Pro in #95
  • Fix nil pointer dereference during Client close, wait inflight callbacks to finish by @FZambia in #96
  • Up protocol dependency to v0.13.4 by @FZambia in #97
  • Bump google.golang.org/protobuf from 1.30.0 to 1.33.0 by @dependabot in #89

New Contributors

Full Changelog: v0.10.2...v0.10.3

v0.10.2

08 Oct 12:40
092d30b
Compare
Choose a tag to compare

What's Changed

  • Protect map and queue variable access with mutex, add test by @C-Pro in #88

New Contributors

  • @C-Pro made their first contribution in #88

Full Changelog: v0.10.1...v0.10.2

v0.10.1

22 Jul 08:36
fadc754
Compare
Choose a tag to compare
  • Better docs for client constructors: endpoint constraints, commit

Full Changelog: v0.10.0...v0.10.1

v0.10.0

29 Jun 05:56
4107a24
Compare
Choose a tag to compare

What's Changed

Breaking change! This release changes the semantics of working with connection tokens described in Centrifugo v5 release post.

Previously, returning an empty token string from Config.GetToken callback resulted in client disconnection with unauthorized reason.

Now returning an empty string from Config.GetToken is a valid scenario which won't result into disconnect on the client side. It's still possible to disconnect client by returning a special error ErrUnauthorized from GetToken function.

And we are putting back Client.SetToken method to the SDK – so it's now possible to reset the token to be empty upon user logout.

Full Changelog: v0.9.6...v0.10.0

v0.9.6

27 Apr 17:41
af2f817
Compare
Choose a tag to compare
  • Fix: properly handle disconnect push, commit

Full Changelog: v0.9.5...v0.9.6

v0.9.5

16 Apr 15:46
e15e1b2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.9.4...v0.9.5

v0.9.4

05 Jan 07:01
abff7c6
Compare
Choose a tag to compare
  • Fix wrong unsubscribe code handling – see commit. According to spec unsubscribe codes >= 2500 should result into resubscribe from the SDK side, centrifuge-go did not follow this, instead it never resubscribed upon receiving such codes from the server. Thus message recovery and automatic resubscribe did not work correctly.

v0.9.3

04 Sep 05:14
afdd3b9
Compare
Choose a tag to compare
  • Fix leaking connection when getting token expired error upon connect.

v0.9.2

03 Sep 13:29
48abf9e
Compare
Choose a tag to compare
  • Fix Unlock of unlocked RWMutex panic when sending connect command and getting an error from it.

v0.9.1

01 Aug 17:28
000a99b
Compare
Choose a tag to compare
  • Fix setting SubscriptionConfig.GetToken - #66