Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency @slack/web-api to v7 #232

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 17, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@slack/web-api (source) 6.13.0 -> 7.8.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

slackapi/node-slack-sdk (@​slack/web-api)

v7.8.0

Compare Source

v7.7.0

Compare Source

What's New

Thanks to the hard work of @​mtjandra, the web-api client now exposes Axios interceptors and adapters! Check out the documentation about this new feature for more details. Thanks so much for your contribution, @​mtjandra ❤️

Changelog

8ba3a43 feat(web-api): add request interceptor and HTTP adapter config to WebClient (#​2076), resolves #​2073

v7.6.0

Compare Source

What's New

We've added support for a new Slack Connect invite automation API: conversations.requestShared.list. Use the list API as well as the approve and deny APIs to automate approval and denial of Slack Connect invites into your Slack workspaces. More details about this feature are available in our Governing Slack Connect invites docs.

Also, the response types for a few APIs were extended with a few new properties. Check out #​2071 for the minor details.

Changelog

59f200a web-api(feat): add support for conversations.requestShared.list API (#​2072)
01d9d2d web-api(feat): minor additions to some admin API response types (#​2071)

v7.5.0

Compare Source

What's Changed

We've released support for AI Assistants & Agents via @slack/web-api:

Full Changelog

571bc3a feat (web-api / types): Add support for assistant.threads.* API (#​2033)

v7.4.0

Compare Source

What's Changed

We've released two new APIs for use via @slack/web-api:

Full Changelog

a3a06ec web-api(feat): add support for conversations.requestShared approve , deny APIs (#​1843)

v7.3.4

Compare Source

What's Changed

This patch release bumps the minimum version of axios to 1.7.4 to address a CVE - see Axios 1.7.4 release notes for more information.

Changelog

855549b fix: bump axios to 1.7.4 to address CVE (#​1875) - fixes #​1874

v7.3.3

Compare Source

v7.3.2

Compare Source

What's Changed

20491c8 fix (web-api): tweak type of chat.postMessage's reply_broadcast property to be wider, fixes #​1859 (#​1860)
a055e66 fix: add deprecated channels property for upload file v2 method, fixes #​1846 (#​1848)

v7.3.1

Compare Source

This release fixes a problem between web-api 7.3.0 and projects consuming it that used versions of TypeScript older than 5.0. Moving forward, web-api should guarantee compatibility with at least TypeScript 4.7.2 or newer; if this changes, that will likely warrant a major new semver release.

What's Changed

b284994 web-api(fix): revert use of export type * to maintain backwards compatibility with TS 4.7 (#​1841)

v7.3.0

Compare Source

What's New

We've added two new APIs:

  1. teams.externalTeams.disconnect
  2. conversations.externalInvitePermissions.set
What's Changed

a18c1ea feat (web-api): add support for teams.externalTeams.disconnect API (#​1837)
4ef80b7 web-api: add new conversations.externalInvitePermissions.set API (#​1834)
9e20ca3 web-api: update files.info, files.list files.remote.list and team.externalTeams.list response types (#​1833)
fc87d51 chore: tweak lint config to allow for eslint --fix to fix import order (#​1827)

v7.2.0

Compare Source

What's Changed

4df9fb8 feat(web-api): add new Slack Connect APIs team.externalTeams.list and users.discoverableContacts.lookup (#​1826)
f3acb2f feat(web-api): Update response types to latest automatically generated (#​1824)
20f026b feat(web-api): user id map in MigrationExchangeResponse as map (#​1821)

v7.1.0

Compare Source

What's Changed

The new feature available in this release is access to new Canvas APIs - programmatically manipulate your Canvases to your heart's content!

Additionally:

  • Previously in v7 of web-api, if you were using an API method that required no arguments (e.g. api.test), you still had to pass it an empty object ({}). Thanks to @​davidlj95's work in #​1809, that is no longer a requirement!
  • You can now set the attachOriginalToWebAPIRequestError to false to ensure API responses are not logged. By default, this option will be set to false. Many thanks to @​Parama92 for their work in this area!

a2c0fe5 web-api: public canvas APIs (#​1813)
9f2935f feat: allow using WebClient APIs without argument (#​1809) - fixes #​1769; thank you @​davidlj95 for your contribution! ❤️
b98ef1e feat: providing a way to disable message content being logged (#​1786) - fixes #​1751; thank you @​Parama92 for your contribution! ❤️

v7.0.4: @​slack/[email protected]

Compare Source

What's Changed

We released a fix for the oauth.v2.exchange method argument type; previously it did not require a token, which was incorrect. It now requires a token parameter, which matches the expectations of this API method.

Full Changelog

ae755dc web-api(fix): oauth.v2.exchange method requires a token parameter (#​1779) - thanks for reporting @​iggyray!

v7.0.3

Compare Source

What's Changed

We've deprecated the files.upload method. Check out our announcement on the topic here. Instead, use the uploadV2 method provided by the client.

Full Changelog

ae9ace8 web-api(fix): fix node-retry types (#​1772) - thanks @​cotsupa!
fec4895 web-api(docs): Add deprecation JSdoc to files.upload method (#​1773)
8bff32f web-api(fix): Fix typo in error throwing for rate limit exceeded (#​1755) - thanks @​WhiteKiwi!

v7.0.2

Compare Source

What's Changed

Nothing major or even minor in this release! Just a few patches:

Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/[@​slack/cli-hooks](https://redirect.github.com/slack/cli-hooks)[@​1](https://redirect.github.com/1).0.0...[@​slack/web-api](https://redirect.github.com/slack/web-api)[@​7](https://redirect.github.com/7).0.2

v7.0.1

Compare Source

What's Changed

Only relevant to consumers in TypeScript projects: we mistakenly removed the types for method arguments as exports in the 7.0.0 major release (e.g. ViewsPushArguments, etc. - any of the types listed in this file). These were available for consumers to import in the 6.x versions of web-api. Woops! This release simply adds these back in.

Full Changelog

d5c17d8 web-api: re-export method argument types (#​1729)

v7.0.0

Compare Source

What's Changed

There are two big (potentially) breaking changes library users should be aware of:

  1. The minimum supported (and thus tested) version of node.js is now v18. While older versions of node should still work, we no longer guarantee this, especially now that versions of node.js older than 18 are end-of-life'd.
  2. If you use this library in a TypeScript project, many of the HTTP API methods that this library exposes now have stricter, and more correct / accurate, argument types and constraints modeled.

But do not fear! We have written a migration guide for v6 -> v7 users which painstakingly list out the changes per-method, which should provide you with an easy upgrade process.

As usual, if you have trouble with this library, feel free to file an issue! We are here to help 🫂 😄

Much love,
The Slack DevRel Engineering team

Changelog

e29f6a1 Add support for overriding token when using fileUploadV2 (#​1723 fixes #​1644)
d53ef02 @slack/web-api argument type safety (#​1673)
4a8eeac Remove warning about lack of fallback text from chat.update invocations (#​1674)
6e8a31e Bump minimum node version to v18 (#​1667)


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the Renovate label Jan 17, 2024
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 6 times, most recently from 4cd0f68 to 1b36f92 Compare January 26, 2024 11:12
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch from 1b36f92 to a8bec55 Compare January 31, 2024 13:14
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 3 times, most recently from 5f053d4 to 1f99c2d Compare February 14, 2024 05:15
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 2 times, most recently from 7d4ddb6 to be63d99 Compare February 20, 2024 15:14
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 2 times, most recently from e8dba07 to f0f44fd Compare February 27, 2024 13:11
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 2 times, most recently from b74dd86 to 2d4751a Compare March 4, 2024 11:12
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 3 times, most recently from 6bb0aea to 463b0b4 Compare March 14, 2024 13:12
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 2 times, most recently from 7a940ba to a2f5617 Compare March 22, 2024 11:12
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch from a2f5617 to 82cb461 Compare March 29, 2024 07:14
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 4 times, most recently from cb7b0a8 to feb5c7a Compare April 19, 2024 06:15
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 3 times, most recently from fb34e83 to 36aa7a7 Compare April 24, 2024 04:19
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 2 times, most recently from a3247ee to 9291324 Compare August 16, 2024 05:36
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch from 9291324 to 4e70510 Compare September 6, 2024 14:37
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 3 times, most recently from 7859fbb to da46ffb Compare September 24, 2024 09:20
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 2 times, most recently from 82d7f0c to 0111e13 Compare September 27, 2024 06:09
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 3 times, most recently from 9dbdda6 to c098c69 Compare October 8, 2024 18:07
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch from c098c69 to 54b000f Compare October 11, 2024 08:15
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 2 times, most recently from b86a0dc to c05a5ae Compare October 24, 2024 04:22
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 2 times, most recently from ad51998 to 92f8e6c Compare November 6, 2024 09:12
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch from 92f8e6c to 9edaeb6 Compare November 12, 2024 15:14
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 3 times, most recently from eff63b0 to 36cedaa Compare November 26, 2024 11:13
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 3 times, most recently from 6c87188 to 2fc2d7d Compare December 4, 2024 09:18
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 4 times, most recently from d9733c0 to 8353ca1 Compare December 13, 2024 13:16
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch from 8353ca1 to 38c3475 Compare December 16, 2024 13:17
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch from 38c3475 to 9eef0cc Compare December 17, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants