Node Slack Sdk: @slack/cli-hooks@1.2.0 Release

Release date:
February 27, 2025
Previous version:
@slack/cli-hooks@1.1.2 (released November 22, 2024)
Magnitude:
714 Diff Delta
Contributors:
8 total committers
Data confidence:
Commits:

Top Contributors in @slack/cli-hooks@1.2.0

zimeg
slackapi[bot]
filmaj
seratch
dependabot-bot
mwbrooks
hello-ashleyintech
lukegalbraithrussell

Directory Browser for @slack/cli-hooks@1.2.0

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

What's Changed

The slack run command now exits with the error code returned from the start hook and Node warnings were returned to verbose outputs:

$ slack run --verbose
...
[DEBUG]  web-api:WebClient:0 initialized
...
AppInitializationError: You must provide an appToken when socketMode is set to true. To generate an appToken see: https://api.slack.com/apis/connections/socket#token
...

🚫 The 'start' hook exited with an error (sdk_hook_invocation_failed)
   exit status 1 (local_app_run_error)

$ echo $?
1

🎉 Enhancements

🧰 Maintenance

Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/cli-hooks@1.1.2...@slack/cli-hooks@1.2.0 Milestone: https://github.com/slackapi/node-slack-sdk/milestone/101?closed=1