Skip to content

Releases: slackapi/node-slack-sdk

@slack/types@2.22.0

Choose a tag to compare

@slackapi slackapi released this 02 Jul 17:22
12b94a2

Minor Changes

@slack/webhook@7.1.0

Choose a tag to compare

@slackapi slackapi released this 30 Jun 18:25
f006ad4

Minor Changes

  • 59124ef: feat: export addAppMetadata for external instrumentation use

@slack/web-api@7.18.0

Choose a tag to compare

@slackapi slackapi released this 30 Jun 18:25
f006ad4

Minor Changes

  • 07744de: feat: make thread_ts optional for assistant.threads.setSuggestedPrompts

@slack/web-api@7.17.0

Choose a tag to compare

@slackapi slackapi released this 11 Jun 16:37
2d370dc

Minor Changes

  • 2085900: feat: expose public read-only ts getter on ChatStreamer for fallback to chat.update when a stream expires server-side

    import { 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

Choose a tag to compare

@slackapi slackapi released this 11 Jun 16:37
2d370dc

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

Choose a tag to compare

@slackapi slackapi released this 11 Jun 16:37
2d370dc

Patch Changes

  • f430ae8: fix: use correct bolt-js release notes tag format

@slack/web-api@7.16.0

Choose a tag to compare

@slackapi slackapi released this 14 May 22:31
aeaf9f9

Minor Changes

  • 2814969: feat: add highlight_type to files.completeUploadExternal and filesUploadV2 for optimistic rendering

    import { 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

Choose a tag to compare

@slackapi slackapi released this 07 May 19:58
3411de3

Patch Changes

  • 5bc7685: Add BlocksChunk type for passing Block Kit blocks within streaming messages
  • 9fa2921: Align Alert, Card, and Carousel block type descriptions with official documentation

@slack/cli-test@3.0.2

Choose a tag to compare

@slackapi slackapi released this 07 May 19:58
3411de3

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

Choose a tag to compare

@slackapi slackapi released this 04 May 21:17
fde2a7a

Patch Changes