Releases: abdolence/slack-morphism-rust
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
v1.16.0
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
- @shantanuraj made their first contribution in #226
Full Changelog: v1.15.1...v1.16.0
v1.15.1
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 expectedteams
field on user model anymore.
Details: #215 (comment)
Full Changelog: v1.15.0...v1.15.1
v1.15.0
What's Changed
- fix!: Allow SlackUser.team_id to be optional, it is not returned on enterprise workspace by @siketyan in #215
- Basic support for SlackEnterpriseUser information by @abdolence in #216
Breaking changes
Warning: Undocumented breaking change from Slack affecting Enterprise Grid integrations affecting SlackUser.team_id
field. Now it becomes optional to support all variations.
Let me know if you know why this happened or if you may have any official information.
Full Changelog: v1.14.5...v1.15.0
v1.14.5
What's Changed
- Update tokio-tungstenite to 0.20.1 to ensure non vulnerable version is used by @murilobsd in #213
- fix(deps): update rust crate ring to 0.17 by @renovate in #212
New Contributors
- @murilobsd made their first contribution in #213
Full Changelog: v1.14.3...v1.14.5