Release: Slack CLI v3.0.0
Version 3.0.0 of the developer tools for the Slack automations platform is here, with lots of goodies for you!
- We renamed the
slack.jsonfile to.slack/hooks.json, and continue to supportslack.jsonfor existing projects. There is now a warning shown in--verboseoutput to encourage projects to migrate theirslack.jsonto.slack/hooks.json. - We've removed the
invalid_app_directoryerror from any commands run in nested project directories, and now search for the requiredslack.jsonfile in the project's configuration. We also now also check for this file at.slack/hooks.json. - We now cache the last known manifest export; the cache is used to avoid overwriting changes on app settings. If the manifest is changed on app settings since the last update, a confirmation prompt will appear before making another update via the Slack CLI.
- We've moved the top-level commands you know and love,
slack createandslack samples, to be sub-commands of theslack projectcommand (they remain aliased as top-level commands though, so there is no change to the user experience). - We've updated the
slack doctorcommand to display themanifest.sourcevalue, which will be eitherlocalorremote. - We now officially support Bolt for JavaScript and Bolt for Python in the Slack CLI! 🎉
- As such, we've updated the
slack createcommand with a new create journey that allows you to choose between different types of apps for Bolt for JavaScript, Bolt for Python, and Deno. - We've also added the
slack initcommand, which will initialize an existing Bolt for JavaScript, Bolt for Python, or Deno project with Slack CLI support. - We fixed a bug to avoid confusion with regular outputs, and now prefix all separate debug logs with a timestamp.
- We fixed a bug to avoid spinning the spinner when outputting with debug logs, or if styles are removed with the
--no-colorflag. - We fixed a bug to now display uninstalled apps in selections when using the
slack collaboratorsandslack manifestcommands. - We fixed a bug with confirming trusted templates that are from a Slack GitHub organization.
- We fixed a bug regarding writing console outputs to activity logs during local runs.
- We fixed a bug where the Slack CLI would get stuck if one of the goroutines of the
slack runcommand encountered an error; we now exit theslack runcommand if this happens.