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 #190

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 20, 2024

This PR contains the following updates:

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

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/web-api@7.04

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)

v6.13.0

Compare Source

What's Changed

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

Changes

Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/[@​slack/web-api](https://redirect.github.com/slack/web-api)[@​6](https://redirect.github.com/6).12.1...[@​slack/web-api](https://redirect.github.com/slack/web-api)[@​6](https://redirect.github.com/6).13.0

v6.12.1

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

Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/[@​slack/web-api](https://redirect.github.com/slack/web-api)[@​6](https://redirect.github.com/6).12.0...[@​slack/webhook](https://redirect.github.com/slack/webhook)[@​6](https://redirect.github.com/6).12.1

v6.12.0

Compare Source

What's Changed

The following methods were added to the web client to support functions.* methods:

Full Changelog

4f39371 Add support for functions.* (complete) methods in #​1702 - Thanks @​misscoded!


Configuration

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

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

Rebasing: Whenever PR is behind base branch, 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 force-pushed the renovate/slack-web-api-7.x branch from 9281078 to 332b91e Compare February 12, 2024 19:00
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 2 times, most recently from d0a3a6a to 80cf1c4 Compare April 19, 2024 16:52
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 2 times, most recently from 8bc4067 to afc1671 Compare June 18, 2024 19:27
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch from afc1671 to 4c0f2e8 Compare July 5, 2024 20:44
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch from 4c0f2e8 to d344342 Compare July 31, 2024 18:28
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch 2 times, most recently from cd6b404 to 636a686 Compare August 15, 2024 13:11
@renovate renovate bot changed the title Update dependency @slack/web-api to v7 Update dependency @slack/web-api to v7 - autoclosed Aug 15, 2024
@renovate renovate bot closed this Aug 15, 2024
@renovate renovate bot deleted the renovate/slack-web-api-7.x branch August 15, 2024 22:30
@renovate renovate bot changed the title Update dependency @slack/web-api to v7 - autoclosed Update dependency @slack/web-api to v7 Aug 16, 2024
@renovate renovate bot reopened this Aug 16, 2024
@renovate renovate bot restored the renovate/slack-web-api-7.x branch August 16, 2024 02:19
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch from 636a686 to 40ce294 Compare September 5, 2024 22:49
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch from 40ce294 to e2060e4 Compare September 17, 2024 21:14
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch from e2060e4 to ea87b54 Compare October 8, 2024 16:42
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch from ea87b54 to fba93bc Compare October 23, 2024 16:43
@renovate renovate bot force-pushed the renovate/slack-web-api-7.x branch from fba93bc to f4ffc05 Compare December 6, 2024 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants