Skip to content

Commit 8128d5e

Browse files
authored
Merge branch 'main' into ale-app-id-flag
2 parents 906346a + 711bfee commit 8128d5e

16 files changed

Lines changed: 99 additions & 35 deletions

.github/workflows/dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
app-id: ${{ secrets.GH_APP_ID_RELEASER }}
5151
private-key: ${{ secrets.GH_APP_PRIVATE_KEY_RELEASER }}
5252
- name: Checkout the repo
53-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
53+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
5454
with:
5555
persist-credentials: true
5656
ref: main

.github/workflows/license_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
permissions:
1414
contents: read
1515
steps:
16-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1717
with:
1818
persist-credentials: false
1919
- name: Check license headers

.github/workflows/release.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
private-key: ${{ secrets.GH_APP_PRIVATE_KEY_RELEASER }}
2525

2626
- name: Checkout repo
27-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
27+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2828
with:
2929
fetch-depth: 0
3030
persist-credentials: true
@@ -110,11 +110,19 @@ jobs:
110110
PR_BODY=$(cat <<EOF
111111
### Summary
112112
113-
Release v${RELEASE_VERSION}. After merging, create a [GitHub Release](https://github.com/${{ github.repository }}/releases/new?tag=v${RELEASE_VERSION}&title=v${RELEASE_VERSION}) to tag and trigger the release pipeline.
113+
Release v${RELEASE_VERSION}.
114114
115115
### Testing
116116
117-
Install the [dev-build](https://github.com/slackapi/slack-cli/releases/tag/dev-build) and verify changes.
117+
- [ ] Confirm unit tests and E2E tests are passing on the [`main`](https://github.com/slackapi/slack-cli/commits/main) branch.
118+
- [ ] Confirm unit tests and E2E tests are passing on this PR.
119+
- [ ] Confirm the [dev-build](https://github.com/slackapi/slack-cli/releases/tag/dev-build) includes all commits since last release.
120+
- [ ] Review open issues or PRs on the "[Next Release](https://github.com/slackapi/slack-cli/milestones)" milestone.
121+
- [ ] Confirm the new version matches the expected next version.
122+
123+
### Reviewers
124+
125+
After merging, create a [GitHub Release](https://github.com/${{ github.repository }}/releases/new?tag=v${RELEASE_VERSION}&title=v${RELEASE_VERSION}) to tag the new version.
118126
119127
### Requirements
120128
@@ -131,6 +139,6 @@ jobs:
131139
gh pr edit "$EXISTING_PR" --title "$PR_TITLE" --body "$PR_BODY" --milestone "Next Release" --add-label "release" --add-label "semver:${SEMVER}"
132140
echo "Updated PR #$EXISTING_PR"
133141
else
134-
gh pr create --draft --head rc --base main --title "$PR_TITLE" --body "$PR_BODY" --milestone "Next Release" --add-label "release" --add-label "semver:${SEMVER}"
142+
gh pr create --draft --head rc --base main --title "$PR_TITLE" --body "$PR_BODY" --milestone "Next Release" --label "release" --label "semver:${SEMVER}"
135143
echo "Created new release PR"
136144
fi

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
permissions:
1414
contents: read
1515
steps:
16-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1717
with:
1818
fetch-depth: 0
1919
persist-credentials: false
@@ -43,7 +43,7 @@ jobs:
4343
checks: write
4444
contents: read
4545
steps:
46-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
46+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4747
with:
4848
persist-credentials: false
4949
- name: Set up Go

SECURITY.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Security
2+
3+
Please report any security issue to [https://www.sfdc.co/SubmitVuln](https://www.sfdc.co/SubmitVuln)
4+
as soon as it is discovered. This library limits its runtime dependencies in
5+
order to reduce the total cost of ownership as much as can be, but all consumers
6+
should remain vigilant and have their security stakeholders review all third-party
7+
products (3PP) like this one and their dependencies.

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

docs/reference/experiments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# Experiments
22

3-
The Slack CLI has an experiment (`-e`) flag behind which we put features currently under development. These features may be fleeting, may not be perfectly polished, and many will not work without a development instance - but we have made them available for use "at your own risk."
3+
The Slack CLI has an experiment (`-e`) flag behind which we put features currently under development. These features may be fleeting, may not be perfectly polished, and many will not work without a development instance, but we've made them available for use "at your own risk."
44

55
## Available experiments
66

77
The following is a list of currently available experiments. We'll remove experiments from this page if we decide they are no longer needed or once they are released, in which case we'll make an announcement about the feature's general availability in the [developer changelog](https://docs.slack.dev/changelog).
88

99
- `lipgloss`: shows pretty styles.
10-
- `sandboxes`: enables users who have joined the Slack Developer Program to manage their sandboxes ([PR#379](https://github.com/slackapi/slack-cli/pull/379)).
1110
- `set-icon`: enables icon upload for non-hosted apps ([PR#469](https://github.com/slackapi/slack-cli/pull/469)).
1211

1312
## Experiments changelog
1413

1514
Below is a list of updates related to experiments.
15+
- **April 2026**: Concluded the `sandboxes` experiment with full support in the Slack CLI. Refer to the [`slack sandbox create`](/tools/slack-cli/reference/commands/slack_sandbox_create/), [`slack sandbox delete`](/tools/slack-cli/reference/commands/slack_sandbox_delete/), and [`slack sandbox list`](tools/slack-cli/reference/commands/slack_sandbox_list/) commands for more details.
1616
- **April 2026**: Added the `set-icon` experiment to enable icon upload for non-hosted apps.
1717
- **April 2026**: Concluded the `huh` experiment with full support now enabled by default in the Slack CLI.
1818
- **March 2026**: Split the `charm` experiment into more beautiful `huh` prompts and prettier `lipgloss` styles for ongoing change.

0 commit comments

Comments
 (0)