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
- [`a7271b0`](https://github.com/slackapi/python-slackclient/commit/a7271b00f3a329f7a855f98ffe0135ef68ccf901) v2.3.0 ([#541](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/541))
- [`8880aab`](https://github.com/slackapi/python-slackclient/commit/8880aabcb46e3d03bd65d57f640ccecdf4283b06) New Views API & Updates for internal request method ([#540](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/540))
- [`22ac861`](https://github.com/slackapi/python-slackclient/commit/22ac861d3bb1dea1c4ac973f2fe7f9fe39370d3a) v2.2.1 ([#532](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/532))
- [`612c68d`](https://github.com/slackapi/python-slackclient/commit/612c68d3220af3a0a20bae7bc2f4a24bdc775bf4) Passing oauth params properly. Returning the entire SlackResponse in SlackApi...
- [`70883cb`](https://github.com/slackapi/python-slackclient/commit/70883cb5b4e1ad1bc603cc962916850e8130a392) Fix Web Client custom iterator ([#521](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/521))
- [`d9183dc`](https://github.com/slackapi/python-slackclient/commit/d9183dcd5a300207b079e03f24fdb89cf5333054) Fix Indentation of Code Snippets in README.md ([#525](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/525))
- [`128305a`](https://github.com/slackapi/python-slackclient/commit/128305a6fca496a5933a18f0b4666052ea48c83a) 2.2.0 ([#518](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/518))
- [`3a6c509`](https://github.com/slackapi/python-slackclient/commit/3a6c50980026335d2a45d32594981257ff6d92d2) Adding View API's and fixing OAuth Headers Bug ([#517](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/517))
- [`08dcdaa`](https://github.com/slackapi/python-slackclient/commit/08dcdaadf958b49c885a192f5e99417f68bcbdb7) bugfix for value length in button elements ([#514](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/514))
- [`c9918c9`](https://github.com/slackapi/python-slackclient/commit/c9918c93a2a301bdd32f7414d1ec00ff5d73c045) Fixes formatting ([#515](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/515))
- Additional commits viewable in [compare view](https://github.com/slackapi/python-slackclient/compare/1.3.1...v2.3.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.3.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
- [`a7271b0`](https://github.com/slackapi/python-slackclient/commit/a7271b00f3a329f7a855f98ffe0135ef68ccf901) v2.3.0 ([#541](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/541)) - [`8880aab`](https://github.com/slackapi/python-slackclient/commit/8880aabcb46e3d03bd65d57f640ccecdf4283b06) New Views API & Updates for internal request method ([#540](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/540)) - [`22ac861`](https://github.com/slackapi/python-slackclient/commit/22ac861d3bb1dea1c4ac973f2fe7f9fe39370d3a) v2.2.1 ([#532](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/532)) - [`612c68d`](https://github.com/slackapi/python-slackclient/commit/612c68d3220af3a0a20bae7bc2f4a24bdc775bf4) Passing oauth params properly. Returning the entire SlackResponse in SlackApi... - [`70883cb`](https://github.com/slackapi/python-slackclient/commit/70883cb5b4e1ad1bc603cc962916850e8130a392) Fix Web Client custom iterator ([#521](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/521)) - [`d9183dc`](https://github.com/slackapi/python-slackclient/commit/d9183dcd5a300207b079e03f24fdb89cf5333054) Fix Indentation of Code Snippets in README.md ([#525](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/525)) - [`128305a`](https://github.com/slackapi/python-slackclient/commit/128305a6fca496a5933a18f0b4666052ea48c83a) 2.2.0 ([#518](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/518)) - [`3a6c509`](https://github.com/slackapi/python-slackclient/commit/3a6c50980026335d2a45d32594981257ff6d92d2) Adding View API's and fixing OAuth Headers Bug ([#517](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/517)) - [`08dcdaa`](https://github.com/slackapi/python-slackclient/commit/08dcdaadf958b49c885a192f5e99417f68bcbdb7) bugfix for value length in button elements ([#514](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/514)) - [`c9918c9`](https://github.com/slackapi/python-slackclient/commit/c9918c93a2a301bdd32f7414d1ec00ff5d73c045) Fixes formatting ([#515](https://github-redirect.dependabot.com/slackapi/python-slackclient/issues/515)) - Additional commits viewable in [compare view](https://github.com/slackapi/python-slackclient/compare/1.3.1...v2.3.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)