Releases: abdolence/slack-morphism-rust
Releases · abdolence/slack-morphism-rust
v0.36.0
What's Changed
- Tokio/client API state lock improvements by @abdolence in #113
Migration notice
To work efficiently and in async way from Tokio/Futures user state management API was affected in this release so you need to update your callback functions:
- Removed Arc<> from signatures
- user_states_storage: Arc<SlackClientEventsUserState>,
+ user_state_storage: SlackClientEventsUserState,
- Use await function to read/write instead of blocking in user state management code:
- let states = user_states_storage.read().unwrap();
+ let states = user_state_storage.read().await;
Look at examples and docs for details.
Full Changelog: v0.35.0...v0.36.0
v0.35.0
What's Changed
- Add
status_emoji
toSlackUserProfile
by @bmalicoat in #111 - Introduced strong types for fields in SlackUserProfile by @abdolence in #112
New Contributors
- @bmalicoat made their first contribution in #111
Full Changelog: v0.34.0...v0.35.0
v0.34.0
v0.33.0
What's Changed
- Add
channel_leave
message push type by @fussybeaver in #107 - Update Rust crate async-trait to 0.1.53 by @renovate in #106
- Update Rust crate serde_with to 1.13 by @renovate in #108
- Update Rust crate tokio to 1.18 by @renovate in #109
Full Changelog: v0.32.0...v0.33.0
v0.32.0
What's Changed
- Add FileShare message push type by @fussybeaver in #104
- Initial files support in incoming Slack messages by @abdolence in #105
Full Changelog: v0.31.0...v0.32.0
v0.31.0
What's Changed
- Making user.profile.get parameter optional by @abdolence in #101
- Update actions/checkout action to v3 by @renovate in #102
Full Changelog: v0.30.0...v0.31.0
v0.30.0
- Fixed more models for String to URL. Look at the previous release migration notice.
Full Changelog: v0.29.0...v0.30.0
v0.29.0
What's Changed
- Add slack message attachments by @fussybeaver in #97
- fix get_permalink response struct by @noxasaxon in #98
- Update Rust crate tokio-tungstenite to 0.17.1 by @renovate in #96
- URL strong type in models and API by @abdolence in #99
Migration notice
Url type was introduced in many models such as SlackResponseUrl
, SlackWebSocketsUrl
, SlackTeamUrl
and also API for Webhooks (docs/examples now also available!).
Full Changelog: v0.28.0...v0.29.0
v0.28.0
What's Changed
- Update Rust crate serde_with to 1.12 by @renovate in #92
- Update Rust crate rand to 0.8.5 by @renovate in #93
- Add
thread_broadcast
to MessageEvent subtype by @fussybeaver in #94 - Update Rust crate tokio to 1.17 by @renovate in #95
Full Changelog: v0.27.0...v0.28.0
v0.27.0
- Migrated from Log crate to Tracing to provide modern tracing abilities
- Fixed Event Subscriptions URL verification challenge exchange. Slack requires to return challenge from request back.
Full Changelog: v0.26.0...v0.27.0