👋 This release adds SLACK_TRACE constants for the env subcommands and introduces a global verbose option that can be passed to all commands for logging and parsing debug outputs:
const output = await SlackCLI.env.add({
appPath,
team,
secretKey: 'EXAMPLE_VARIABLE_NAME',
secretValue: 'super-secret-value',
+ verbose: true
});
+ expect(output).toContain(SlackTracerId.SLACK_TRACE_ENV_ADD_SUCCESS);
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/oauth@3.0.2...@slack/cli-test@2.1.0+cli.2.32.2
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/web-api@7.8.0...@slack/rtm-api@7.0.2
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/oauth@3.0.1...@slack/oauth@3.0.2
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/socket-mode@2.0.2...@slack/socket-mode@2.0.3
is_send_allowed optional parameter to assistant.threads.setStatus method" in https://github.com/slackapi/node-slack-sdk/pull/2080 - thanks @misscoded!is_send_allowed optional parameter to assistant.threads.setStatus method in https://github.com/slackapi/node-slack-sdk/pull/2079 - thanks @misscoded!Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/cli-hooks@1.1.2...@slack/web-api@7.8.0
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/cli-hooks@1.1.2...@slack/webhook@7.0.4
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!
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.
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/cli-hooks@1.1.1...@slack/cli-hooks@1.1.2
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.
dcd01831 feat!(cli-test): Use child_process spawn arguments properly, fixing JSON encoding on the command line on Windows (#2090)
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 ❤️
8ba3a435 feat(web-api): add request interceptor and HTTP adapter config to WebClient (#2076), resolves #2073
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.
59f200a9 web-api(feat): add support for conversations.requestShared.list API (#2072)
01d9d2df web-api(feat): minor additions to some admin API response types (#2071)
The Slack CLI's datastore commands were exposed to the cli-test module.
1ea24e2e Added datastore command into the index (#2061)
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.
9d2fa584 socket-mode(fix): do not handle message events twice (#2059)
The Slack CLI's datastore commands were exposed to the cli-test module.
d8d44068 cli-test(feat): Added datastore CLI commands (#2041), thank you @cchensh!
We've released support for AI Assistants & Agents via @slack/web-api:
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/web-api@6.12.1...@slack/web-api@6.13.0
We've released support for AI Assistants & Agents and have added associated event types.
571bc3a6 feat (web-api / types): Add support for assistant.threads.* API (#2033)
We've released support for AI Assistants & Agents via @slack/web-api:
571bc3a6 feat (web-api / types): Add support for assistant.threads.* API (#2033)
This patch release fixes an issue where TypeScript could get confused with references to the Slack MessageEvent type and confuse it with node's MessageEvent interface.
2c1a6e6a types(test): add a test to not mix up built-in node MessageEvent type (#2022)
beb0345c MessageEvent incorrectly references the Node global MessageEvent type. fixes #2020 (#2021) - thank you @varmil !
We've released two new APIs for use via @slack/web-api:
a3a06ecb web-api(feat): add support for conversations.requestShared approve , deny APIs (#1843)
The big change in this release is adding Events API event payloads. These were lifted straight from the bolt-js project and introduced into @slack/types. We plan on improving these types significantly in the upcoming @slack/types v3 major release (see the milestone for details on what we plan to tackle in this upcoming release). Other Slack ECMAscript projects, like @slack/socket-mode and deno-slack-sdk, will eventually consume event payload types from this package once v3 lands.
d8575119 feat: adding event payloads from bolt-js as a starting point (#1907) 042fec0f chore (types): small refactorings and two new helper types (#1823) 893b8363 types: small refactor in views, jsdoc all view properties, add type tests (#1820) f8d06ca0 types: export helper union types (#1819)