Skip to content

Releases: slackapi/node-slack-sdk

@slack/[email protected]

26 Nov 16:18
Compare
Choose a tag to compare
Pre-release

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]

22 Nov 00:35
7e015c6
Compare
Choose a tag to compare

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

Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]

@slack/[email protected]+cli.2.30.1

04 Nov 17:26
278514f
Compare
Choose a tag to compare

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]

23 Oct 14:34
06e2a51
Compare
Choose a tag to compare

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]

08 Oct 15:47
2af216c
Compare
Choose a tag to compare

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]

02 Oct 18:55
da9100d
Compare
Choose a tag to compare

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

02 Oct 19:53
a08ad71
Compare
Choose a tag to compare

What's Changed

The Slack CLI's datastore commands were exposed to the cli-test module.

Changelog

1ea24e2 Added datastore command into the index (#2061)

@slack/[email protected]+cli.2.29.2

02 Oct 15:23
de54897
Compare
Choose a tag to compare

What's Changed

The Slack CLI's datastore commands were exposed to the cli-test module.

Changelog

d8d4406 cli-test(feat): Added datastore CLI commands (#2041), thank you @cchensh!

@slack/[email protected]

27 Sep 21:16
78bd662
Compare
Choose a tag to compare

@slack/[email protected]

17 Sep 19:44
453ef16
Compare
Choose a tag to compare

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)