Releases · slack-go/slack · GitHub
Skip to content

Releases: slack-go/slack

v0.29.0

Choose a tag to compare

@nlopes nlopes released this 15 Aug 19:18
49178c5

Fixed

New Contributors

Full Changelog: v0.28.0...v0.29.0

v0.28.0

Choose a tag to compare

@nlopes nlopes released this 15 Aug 17:04
fef3e74

Added

  • Channels field to share an uploaded file with multiple conversations by @kenta-ja8 in #1579
  • Support for the container block by @jlhawn in #1574
  • Full message object from chat.postMessage responses by @rustycl0ck in #1572

Fixed

Other

  • chore(deps): bump golangci/golangci-lint-action from 9.2.1 to 9.3.0 by @dependabot[bot] in #1569
  • chore(deps): bump actions/stale from 10.3.0 to 10.4.0 by @dependabot[bot] in #1573
  • chore(deps): bump actions/setup-go from 6 to 7 by @dependabot[bot] in #1576
  • chore(deps): bump actions/stale from 10.4.0 to 11.0.0 by @dependabot[bot] in #1578

New Contributors

Full Changelog: v0.27.0...v0.28.0

v0.27.0

Choose a tag to compare

@nlopes nlopes released this 27 Jun 14:46
v0.27.0
7609cd3

Added

  • Support for data_visualization block through DataVisualizationBlock.
  • Teamnow preservesenterprise_idandenterprise_namewhen Slack includes Enterprise org details in interaction payloadteam` objects.

Full Changelog: v0.26.0...v0.27.0

v0.26.0

Choose a tag to compare

@nlopes nlopes released this 14 Jun 12:04
v0.26.0
967c4e7

What's Changed

New Contributors

Full Changelog: v0.25.0...v0.26.0

v0.25.0

Choose a tag to compare

@nlopes nlopes released this 05 Jun 10:40
v0.25.0
f2af58e

Important

See CHANGELOG.md for details. Breaking change: TableBlock.Rows is now [][]TableCell (#1558).

What's Changed

  • chore(deps): bump actions/stale from 10.2.0 to 10.3.0 by @dependabot[bot] in #1556
  • chore(deps): bump golangci/golangci-lint-action from 9.2.0 to 9.2.1 by @dependabot[bot] in #1557
  • fix!: preserve all cell types in TableBlock by @nlopes in #1560
  • refactor: replace interface{} with any (Go 1.18+) by @MD-Mushfiqur123 in #1559
  • chore: fix a bunch of issues detected by golangci-lint by @nlopes in #1561

New Contributors

Full Changelog: v0.24.0...v0.25.0

v0.24.0

Choose a tag to compare

@nlopes nlopes released this 24 May 15:43
v0.24.0
0b30f31

What's Changed

Important

NewTaskCardBlock and NewPlanBlock now guard against nil variadic options so if you were doing that (which you shouldn't) this is a breaking change.

New Contributors

Full Changelog: v0.23.1...v0.24.0

v0.23.1

Choose a tag to compare

@nlopes nlopes released this 10 May 09:33
34ad5c0

Important

Even though this is a [security] patch release, if you were using an empty secret, this is a breaking change due to a change in behaviour. That's on purpose, to ensure you fix your approach so that there are no footguns.

Fixed

  • NewSecretsVerifier now rejects empty signing secrets to avoid accepting forged request
    signatures when applications are misconfigured.

Full Changelog: v0.23.0...v0.23.1

v0.23.0

Choose a tag to compare

@nlopes nlopes released this 22 Apr 20:00
35d8f31

Added

  • feat(socketmode): expose socketmode handler dispatcher method by @nlopes in #1550
  • feat(block): add card and carousel blocks by @nlopes in #1551
  • feat(assistant): add username and icon to status update by @charleenwang in #1553
  • feat(block): add alert block by @nlopes in #1552

New Contributors

Full Changelog: v0.22.0...v0.23.0

v0.22.0

Choose a tag to compare

@nlopes nlopes released this 12 Apr 14:02
f482b19

What's Changed

Added

  • OAuth PKCE support - OAuthOptionCodeVerifier option for GetOAuthV2Response, plus GenerateCodeVerifier() and GenerateCodeChallenge() helpers (RFC 7636). client_secret is now conditionally omitted when empty in both GetOAuthV2ResponseContext and RefreshOAuthV2TokenContext.
  • Manifest scope fields - BotOptional and UserOptional on OAuthScopes.
  • Rich text styles - Underline, Highlight, ClientHighlight, and Unlink on RichTextSectionTextStyle. Style field on RichTextSectionUserGroupElement.
  • Assistant search context - Sort, SortDir, Before, After, Highlight, IncludeContextMessages, IncludeDeletedUsers, IncludeMessageBlocks, IncludeArchivedChannels, DisableSemanticSearch, Modifiers, TermClauses parameters and new response types (AssistantSearchContextFile, AssistantSearchContextChannel, AssistantSearchContextMessageContext).

Fixed

  • socketmode: malformed JSON no longer forces reconnect - json.SyntaxError and json.UnmarshalTypeError now emit an EventTypeIncomingError event and continue reading instead of killing the WebSocket connection.
  • socketmode: debug_reconnects query param applied correctly - the parameter was silently discarded due to a missing url.RawQuery assignment.
  • ChannelTypes and ContentTypes now send comma-separated values instead of repeated form keys, matching the convention used by every other method in the library.

Docs

  • assistant:write scope marked as deprecated in favour of chat:write.

Full Changelog: v0.21.1...v0.22.0

v0.21.1

Choose a tag to compare

@nlopes nlopes released this 08 Apr 16:10
6d77e45

v0.21.1

Added

  • MessageEvent channel type helpers — New ChannelTypeChannel, ChannelTypeGroup,
    ChannelTypeIM, and ChannelTypeMPIM constants plus IsChannel(), IsGroup(), IsIM(), and
    IsMpIM() convenience methods on MessageEvent. No more comparing raw strings to figure out where a
    message came from:
if ev.IsIM() {
    // handle direct message
}

Fixed

  • MessageEvent doc typo — ChannelType documentation listed "mim" instead of the correct "mpim".
  • Duplicate attachment/block serialization — MsgOptionAttachments and MsgOptionBlocks were serializing
    payloads twice (once for the response-URL JSON path, once for the form POST path). Serialization now
    happens once inside formSender.BuildRequestContext. (#1547)

Note

UnsafeApplyMsgOptions no longer includes attachments/blocks keys in the returned values, since marshalling is deferred to send time. This function is documented as unsupported.