Skip to content

v0.36.0

Choose a tag to compare

@abdolence abdolence released this 09 May 16:37
· 404 commits to master since this release

What's Changed

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