Releases: slackapi/python-slack-sdk
Releases Β· slackapi/python-slack-sdk
version 3.13.0
Changes
- #1140 Add focus_on_load support in Block Kit - Thanks @seratch
- #1147 Add cursor parameter to Audit Logs API method - Thanks @seratch
- #1143 #1148 Capitalized Retry-After header missing since 3.12.0 - Thanks @joekohlsdorf @seratch
- #1141 Add GitHub stale action for better triaging issues - Thanks @srajiang @seratch
- #1149 Upgrade black, flake8, and pytype - Thanks @seratch
Document Updates
- #1139 #1086 Add interactivity patterns in SocketModeClient document - Thanks @ruberVulpes
- All issues/pull requests: https://github.com/slackapi/python-slack-sdk/milestone/46?closed=1
- All changes: v3.12.0...v3.13.0
version 3.12.0
Changes
- #1129 Add Python 3.10 to the supported versions - Thanks @seratch
- #1132 Add
team.*&admin.users.session.resetBulkAPIs - Thanks @seratch - #1127 #1135 Add more docstrings to
slack_sdk.modelsclasses - Thanks @seratch - #1134 Make the aiohttp-based SocketModeClient's debug logging more consistent with the built-in one (#1122) - Thanks @seratch
- #1131 #1137 Add the method to check equality in Block Kit model classes - Thanks @kokko-san @uroboro
- #1130 Audit Logs API: Add new details properties for
channel_posting_permissions_updatedaction - Thanks @seratch - #1128 #1136 Enable pytype and fix detected issues - Thanks @seratch
- All issues/pull requests: https://github.com/slackapi/python-slack-sdk/milestone/45?closed=1
- All changes: v3.11.2...v3.12.0
version 3.12.0b1
What's Changed
- Add Support for App Manifest Endpoints (apps.manifest.*) by @misscoded in #1123
App Manifests
This release includes support for app manifests. The apps.manifest.* endpoints can be used to create, delete, update, and copy your Slack apps with ease. New endpoints include:
apps.manifest.createapps.manifest.deleteapps.manifest.exportapps.manifest.updateapps.manifest.validatetooling.tokens.rotate
Full Changelog: v3.11.2...v3.12.0b1
version 3.11.2
Changes
- All issues/pull requests: https://github.com/slackapi/python-slack-sdk/milestone/48?closed=1
- All changes: v3.11.1...v3.11.2
version 3.11.1
Changes
- #1117 asyncio-based Socket Mode client improvements - Thanks @seratch @matthieucan
- All issues/pull requests: https://github.com/slackapi/python-slack-sdk/milestone/47?closed=1
- All changes: v3.11.0...v3.11.1
version 3.11.0
Changes
- #1110 #1112 Socket Mode disconnection issue with the aiohttp-based client - Thanks @matthieucan @seratch @filmaj
- #1114 Improve Socket Mode client implementations to be more robust while reconnecting - Thanks @seratch @filmaj
- #1115 Remove confusing warning from FileInstallationStore - Thanks @seratch @filmaj
- #1113 Add missing properties in Audit Logs details data class - Thanks @seratch
- #1108 #1109 Add support for admin.conversations.* for retention settings - Thanks @ruberVulpes
- All issues/pull requests: https://github.com/slackapi/python-slack-sdk/milestone/43?closed=1
- All changes: v3.10.1...v3.11.0
version 3.11.0rc1
Refer to v3.11.0 release notes
version 3.10.1
Changes
- All issues/pull requests: https://github.com/slackapi/python-slack-sdk/milestone/44?closed=1
- All changes: v3.10.0...v3.10.1
version 3.10.0
New Features
All argument supports in WebClient / AsyncWebClient
Since this version, all the methods in WebClient / AsyncWebClient have not only required arguments but also all possible ones in the method signature for better developer experience. Refer to the pull request enabling this #1099 for details.
Easier way to test if a key exists in a Web API response
Now that SlackResponse / AsyncSlackResponse now have __contains__ method, you can test if a key exists in WebClient responses. Refer to the pull request enabling this #1104 for details.
token = "xoxb-"
response = WebClient(token).auth_test()
"error" in response # True / FalseChanges
- #1099 Fix #1018 Add optional arguments in WebClient methods - Thanks @seratch
- #1104 Fix #1102 Add
__contains__method in slack_sdk.web.SlackResponse / AsyncSlackResponse - Thanks @seratch - #1097 Fix #1056 by changing the default type for Option values - Thanks @weallwegot @seratch
- #1096 Fix #1095 by correcting
ContextBlockelement type hint - Thanks @uroboro @seratch - #1103 Fix #1100 by improving the
get/__getitem__method behavior when response body is empty - Thanks @janeliang0522 @seratch - #1105 Update the entity name in metadata / documents - Thanks @seratch
- All issues/pull requests: https://github.com/slackapi/python-slack-sdk/milestone/41?closed=1
- All changes: v3.9.1...v3.10.0
version 3.9.1
Changes
- #1094 Improve #1084 to run rate limited error retry handler correctly - Thanks @seratch
- #1083 Fix #1082 by ignoring proxy parameter if env parameter is set but empty - Thanks @y-adachi-00one
- All issues/pull requests: https://github.com/slackapi/python-slack-sdk/milestone/42?closed=1
- All changes: v3.9.0...v3.9.1