v0.14.0
- Add possibility to disconnect user with custom
Disconnect
object, and with client ID whitelist. - Thus fixing non-working
WithReconnect
option when callingnode.Disconnect
method. - No error returned from
client.Disconnect
method anymore. It was alwaysnil
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.