Releases: slack-rs/slack-rs-api
Releases · slack-rs/slack-rs-api
Release list
v0.23.0
- slack_api now provides async functions (enabled with "async" feature, on by default)
- slack_api::sync provides the original functions (enabled with "sync" feature)
Timestamptype replaces all uses of string / u64 / f64 as timestamps
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,joinandrenamehad a newvalidatefield addedlisthad a newexclude_membersfield added
chat
unfurlwas added. See https://api.slack.com/methods/chat.unfurl
files_comments
addhad thechannelparameter removed
groups
createandrenamehad a newvalidatefield added
ims
openhad itsreturn_imfield change fromOption<&str>toOption<bool>
reactions
listhad itsfullfield change fromOption<&str>toOption<bool>
rtm
connectwas added. See https://api.slack.com/methods/rtm.connectstarthad itsno_unreadsandmpim_awarefields change fromOption<&str>toOption<bool>starthad a newno_latestfield added
v0.16.2
v0.16.1
v0.16.0
0.16.0
- This release contains several breaking changes
hyperhas 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
hyperis 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::InternalandError::Httpare gone, andError::HttpRequesthas been added.Erroralso 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.
hyperdependency 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)