Skip to content

Releases: abdolence/slack-morphism-rust

v2.3.2

06 Jun 14:20
0d13635
Compare
Choose a tag to compare

What's Changed

  • Making edited field in SlackMessageEventEdited optional by @abdolence in #279

Full Changelog: v2.3.1...v2.3.2

v2.3.1

02 Jun 21:37
3238af7
Compare
Choose a tag to compare

What's Changed

  • Fix files.completeUploadExternal response to include SlackFile model with all fields by @abdolence in #277

Full Changelog: v2.3.0...v2.3.1

v2.3.0

02 Jun 21:28
75ddd87
Compare
Choose a tag to compare

What's Changed

  • fix(deps): update rust crate serde_with to 3.8 by @renovate in #262

  • Restrict SlackHeaderBlock to accept plan text only block by @abdolence in #273

  • New Slack files upload API support by @abdolence in #276

    Slack apparently deprecated the old file upload API. So you need to upgrade to the new API.

files.upload is deprecated and will stop functioning on March 11, 2025. Use files.getUploadURLExternal and files.completeUploadExternal to upload files instead. Newly created apps will be unable to use files.upload beginning May 8, 2024. See Uploading files for more details on the process and this changelog for more on the deprecation.

Full Changelog: v2.2.0...v2.3.0

v2.2.0

22 Apr 10:50
47da5c2
Compare
Choose a tag to compare

What's Changed

  • feat: Add stars.add and stars.remove methods by @dax in #250
  • fix(deps): update rust crate serde_with to 3.7 by @renovate in #251
  • fix: Make user_id attribute on SlackBotInfo by @dax in #253
  • fix: allow deserialization of recent link_shared by @gagbo in #260
  • chore(deps): update rust crate hyper to 1.3 by @renovate in #258
  • Constant time hash comparison in SlackEventSignatureVerifier and more tests by @abdolence in #261

New Contributors

Full Changelog: v2.1.0...v2.2.0

v2.1.0

04 Mar 19:09
864b480
Compare
Choose a tag to compare

What's Changed

  • fix(deps): update rust crate serde_with to 3.6 by @renovate in #239
  • chore(deps): update rust crate hyper to 1.2 by @renovate in #244
  • feat: Disable signature verification when not needed by @dax in #242
  • feat: Add support for stars events by @dax in #241 and #245
  • Configurable Slack URL for testing purposes by @abdolence in #247
  • fix(deps): update rust crate base64 to 0.22 by @renovate in #248
  • fix(deps): update rust crate http to 1.1 by @renovate in #249

New Contributors

  • @dax made their first contribution in #242

Full Changelog: v2.0.0...v2.1.0

v2.0.0

27 Jan 14:07
3f936f0
Compare
Choose a tag to compare

What's Changed

  • Upgrade http / hyper to 1.0 / axum 0.7 by @siketyan in #232
  • Remove obsolete form encoded upload. Update docs for 2.0. by @abdolence in #238

Migration Notice

  • The library now depends on the release version of Hyper 1.0 and related HTTP/Axum libraries. Make sure you don't have incompatible libraries.
  • SlackClientHyperConnector::new may return now errors due to the changes in underlying TLS packages. Just change it to SlackClientHyperConnector::new()?
  • Deprecated a long time ago SlackTs.to_date_time now is removed. The replacement is to_date_time_opt that returns Option<>
  • Old upload method and related serde_urlencoded dep was removed. Now the crate uses multipart/file upload for all cases.
  • SlackApiFilesUploadRequest.file field was renamed to binary_content to avoid confusion with the another field content.

Shoutouts to @siketyan for the help with migration to Hyper 1.

Full Changelog: v1.17.0...v2.0.0

v1.17.0

14 Jan 12:46
7999a2d
Compare
Choose a tag to compare

What's Changed

  • Binary files upload support via multipart/form by @abdolence in #235

Full Changelog: v1.16.1...v1.17.0

v1.16.1

14 Dec 13:27
59d9030
Compare
Choose a tag to compare

What's Changed

** Migration notice **
v1.16.0 accidentally introduced a required field in SlackMessageEventEdited which in fact was supposed to be optional and it was fixed in #230. Please look details in the PR.

Full Changelog: v1.16.0...v1.16.1

v1.16.0

08 Dec 07:15
00602d5
Compare
Choose a tag to compare

What's Changed

  • Fix SlackMessageEventEdited include original message's id by @shantanuraj in #226
  • Update Rust crate tokio-tungstenite to 0.21.0 by @renovate in #225
  • Reexport HTTP status code to avoid http crate related conflicts by @abdolence in #227

New Contributors

Full Changelog: v1.15.1...v1.16.0

v1.15.1

25 Oct 08:37
3346b03
Compare
Choose a tag to compare

What's Changed

  • Removed confusing duplicate field on Slack User model by @abdolence in #218
    Apparently Slack accidentally broke the model and reverted it back. So it is not expected teams field on user model anymore.
    Details: #215 (comment)

Full Changelog: v1.15.0...v1.15.1