New Features
Deletion methods in InstallationStore
/ AsyncInstallationStore
Since this version, the following methods are available to use for better installation data management.
- delete_bot / async_delete_bot
- delete_installation / async_delete_installation
- delete_all / async_delete_all
All the built-in implementations already support these methods. We recommend subscribing to tokens_revoked
/ app_uninstalled
bot events and call these methods in the event handlers.
Module document hosting
We recently started hosting the Python module documents at https://slack.dev/python-slack-sdk/api-docs/slack_sdk/
admin.users.session.* APIs support
The new admin.users.session.*
APIs for Enterprise Grid customers are supported in WebClient
and AsyncWebClient
.
Changes
In addition to the new features mentioned above, we've resolved a few issues in the slack_sdk.models
classes. Also, we've improved the consistency of docstrings in this project.
- #995 Fix #976 Add deletion methods to InstallationStore - Thanks @seratch
- #994 Fix #992 Better documentation about
slack_sdk.models
usage in Web APIs - Thanks @invokermain @seratch - #993 Fix #990
slack_sdk.models.blocks.Option
's description value is invalid in blocks - Thanks @seratch - #988 #987 Add Default of None for selected_options for ViewStateValue - Thanks @scott-shields-github
- #985 Improve error response body parser in WebClient - Thanks @seratch
- #984 Fix #982 Add admin.users.session.* API support - Thanks @seratch
- #980 API document hosting - Thanks @seratch
- #981 Rewrite reStructuredText docstrings to use Google style - Thanks @seratch
- #979 Add fallback argument in BlockAttachment - Thanks @eddyg @seratch
- #975 Update modal handling documents - Thanks @seratch
- #1001 Fix #1000 RTMClient v2 still requires aiohttp installed (even though it's unused) - Thanks @seratch
- #1006 Fix #1003 threading.Thread.setDaemon has been deprecated in Python 3.10 - Thanks @tirkarthi @seratch
- #1004 Fix #1002 ConversationFilter missing new optional field exclude_external_shared_channels - Thanks @slushpupie @seratch
- All issues/pull requests: https://github.com/slackapi/python-slack-sdk/milestone/31?closed=1
- All changes: v3.4.2...v3.5.0