Skip to content

Releases: slackapi/node-slack-sdk

@slack/cli-test@2.1.0+cli.2.32.2

12 Feb 22:52
15e1ce0
Compare
Choose a tag to compare

What's Changed

👋 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);

🎁 Enhancements

  • feat(cli-test): include expected test trace outputs for the "env" subcommands in #2097 - thanks @zimeg!
  • feat(cli-test): update traces for env to SLACK_TRACE_ENV_ in #2136 - thanks @mwbrooks!
  • feat(cli-test): include a verbose global option for cli commands in #2147 - thanks @zimeg!

🐛 Fixes

  • fix(cli-test): remove the trailing newline from parsed cli outputs in #2148 - thanks @zimeg!

⚙️ Maintenance

  • chore(cli-test): release @slack/cli-test@2.1.0+cli2.32.2 in #2149 - thanks @zimeg!

🧰 Dependencies

  • chore(deps-dev): bump typescript from 5.7.2 to 5.7.3 in /packages/cli-test in #2134 - thanks @dependabot!

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

@slack/socket-mode@2.0.3

10 Dec 14:17
3e5e4c6
Compare
Choose a tag to compare

What's Changed

  • chore(deps-dev): bump typescript from 5.5.4 to 5.7.2 in /packages/socket-mode by @dependabot in #2102
  • chore(deps-dev): bump mocha from 10.8.2 to 11.0.1 in /packages/socket-mode in the dev-mocha group by @dependabot in #2114
  • socket-mode: Handling WS errors during handshake by @filmaj in #2099
  • Update webhook and web-api dependencies in oauth, rtm-api, and socket-mode by @hello-ashleyintech in #2119
  • Release: @slack/socket-mode@2.0.3, @slack/oauth@3.0.2, @slack/rtm-api@7.0.2 by @hello-ashleyintech in #2120

Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/socket-mode@2.0.2...@slack/socket-mode@2.0.3

@slack/rtm-api@7.0.2

10 Dec 14:23
3e5e4c6
Compare
Choose a tag to compare

What's Changed

Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/web-api@7.8.0...@slack/rtm-api@7.0.2

@slack/oauth@3.0.2

10 Dec 14:22
3e5e4c6
Compare
Choose a tag to compare

What's Changed

  • chore(deps-dev): bump sinon from 17.0.2 to 18.0.0 in /packages/oauth in the dev-sinon group by @dependabot in #1983
  • chore(deps-dev): bump c8 from 9.1.0 to 10.1.2 in /packages/oauth by @dependabot in #2001
  • chore(deps-dev): bump typescript from 5.3.3 to 5.5.4 in /packages/oauth by @dependabot in #2003
  • chore(deps-dev): bump sinon from 18.0.1 to 19.0.2 in /packages/oauth in the dev-sinon group by @dependabot in #2031
  • Publish @slack/web-api@7.5.0 by @misscoded in #2035
  • Publish @slack/types@2.14.0 by @misscoded in #2036
  • oauth(docs): replace hardcoded state secrets with process env variables by @zimeg in #2039
  • oauth(fix): remove double quotes from the default 'add to slack' img alt text by @zimeg in #2044
  • chore(deps-dev): bump @types/chai from 4.3.20 to 5.0.0 in /packages/oauth in the dev-chai group by @dependabot in #2047
  • Revert "chore(deps-dev): bump @types/chai from 4.3.20 to 5.0.0 in /packages/oauth in the dev-chai group" by @hello-ashleyintech in #2052
  • chore(deps-dev): bump typescript from 5.5.4 to 5.7.2 in /packages/oauth by @dependabot in #2104
  • chore(deps-dev): bump mocha from 10.8.2 to 11.0.1 in /packages/oauth in the dev-mocha group by @dependabot in #2113
  • Update webhook and web-api dependencies in oauth, rtm-api, and socket-mode by @hello-ashleyintech in #2119
  • Release: @slack/socket-mode@2.0.3, @slack/oauth@3.0.2, @slack/rtm-api@7.0.2 by @hello-ashleyintech in #2120

Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/oauth@3.0.1...@slack/oauth@3.0.2

@slack/webhook@7.0.4

06 Dec 19:54
1f8e880
Compare
Choose a tag to compare

What's Changed

  • chore(deps): bump minimum axios version for web-api and webhook to avoid security vuln by @hello-ashleyintech in #2116
  • ci: check for changes to lints separate from writing changes by @zimeg in #2117
  • chore: tsconfig skiplibcheck:true - dont typecheck dependency d.ts files #1913 - thanks @filmaj!
  • chore: remove eslint, use biome instead in #2006 - thanks @filmaj!
  • Release: @slack/webhook@7.0.4, @slack/web-api@7.8.0 by @hello-ashleyintech in #2118

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

@slack/web-api@7.8.0

06 Dec 20:03
1f8e880
Compare
Choose a tag to compare

What's Changed

  • chore(deps-dev): bump mocha from 10.8.2 to 11.0.1 in /packages/web-api in the dev-mocha group across 1 directory by @dependabot in #2109
  • chore(deps): bump minimum axios version for web-api and webhook to avoid security vuln by @hello-ashleyintech in #2116
  • ci: check for changes to lints separate from writing changes by @zimeg in #2117
  • Release: @slack/webhook@7.0.4, @slack/web-api@7.8.0 by @hello-ashleyintech in #2118
  • ci: add windows testing to CI by lifting OS into its own test matrix in #2081 - thanks @filmaj!
  • feat(web-api): generate Web API response types in #2033 - thanks @misscoded!
  • Revert "feat(web-api): add new is_send_allowed optional parameter to assistant.threads.setStatus method" in #2080 - thanks @misscoded!
  • feat(web-api): add new is_send_allowed optional parameter to assistant.threads.setStatus method in #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

@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