- #135 Improves attachement support by providing clients wih the raw JSON value in case of a parse failure.
- #133 Adds attachment support for message event subscriptions.
- #132 Add support for bot_message event subtype.
- #123 Add support for section fields.
- #127 Add helper for the divider block type.
- #124 Parse Slack incoming emails without throwing an error.
usersList
now takes aUser.ListReq
object. You can construct one withdata-default
'sdef
function to get the previous behaviour.
-
#120 Add file share event parsing support.
Increase bounds on pretty-simple to 4.1 to mitigate a bug added in 4.0.
-
#121 Add pagination of
users.list
- #119 Fix a typo in rich text decoding.
PostMsgRsp
uses aText
instead of aString
for the ts.PostMsgReq
usesMaybe
for thetext
since it is optional if blocks or attachments are provided.
The following fields are now Maybe since they have been found to be absent in some responses:
ChannelConversation.channelSharedTeamIds
ChannelConversation.channelIsMember
ChannelConversation.channelNumMembers
- The
SlackBlockSection
constructor has a newMaybe
field for accessories.
chat.update
bindings #112users.conversations
bindings #109- Generic pagination, making new requests easy to paginate #105
- Expose an Internal module, allowing for new endpoints to be defined without changing slack-web #99
- Three experimental features:
- Conversation parse errors will pick the variant first, then let it fail. Messages now identify the correct variant and missing fields. #108
Mercury now maintains this library.
CI has been rewritten, and a Nix flake is now provided.
We have gathered a fair corpus of sample data from Slack through the course of writing Slacklinker, which has been used to write a new snapshot test suite.
Thanks to Daniel Brice, Dennis Hennen, Claire Violet, Evan Relf, Jake Keuhlen, Rebecca Turner, Matthew Mongeau, and Kevin Tang for their contributions to this release!
- Use Authorization header (44c3cf1)
api.test
auth.test
channels.create
chat.postMessage