Releases: slackapi/node-slack-sdk
@slack/[email protected]
What's Changed
This pre-release contains the fix put together in #2099 for issue #2094. Recently, Slack's real-time backend server serving socket-mode connections rolled out a configuration change that unfortunately resulted in many apps seeing error responses (HTTP 409) while establishing a WebSocket connection. This scenario uncovered a catastrophic bug in this socket-mode library: most Bolt JS-based apps would have socket mode connection retries turned on, and this in combination with connection handshake error scenarios caused the library to enter a spiral where it would double the number of WS connections on each retry attempt.
This pre-release provides access to a proposed fix for this issue. We welcome all feedback from the community!
@slack/[email protected]
What's New
This release updates the @slack/cli-hooks
scripts to silence all node warnings using the environment variable NODE_NO_WARNINGS=1
. This is a heavy-handed solution to fix scenarios where node warnings cause the JSON parsing errors from the Slack CLI.
Changelog
- cli-hooks(chore): fix prelint tsc run script by @filmaj in #1895
- fix(cli-hooks): silence node warnings that can break @slack/cli-hooks by @mwbrooks in #2096
- Publish @slack/[email protected] by @mwbrooks in #2098
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]
@slack/[email protected]+cli.2.30.1
What's New
Support for Windows has been improved! This has, unfortunately, required a breaking change: command arguments are now to be provided as an array of strings rather than a single string to the SlackCLIProcess
class.
Changelog
dcd0183 feat!(cli-test): Use child_process
spawn
arguments properly, fixing JSON encoding on the command line on Windows (#2090)
@slack/[email protected]
What's New
Thanks to the hard work of @mtjandra, the web-api client now exposes Axios interceptors and adapters! Check out the documentation about this new feature for more details. Thanks so much for your contribution, @mtjandra ❤️
Changelog
8ba3a43 feat(web-api): add request interceptor and HTTP adapter config to WebClient (#2076), resolves #2073
@slack/[email protected]
What's New
We've added support for a new Slack Connect invite automation API: conversations.requestShared.list
. Use the list
API as well as the approve
and deny
APIs to automate approval and denial of Slack Connect invites into your Slack workspaces. More details about this feature are available in our Governing Slack Connect invites docs.
Also, the response types for a few APIs were extended with a few new properties. Check out #2071 for the minor details.
Changelog
59f200a web-api(feat): add support for conversations.requestShared.list
API (#2072)
01d9d2d web-api(feat): minor additions to some admin API response types (#2071)
@slack/[email protected]
What's Changed
We fixed an issue where the SocketModeClient
would get confused with message
events, as there are two concepts of such an event: a web-socket message, as well as a Slack event message
. We've clarified this confusion, which may have led to some unexpected "Unexpected character parsing JSON" style error messages.
Changelog
9d2fa58 socket-mode(fix): do not handle message events twice (#2059)
@slack/[email protected]+cli.2.29.2
@slack/[email protected]+cli.2.29.2
@slack/[email protected]
What's Changed
We've released support for AI Assistants & Agents via @slack/web-api
:
Changes
- feat (web-api): Add support for assistant.* API - Thanks @misscoded! #2042
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]
@slack/[email protected]
What's Changed
We've released support for AI Assistants & Agents via @slack/web-api
:
Full Changelog
571bc3a feat (web-api / types): Add support for assistant.threads.* API (#2033)