Releases: slackapi/node-slack-sdk
@slack/web-api@7.17.0
Minor Changes
-
2085900: feat: expose public read-only
tsgetter onChatStreamerfor fallback tochat.updatewhen a stream expires server-sideimport { WebClient } from "@slack/web-api"; const client = new WebClient(process.env.SLACK_BOT_TOKEN); const streamer = client.chatStream({ channel: "C0123456789", thread_ts: "1700000001.123456", recipient_team_id: "T0123456789", recipient_user_id: "U0123456789", }); await streamer.append({ markdown_text: "hello!" }); // streamer.ts is now set after the first flush console.log(streamer.ts); await streamer.stop();
@slack/cli-test@4.0.0
Major Changes
-
e8fbfd5: fix: remove default "--app deployed" global flag from commands
Commands running for a specific app must now provide the "app" argument:
await SlackCLI.app.delete({ appPath: "my-app", team: "T0123456789", + app: "deployed", });The options "local" or "deployed" or app ID all remain available to use.
@slack/cli-hooks@1.3.3
Patch Changes
- f430ae8: fix: use correct bolt-js release notes tag format
@slack/web-api@7.16.0
Minor Changes
-
2814969: feat: add
highlight_typetofiles.completeUploadExternalandfilesUploadV2for optimistic renderingimport { WebClient } from "@slack/web-api"; const client = new WebClient(process.env.SLACK_BOT_TOKEN); await client.filesUploadV2({ channel_id: "C0123456789", file: "./image.png", filename: "image.png", title: "Image Upload", highlight_type: "png", });
@slack/types@2.21.1
@slack/cli-test@3.0.2
Patch Changes
-
3c4e927: fix: invoke commands without shell intermediate
Behind the scenes commands are now spawned direct to avoid unexpected input and output redirection or odd argument parsings. This is what happens and what changed:
Linux:
- /bin/sh -c "slack trigger run --workflow #/workflows/give_kudos_workflow" + execvp("slack", ["trigger", "run", "--workflow", "#/workflows/give_kudos_workflow"])
Windows:
- cmd.exe /s /c "slack trigger run --workflow #/workflows/give_kudos_workflow" + CreateProcessW("slack", ["trigger", "run", "--workflow", "#/workflows/give_kudos_workflow"])
@slack/web-api@7.15.2
Patch Changes
- 4b6fe3a: feat: add authorship arguments -
icon_emoji,icon_url, andusername- to theassistant.threads.setStatusandchat.startStreammethods - Updated dependencies [4f03ee8]
- @slack/types@2.21.0
@slack/types@2.21.0
@slack/cli-test@3.0.1
Patch Changes
-
f5696c3: fix: wait for cli run start trace instead of activity output
The
platform.runStartmethod now waits until "SLACK_TRACE_PLATFORM_RUN_START" is output before contining. This is output before delegating the development connection to either the SDK or CLI subprocess. This change improves automated testing support for Bolt apps.
@slack/socket-mode@2.0.7
Patch Changes
-
5395b0c: fix: terminate closing connections earlier if normal close responses fail
If Slack doesn't respond to a close frame, the WebSocket connection is now force-terminated instead of waiting for a response that won't arrive. Since disconnects are expected every few hours, this avoids repeated "pong wasn't received" warnings and speeds up reconnection.