v0.11.0
- Refactor client channels API – see detailed changes below, #146
- Fix atomic alignment in struct for 32-bit builds, commit
- Field
Code
ofDisconnect
hasuint32
type now instead ofint
, commit - Refactor WebSocket graceful close – do not use a new goroutine for every read, #144
- Support client name and version fields of
Connect
command which will be available inConnectEvent
struct (if set on client side), #145
$ gorelease -base v0.10.1 -version v0.11.0
github.com/centrifugal/centrifuge
---------------------------------
Incompatible changes:
- (*Client).Channels: changed from func() map[string]ChannelContext to func() []string
- ChannelContext: removed
- Disconnect.Code: changed from int to uint32
Compatible changes:
- (*Client).IsSubscribed: added
- ConnectEvent.Name: added
- ConnectEvent.Version: added
- ErrorTooManyRequests: added
v0.11.0 is a valid semantic version for this release.