filmaj
released this
30 Apr 20:12
·
251 commits
to main
since this release
Final 1.x Release
Please note that this will be the final planned release of @slack/socket-mode
in the 1.x line. The next release will be 2.0, which will include a few breaking changes.
What's Changed
A few bug fixes and stability improvements were landed in this release:
- WebSocket messages of
type:disconnect
coming from the Slack backend should now consistently force-reconnect the socket mode client; previously certaintype:disconnect
messages (containing a specificreason
property) were not treated in this way. - All
type:disconnect
messages from the Slack backend now do not raise aslack_event
event; this led to problems, particularly for users of bolt-js. - Calling
disconnect()
if the client is already disconnected no longer raises an exception.
Full Changelog
dc48959 socket-mode: do not throw if calling disconnect()
and already disconnected, and do not raise slack_event
if message received is of type: disconnect