New major version! We have dropped the ancient, finite-state-machine-based implementation and ported the rock solid python-slack-sdk socket-mode implementation to node.
We also removed a couple of events and properties that are no longer relevant in the new implementation. Check out our socket mode 1.x -> 2.0 migration guide to get all the details and ease your upgrading path.
Full Changelog
476e6a9e socket-mode: Rewrite to Python(ish) Implementation (#1781)
3ebb6cef socket-mode: do not throw exception when calling disconnect() and already disconnected; do not raise slack_event in case of type:disconnect messages (#1762)
6ab1e68b socket-mode: add more debug logging to low level websocket event handlers (#1757)
46b500db socket-mode: fix bug when apps.connections.open returns an error and won't retry (#1735)
a6f2b283 socket-mode: prep for major release, start now completes only once Connected state is emitted (#1732)
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 certain type:disconnect messages (containing a specific reason property) were not treated in this way.
All type:disconnect messages from the Slack backend now do not raise a slack_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
dc489596 socket-mode: do not throw if calling disconnect() and already disconnected, and do not raise slack_event if message received is of type: disconnect
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps @slack/socket-mode from 1.3.4 to 2.0.0.
Release notes
Sourced from
@slack/socket-mode
's releases.Commits
6840250
Publish@slack/socket-mode@2.0.0
(#1785)476e6a9
socket-mode: Rewrite to Python(ish) Implementation (#1781)b653d85
Bump@slack/web-api
to 7.0.4 (#1780)ae755dc
web-api(fix): oauth.v2.exchange method requires a token parameter (#1779)3ebb6ce
socket-mode: do not throw exception when calling disconnect() and already dis...3ed5a59
Bump@slack/web-api
to 7.0.3 (#1776)ae9ace8
web-api(fix): fix node-retry types (#1772)d315368
ci: npm link dependent@slack
packages when running CI for oauth package (#...fec4895
web-api: Add deprecation JSdoc tofiles.upload
method (#1773)2649398
rtm-api(chore): release@slack/rtm-api
@7
.0.0 (#1767)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show