Releases: abdolence/slack-morphism-rust
v2.4.1
v2.4.0
What's Changed
- fix(deps): update rust crate tokio-tungstenite to 0.23.0 by @renovate in #274
- chore(deps): update peaceiris/actions-gh-pages action to v4 by @renovate in #256
- chore(deps): update peaceiris/actions-mdbook action to v2 by @renovate in #257
- fix(deps): update rust crate hyper-rustls to 0.27 by @renovate in #255
- Support passing cookie with token by @vrutkovs in #281
New Contributors
Full Changelog: v2.3.2...v2.4.0
v2.3.2
What's Changed
- Making edited field in SlackMessageEventEdited optional by @abdolence in #279
Full Changelog: v2.3.1...v2.3.2
v2.3.1
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
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
What's Changed
- feat: Add
stars.add
andstars.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 onSlackBotInfo
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
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
Full Changelog: v2.0.0...v2.1.0
v2.0.0
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 toSlackClientHyperConnector::new()?
- Deprecated a long time ago
SlackTs.to_date_time
now is removed. The replacement isto_date_time_opt
that returnsOption<>
- 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 tobinary_content
to avoid confusion with the another fieldcontent
.
Shoutouts to @siketyan for the help with migration to Hyper 1.
Full Changelog: v1.17.0...v2.0.0
v1.17.0
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
What's Changed
- fix(deps): update rust crate url to 2.5 by @renovate in #221
- fix(deps): update rust crate serde_with to v3 by @renovate in #185
- A few json tests for models by @abdolence in #228
- fix!: Include SlackMessageSender in SlackMessageEventEdited by @siketyan in #230
** 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