v2.1.0
With this release, Ably React Hooks have now moved to the general availability phase and are considered stable. Non-major version changes to the ably
package won't include breaking changes for React Hooks going forward.
All changes:
- Add support for optional multiple recovery scopes via
ClientOptions.recoveryKeyStorageName
#1762 - Add wildcard
*
andprivileged-headers
values forTokenParams.capability
field #1765 - Add support for unique
logHandler
per Ably client by removing the global effects of settinglogHandler
andlogLevel
#1764 - Change
updateStatus
function returned byusePresence
hook to be async #1777 - Fix some of the errors thrown by
ConnectionManager
have misleading stack traces #1760 - Fix
FetchRequest
doesn't properly handle a 204 response #1773 - Fix
Connection closed
errors when usingusePresence
hook #1761 - Fix
Unable to enter presence channel while in suspended state
errors withusePresence
#1781 - Fix
Can't resolve 'ably'
error for environments that don't supportexports
field inpackage.json
yet #1782