Release notes
*Sourced from [slackclient's releases](https://github.com/slackapi/python-slackclient/releases).*
> ## 2.2.1 - Bug fixes for WebClient
> **Updates**
> 1. [Docs] Fix Indentation of Code Snippets in README.md [#525](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/525) (Thanks [@abhishekjiitr](https://github.com/abhishekjiitr))
> 2. [WebClient] Fix Web Client custom iterator [#521](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/521) (Thanks [@smaeda-ks](https://github.com/smaeda-ks))
> 3. [WebClient] Oauth previously failed to pass along credentials properly. This is fixed now. [#527](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/527)
> 4. [WebClient] When a SlackApiError occurs we're now passing the entire SlackResponse into the exception. [#527](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/527)
>
> ## 2.1.0 - First major update to v2!
> **New Features**
> 1. Type-hinted helper classes for building messages in v2 [#400](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/400) (Thanks [@paul-griffith](https://github.com/paul-griffith))
>
> **Breaking Changes**
> 1. [RTMClient] Converted the `RTMClient#typing()` function to async [#446](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/446)
>
> **Updates**
> 1. [RTMClient] Handle case in which aiohttp closes the websocket due to lack of ping responses. [#453](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/453) (Thanks [@flyte](https://github.com/flyte))
> 2. Modify package identifier in user agent to match v1.x identifier [#418](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/418) (Thanks [@aoberoi](https://github.com/aoberoi))
> 3. [WebClient] Fixed typo in Scheduled message [#428](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/428) & [#435](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/435) (Thanks [@splinterific](https://github.com/splinterific))
> 4. Transform install_requires of 'aiodns' into extras_require. [#440](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/440) (Thanks [@staticdev](https://github.com/staticdev))
>
> **Thank you!!**
> To everyone who's opened, commented or reacted to an issue; this project is better because of you!
> Thank you for helping the Slack community!
>
> ## Slack Client v2 Official Release
> Original RFC: [slackapi/python-slackclient#384](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/384)
> v2 PR: [slackapi/python-slackclient#394](https://github-redirect.dependabot.com/slackapi/python-slackclient/pull/394)
>
> **New Features**
> 1. Client Decomposition: We’ve split the client into two.
> 1. WebClient: A HTTP client focused on Slack's Web API.
> 2. RTMClient: A websocket client focused on Slack's RTM API.
> 2. RTMClient: Completely redesigned, this client allows you to link your application's callbacks to corresponding Slack events.
> 3. 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:
> 1. Basic information about each method through the docstring.
> 2. 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.
> 3. 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.
> 4. 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.
>
> [Check out the Migration Guide here!](https://github.com/slackapi/python-slackclient/wiki/Migrating-to-2.x)
>
> ## Ensuring reconnects use rtm.connect
> Fixing an issue where reconnects used rtm.start istead of rtm.connect. [#422](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/422)
Changelog
*Sourced from [slackclient's changelog](https://github.com/slackapi/python-slackclient/blob/master/docs/changelog.html).*
>
>
>
> http-equiv="Content-Type"
> content="text/html; charset=utf-8"
> />
>
> Changelog — Slack Developer Kit for Python
>
>
>
>
>
> href="https://a.slack-edge.com/4f227/style/rollup-slack_kit_legacy_adapters.css"
> rel="stylesheet"
> type="text/css"
> />
> href="https://a.slack-edge.com/3e02c0/style/rollup-api_site.css"
> rel="stylesheet"
> type="text/css"
> />
> rel="stylesheet"
> href="./_static/default.css"
> type="text/css"
> />
> rel="stylesheet"
> href="./_static/pygments.css"
> type="text/css"
> />
> rel="stylesheet"
> ... (truncated)
Commits
- [`33ef376`](https://github.com/slackapi/python-slackclient/commit/33ef376d0c6cd10eb7cc9440d6fb6a05c879191a) 2.4.0 ([#572](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/572))
- [`b7d7d28`](https://github.com/slackapi/python-slackclient/commit/b7d7d28d6a0215ddb0aa64aaba8bb1b50bb99b9f) Adding new admin.* API's ([#571](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/571))
- [`17b6abd`](https://github.com/slackapi/python-slackclient/commit/17b6abd1b7a16850e4da1b8e6219e36229f62716) Remove value from LinkButtonElement, fix test ([#563](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/563))
- [`3323408`](https://github.com/slackapi/python-slackclient/commit/33234087fac2c6da9693240e67a68ed8f5e7c81b) Fixed 'iteracting' typo in library file headers ([#564](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/564))
- [`488cc73`](https://github.com/slackapi/python-slackclient/commit/488cc730560584c99c6bc42fffbda727321dfef9) Remove _validate_xoxp_token ([#568](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/568))
- [`687695b`](https://github.com/slackapi/python-slackclient/commit/687695be8527fd0a864a87a2b03066e508c6588a) Merge pull request [#554](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/554) from phamk/master
- [`0234c87`](https://github.com/slackapi/python-slackclient/commit/0234c87673d89014b935032f15f37fff41508187) typo
- [`c633733`](https://github.com/slackapi/python-slackclient/commit/c633733134b4f15322ced9e587c7aa8f0c8c20ba) Merge pull request [#552](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/552) from shanedewael/fix-communityslack-link
- [`bb49585`](https://github.com/slackapi/python-slackclient/commit/bb49585f02e9a144dde9742207bf2b469a5475b7) Update README.md
- [`ca49fcc`](https://github.com/slackapi/python-slackclient/commit/ca49fcc21d05802b2cb5192282113e866d98d7cd) Modify slackcommunity link
- Additional commits viewable in [compare view](https://github.com/slackapi/python-slackclient/compare/1.3.1...2.4.0)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps slackclient from 1.3.1 to 2.4.0.
Release notes
*Sourced from [slackclient's releases](https://github.com/slackapi/python-slackclient/releases).* > ## 2.2.1 - Bug fixes for WebClient > **Updates** > 1. [Docs] Fix Indentation of Code Snippets in README.md [#525](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/525) (Thanks [@abhishekjiitr](https://github.com/abhishekjiitr)) > 2. [WebClient] Fix Web Client custom iterator [#521](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/521) (Thanks [@smaeda-ks](https://github.com/smaeda-ks)) > 3. [WebClient] Oauth previously failed to pass along credentials properly. This is fixed now. [#527](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/527) > 4. [WebClient] When a SlackApiError occurs we're now passing the entire SlackResponse into the exception. [#527](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/527) > > ## 2.1.0 - First major update to v2! > **New Features** > 1. Type-hinted helper classes for building messages in v2 [#400](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/400) (Thanks [@paul-griffith](https://github.com/paul-griffith)) > > **Breaking Changes** > 1. [RTMClient] Converted the `RTMClient#typing()` function to async [#446](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/446) > > **Updates** > 1. [RTMClient] Handle case in which aiohttp closes the websocket due to lack of ping responses. [#453](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/453) (Thanks [@flyte](https://github.com/flyte)) > 2. Modify package identifier in user agent to match v1.x identifier [#418](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/418) (Thanks [@aoberoi](https://github.com/aoberoi)) > 3. [WebClient] Fixed typo in Scheduled message [#428](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/428) & [#435](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/435) (Thanks [@splinterific](https://github.com/splinterific)) > 4. Transform install_requires of 'aiodns' into extras_require. [#440](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/440) (Thanks [@staticdev](https://github.com/staticdev)) > > **Thank you!!** > To everyone who's opened, commented or reacted to an issue; this project is better because of you! > Thank you for helping the Slack community! > > ## Slack Client v2 Official Release > Original RFC: [slackapi/python-slackclient#384](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/384) > v2 PR: [slackapi/python-slackclient#394](https://github-redirect.dependabot.com/slackapi/python-slackclient/pull/394) > > **New Features** > 1. Client Decomposition: We’ve split the client into two. > 1. WebClient: A HTTP client focused on Slack's Web API. > 2. RTMClient: A websocket client focused on Slack's RTM API. > 2. RTMClient: Completely redesigned, this client allows you to link your application's callbacks to corresponding Slack events. > 3. 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: > 1. Basic information about each method through the docstring. > 2. 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. > 3. 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. > 4. 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. > > [Check out the Migration Guide here!](https://github.com/slackapi/python-slackclient/wiki/Migrating-to-2.x) > > ## Ensuring reconnects use rtm.connect > Fixing an issue where reconnects used rtm.start istead of rtm.connect. [#422](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/422)Changelog
*Sourced from [slackclient's changelog](https://github.com/slackapi/python-slackclient/blob/master/docs/changelog.html).* > > > > http-equiv="Content-Type" > content="text/html; charset=utf-8" > /> > >Commits
- [`33ef376`](https://github.com/slackapi/python-slackclient/commit/33ef376d0c6cd10eb7cc9440d6fb6a05c879191a) 2.4.0 ([#572](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/572)) - [`b7d7d28`](https://github.com/slackapi/python-slackclient/commit/b7d7d28d6a0215ddb0aa64aaba8bb1b50bb99b9f) Adding new admin.* API's ([#571](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/571)) - [`17b6abd`](https://github.com/slackapi/python-slackclient/commit/17b6abd1b7a16850e4da1b8e6219e36229f62716) Remove value from LinkButtonElement, fix test ([#563](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/563)) - [`3323408`](https://github.com/slackapi/python-slackclient/commit/33234087fac2c6da9693240e67a68ed8f5e7c81b) Fixed 'iteracting' typo in library file headers ([#564](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/564)) - [`488cc73`](https://github.com/slackapi/python-slackclient/commit/488cc730560584c99c6bc42fffbda727321dfef9) Remove _validate_xoxp_token ([#568](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/568)) - [`687695b`](https://github.com/slackapi/python-slackclient/commit/687695be8527fd0a864a87a2b03066e508c6588a) Merge pull request [#554](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/554) from phamk/master - [`0234c87`](https://github.com/slackapi/python-slackclient/commit/0234c87673d89014b935032f15f37fff41508187) typo - [`c633733`](https://github.com/slackapi/python-slackclient/commit/c633733134b4f15322ced9e587c7aa8f0c8c20ba) Merge pull request [#552](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/552) from shanedewael/fix-communityslack-link - [`bb49585`](https://github.com/slackapi/python-slackclient/commit/bb49585f02e9a144dde9742207bf2b469a5475b7) Update README.md - [`ca49fcc`](https://github.com/slackapi/python-slackclient/commit/ca49fcc21d05802b2cb5192282113e866d98d7cd) Modify slackcommunity link - Additional commits viewable in [compare view](https://github.com/slackapi/python-slackclient/compare/1.3.1...2.4.0)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)