Releases: slack-rs/slack-rs-api
Releases · slack-rs/slack-rs-api
v0.23.0
v0.22.0
v0.21.0
v0.18.0
v0.17.0
0.17.0
- Updates generated API definitions for the Slack API as of April 29
API Changes
- Several additional error types were added across many API functions
- Several documentation fixes and updates
channels
create
,join
andrename
had a newvalidate
field addedlist
had a newexclude_members
field added
chat
unfurl
was added. See https://api.slack.com/methods/chat.unfurl
files_comments
add
had thechannel
parameter removed
groups
create
andrename
had a newvalidate
field added
ims
open
had itsreturn_im
field change fromOption<&str>
toOption<bool>
reactions
list
had itsfull
field change fromOption<&str>
toOption<bool>
rtm
connect
was added. See https://api.slack.com/methods/rtm.connectstart
had itsno_unreads
andmpim_aware
fields change fromOption<&str>
toOption<bool>
start
had a newno_latest
field added
v0.16.2
v0.16.1
v0.16.0
0.16.0
- This release contains several breaking changes
hyper
has been replaced withreqwest
, but is still an optional dependency- All response fields are now considered optional to prevent this library from breaking if Slack removes them
- All methods now take in a request object (e.g.
PostMessageRequest
) instead of each parameter separately- This allows better clarity when calling the API as it simulates named params
- All request objects implement
Default
, so you can fill in the request with a..PostMessageRequest::default()
(or equivalent) to elide fields that are not being set
- All error types have been reworked to obtain better information from the Slack API about the issue
- Support added for most other Slack APIs, including
dnd
,usergroups
,mpim
, andfiles.comments
v0.15.0
0.15.0
hyper
is now an optional (but default) feature that can be disabled to use a different HTTP client- The only change this requires for users is in error handling.
Error::Internal
andError::Http
are gone, andError::HttpRequest
has been added.Error
also no longer allows exhaustive checking to allow for future flexibility, though this limitation will be lifted before 1.0. - See the pull request for more information
- The only change this requires for users is in error handling.
hyper
dependency also bumped to version0.9.4
, if it's being used (thanks to @jgulotta)- Fixed several changes in the schema from the Slack API that would cause erroneous deserialization errors (thanks to @kiyoto)