- Catch panic in user callbacks. Extend subscription listener by "OnPanicRecover" action;
- Close connection before fire the Stop callback;
- FSM: Add RWMutex when changing/getting current state to avoid race condition;
- RTM Client: Fix race condition when subscribing;
- Fix panic when trying to print "RTM Error" with nil error;
- Change code for ERROR_CODE_AUTHENTICATION const;
- Rename RTM struct to RTMClient;
- Add examples.
- New Subscription model [no-backward-compatibility]:
- Get rid of data channel;
- Add Listener instead of Observer. All callbacks must be specified before subscription is created. subscription.On/Once no longer work;
- Change subscription.New() signature;
- Add Event helpers for RTM Client.
- Initial release