Skip to content

v0.14.0

Compare
Choose a tag to compare
@FZambia FZambia released this 07 Nov 14:11
· 358 commits to master since this release
bc633f1
  • Add possibility to disconnect user with custom Disconnect object, and with client ID whitelist.
  • Thus fixing non-working WithReconnect option when calling node.Disconnect method.
  • No error returned from client.Disconnect method anymore. It was always nil before.

Here is what changed since v0.13.0:

gorelease -base v0.13.0 -version v0.14.0
github.com/centrifugal/centrifuge
---------------------------------
Incompatible changes:
- (*Client).Disconnect: changed from func(*Disconnect) error to func(*Disconnect)
- DisconnectOptions.Reconnect: removed
- DisconnectOptions: old is comparable, new is not
- WithReconnect: removed
Compatible changes:
- DisconnectOptions.ClientWhitelist: added
- DisconnectOptions.Disconnect: added
- WithClientWhitelist: added
- WithDisconnect: added

v0.14.0 is a valid semantic version for this release.