Skip to content

Commit f0e47ee

Browse files
chore: release slack-cli v4.2.0 (#553)
Co-authored-by: slack-cli-releaser[bot] <122933866+slack-cli-releaser[bot]@users.noreply.github.com>
1 parent e9ace37 commit f0e47ee

4 files changed

Lines changed: 21 additions & 7 deletions

File tree

docs/guides/installing-the-slack-cli-for-mac-and-linux.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ Manual installation allows you to customize certain paths used when installing t
9999

100100
**2\. Download the** `slack` **CLI installer for your environment.**
101101

102-
🍎 ⚡️ [**Download for macOS Apple Silicon (.tar.gz)**](https://downloads.slack-edge.com/slack-cli/slack_cli_4.1.0_macOS_arm64.tar.gz)
102+
🍎 ⚡️ [**Download for macOS Apple Silicon (.tar.gz)**](https://downloads.slack-edge.com/slack-cli/slack_cli_4.2.0_macOS_arm64.tar.gz)
103103

104-
🍏 🪨 [**Download for macOS Intel (.tar.gz)**](https://downloads.slack-edge.com/slack-cli/slack_cli_4.1.0_macOS_amd64.tar.gz)
104+
🍏 🪨 [**Download for macOS Intel (.tar.gz)**](https://downloads.slack-edge.com/slack-cli/slack_cli_4.2.0_macOS_amd64.tar.gz)
105105

106-
🐧 💾 [**Download for Linux (.tar.gz)**](https://downloads.slack-edge.com/slack-cli/slack_cli_4.1.0_linux_64-bit.tar.gz)
106+
🐧 💾 [**Download for Linux (.tar.gz)**](https://downloads.slack-edge.com/slack-cli/slack_cli_4.2.0_linux_64-bit.tar.gz)
107107

108108
**3\. Add the** `slack` **CLI to your path.**
109109

@@ -121,7 +121,7 @@ We recommend using an alias if another `slack` binary exists. To do this, change
121121

122122
```sh
123123
$ slack version
124-
Using slack v4.1.0
124+
Using slack v4.2.0
125125
```
126126

127127
</TabItem>

docs/guides/installing-the-slack-cli-for-windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Manual installation allows you to customize certain paths used when installing t
102102

103103
**2\. Download the** `slack` **CLI installer for your environment.**
104104

105-
<ts-icon class="ts_icon_windows"></ts-icon> &nbsp; <a href="https://downloads.slack-edge.com/slack-cli/slack_cli_4.1.0_windows_64-bit.zip"><strong>Windows (.zip)</strong></a>
105+
<ts-icon class="ts_icon_windows"></ts-icon> &nbsp; <a href="https://downloads.slack-edge.com/slack-cli/slack_cli_4.2.0_windows_64-bit.zip"><strong>Windows (.zip)</strong></a>
106106

107107
**3\. Add the** `slack` **CLI to your path.**
108108

@@ -118,7 +118,7 @@ We recommend using an alias if another `slack` binary exists. To do this, change
118118

119119
```pwsh
120120
$ slack version
121-
Using slack v4.1.0
121+
Using slack v4.2.0
122122
```
123123

124124
</TabItem>

docs/reference/commands/slack_api.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ Token resolution (in priority order):
2121
2. --app flag Install app and use bot token (in project)
2222
3. SLACK_BOT_TOKEN env var Bot token (set during slack deploy)
2323
4. SLACK_USER_TOKEN env var User token
24-
5. App prompt (in project) Select installed app and use bot token
24+
5. App prompt (in project) Select installed app or "No app"
25+
26+
If no token is available, the request is sent without authentication.
27+
Use --no-auth to skip authentication entirely and send the request without
28+
a token.
2529

2630
See all methods at: https://docs.slack.dev/reference/methods
2731

@@ -38,6 +42,7 @@ slack api <method> [key=value ...] [flags]
3842
-i, --include include HTTP status code and response headers in output
3943
--json string JSON request body (uses Bearer token in Authorization header)
4044
-X, --method string HTTP method for the request (default "POST")
45+
--no-auth skip authentication (send request without a token)
4146
```
4247

4348
## Global flags
@@ -112,6 +117,9 @@ $ slack api users.list
112117
# Get a user's profile
113118
$ slack api users.profile.get user=U0123456
114119
120+
# Validate Block Kit blocks (no auth required)
121+
$ slack api blocks.validate --no-auth blocks='[{"type":"section","text":{"type":"mrkdwn","text":"Hello"}}]'
122+
115123
# Open a modal view
116124
$ slack api views.open trigger_id=T0123456 view={...}
117125

docs/reference/errors.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,6 +1156,12 @@ Read about manifest sourcing with the `slack manifest info --help` command
11561156

11571157
---
11581158

1159+
### no_app_selected {#no_app_selected}
1160+
1161+
**Message**: No app selected
1162+
1163+
---
1164+
11591165
### no_file {#no_file}
11601166

11611167
**Message**: Couldn't upload your bundled code to server

0 commit comments

Comments
 (0)