Releases: slackapi/python-slack-sdk
Releases · slackapi/python-slack-sdk
Slack Client v2 Official Release
Original RFC: #384
v2 PR: #394
New Features
- Client Decomposition: We’ve split the client into two.
- WebClient: A HTTP client focused on Slack's Web API.
- RTMClient: A websocket client focused on Slack's RTM API.
- RTMClient: Completely redesigned, this client allows you to link your application's callbacks to corresponding Slack events.
- WebClient: The WebClient now provides built-in methods for Slack's Web API. These methods act as helpers enabling you to focus less on how the request is constructed. Here are a few things that this provides:
- Basic information about each method through the docstring.
- Easy File Uploads: You can now pass in the location of a file and the library will handle opening and retrieving the file object to be transmitted.
- Token type validation: This gives you better error messaging when you're attempting to consume an api method that your token doesn't have access to.
- Constructs requests using Slack's preferred HTTP methods and content-types.
Breaking Changes:
If you're migrating from v1.x of slackclient to v2.x, Please follow our migration guide to ensure your app continues working after updating.
v1.3.1
v1.3.0
New Features
Other
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
- Adds new SlackClientError and ResponseParseError types to describe errors - thanks @aoberoi!
- Fix Build Error (#245) - thanks @stasfilin!
- include email as user property (#173) - thanks @acaire!
- Add http reply into slack login and slack connection error (#216) - thanks @harlowja!
- Removed unused exception class (#233)
- Fix rtm_send_message bug (#225) - thanks @kt5356!
- Allow use of custom parameters on rtm_connect() (#210) - thanks @kamushadenes!
- Fix link to rtm.connect docs (#223) - @sampart!