Skip to content

Releases: slackapi/node-slack-sdk

@slack/socket-mode@2.0.3-rc.1

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/cli-hooks@1.1.2

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

  • 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/cli-hooks@1.1.2 by @mwbrooks in #2098

Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/cli-hooks@1.1.1...@slack/cli-hooks@1.1.2

@slack/cli-test@2.0.0+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/web-api@7.7.0

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/web-api@7.6.0

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/socket-mode@2.0.2

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/cli-test@1.3.0+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/cli-test@1.2.0+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/web-api@6.13.0

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

@slack/web-api@7.5.0

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)