releases.shpreview
Slack/Node SDK

Node SDK

Mon
Wed
Fri
JunJulAugSepOctNovDecJanFebMarAprMay
Less
More
Releases23Avg7/moVersions@slack/cli-hooks@1.3.2 to @slack/webhook@7.0.9
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",
    });
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"])
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
Patch Changes
  • f5696c3: fix: wait for cli run start trace instead of activity output

    The platform.runStart method 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.

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.

Major Changes
  • d2b7a89: refactor(cli-test)!: rename env add/remove to env set/unset

    The Slack CLI v4.0.0 release changes the env commands to prefer set and unset aliases and the test tracers of this package were changed to match:

    - SLACK_TRACE_ENV_ADD_SUCCESS
    - SLACK_TRACE_ENV_REMOVE_SUCCESS
    + SLACK_TRACE_ENV_SET_SUCCESS
    + SLACK_TRACE_ENV_UNSET_SUCCESS
  • 5a9bb9a: refactor(cli-test)!: move 'create' to 'project create'

    Before the Slack CLI v4.0.0 release, the create command became a project subcommand while remaining aliased the same. This project now prefers:

    const createOutput = await SlackCLI.project.create({
      template: "slack-samples/bolt-js-starter-template",
      appPath,
      verbose: true,
    });

    But continues to run the slack create command for confidence in getting started guides.

Patch Changes
  • 1a6c510: refactor(cli-hooks): use optional chaining check to gather project dependencies
Patch Changes
  • 3a9c444: build(deps): bump minimum axios version to 1.15.0
  • 175dcb8: Fix user-agent header to URI-encode characters outside the Latin-1 range, preventing errors when process.title contains non-ASCII characters
Patch Changes
  • b8d922f: build: add support for node 24
  • Updated dependencies [b8d922f]
    • @slack/types@2.20.1
Minor Changes
  • 75649f4: feat: add support for apps.user.connection.update
Patch Changes
  • b8d922f: build: add support for node 24
  • Updated dependencies [b8d922f]
  • Updated dependencies [b8d922f]
    • @slack/logger@4.0.1
    • @slack/types@2.20.1
Patch Changes
  • b8d922f: build: add support for node 24
  • Updated dependencies [75649f4]
  • Updated dependencies [b8d922f]
  • Updated dependencies [b8d922f]
    • @slack/web-api@7.15.0
    • @slack/logger@4.0.1
Patch Changes
  • dbd38e2: fix: write files to the file installation store using the path.join method
  • b8d922f: build: add support for node 24
  • Updated dependencies [75649f4]
  • Updated dependencies [b8d922f]
  • Updated dependencies [b8d922f]
    • @slack/web-api@7.15.0
    • @slack/logger@4.0.1
Last Checked
3h ago
Latest
@slack/web-api@7.16.0
Tracking since Dec 20, 2023