github slack-go/slack v0.18.0-rc1

pre-release11 hours ago

This is a release candidate for v0.18.0. Please test and report any issues.

⚠️ Breaking Changes

  • GetReactions now returns ReactedItem instead of []ItemReaction. To migrate, use resp.Reactions to access the slice of reactions. (#1480)
  • Settings struct fields Interactivity and EventSubscriptions are now pointers, allowing them to be omitted when empty. (#1461)
  • Minimum Go version bumped to 1.24. (#1504)

Added

  • Huddle support (HuddleRoom, HuddleParticipantEvent, HuddleRecording) for huddle_thread events
  • Call block data parsing with CallBlockData, CallBlockDataV1, CallBlockIconURLs (#897)
  • Chat Streaming API (#1506)
  • Data Access API (#1439)
  • Cursor-based pagination for GetUsers (#1465)
  • GetAllConversations with automatic pagination (#1463)
  • Table blocks support (#1490, #1511)
  • Context actions block (#1495)
  • Workflow button block element (#1499)
  • loading_messages parameter for SetAssistantThreadsStatus (#1489)
  • Attachment image fields: ImageBytes, ImageHeight, ImageWidth (#1516)
  • RecordChannel conversation property (#1513)
  • Title argument for CreateChannelCanvas (#1483)
  • PostEphemeral handler for slacktest (#1517)
  • PreviewImageName for remote files

Fixed

  • PublishView no longer sends empty hash (#1515)
  • ImageBlockElement validation (#1488)
  • Rich text section channel return (#1472)
  • KickUserFromConversation error handling (#1471)

All PRs

  • Make it possible to omit fields in the manifest Settings struct by @pmarkowsky in #1461
  • Get all conversations with pagination by @dorkauf in #1463
  • fix: KickUserFromConversation errors as a map by @nlopes in #1471
  • fix: ensure we return channel for section channel rich text by @nlopes in #1472
  • chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0 by @dependabot[bot] in #1469
  • feat: add cursor-based pagination support for user retrieval by @KamikazeZirou in #1465
  • chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #1467
  • chore(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in #1477
  • chore(deps): bump actions/stale from 9.1.0 to 10.0.0 by @dependabot[bot] in #1478
  • support Data Access API by @nktks in #1439
  • chore(deps): bump actions/stale from 10.0.0 to 10.1.0 by @dependabot[bot] in #1484
  • feat: add support for optional "loading_messages" parameter in SetAssistantThreadsStatus by @VDVsx in #1489
  • chore(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 by @dependabot[bot] in #1492
  • feat: add mise.toml by @tgvashworth in #1496
  • Add support for table blocks by @williamclot in #1490
  • feat: add support for context_actions block by @tgvashworth in #1495
  • fix: ensure imageURL or SlackFile for ImageBlockElement by @nhsieh in #1488
  • feat: add support for workflow_button as a block element by @nlopes in #1499
  • chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #1502
  • chore(deps): bump golangci/golangci-lint-action from 9.0.0 to 9.1.0 by @dependabot[bot] in #1501
  • ci,fix: bump base go version to 1.24 by @nlopes in #1504
  • ci: fix lint step by @nlopes in #1505
  • docs(conversation): update GetConversationHistory function comments by @yatiac in #1507
  • Adds Chat Streaming API Support by @k-k in #1506
  • chore(deps): bump actions/stale from 10.1.0 to 10.1.1 by @dependabot[bot] in #1508
  • chore(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0 by @dependabot[bot] in #1509
  • feat: handle unmarshal table block by @chinathaip in #1511
  • Add RecordChannel to conversation Properties by @chigley in #1513
  • Add support for title argument in CreateChannelCanvas method by @jarospisak-unity in #1483
  • feat: Align GetReactions with Slack API by @olegbespalov in #1480
  • fix(views): don't send empty hash with PublishView by @nlopes in #1515
  • feat(attachments): add ImageBytes, ImageHeight and ImageWidth by @nlopes in #1516
  • adds postephemeral handler to slacktest to audit outgoing messages by @nlopes in #1517

New Contributors

Full Changelog: v0.17.3...v0.18.0-rc1

Don't miss a new slack release

NewReleases is sending notifications on new releases.