Update dependency @slack/web-api to v7 #520
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.12.0
->7.5.0
Release Notes
slackapi/node-slack-sdk (@slack/web-api)
v7.5.0
Compare Source
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 forconversations.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 #1874v7.3.3
Compare Source
v7.3.2
Compare Source
What's Changed
20491c8
fix (web-api): tweak type ofchat.postMessage
'sreply_broadcast
property to be wider, fixes #1859 (#1860)a055e66
fix: add deprecatedchannels
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 ofexport type *
to maintain backwards compatibility with TS 4.7 (#1841)v7.3.0
Compare Source
What's New
We've added two new APIs:
teams.externalTeams.disconnect
conversations.externalInvitePermissions.set
What's Changed
a18c1ea
feat (web-api): add support forteams.externalTeams.disconnect
API (#1837)4ef80b7
web-api: add newconversations.externalInvitePermissions.set
API (#1834)9e20ca3
web-api: updatefiles.info
,files.list
files.remote.list
andteam.externalTeams.list
response types (#1833)fc87d51
chore: tweak lint config to allow foreslint --fix
to fix import order (#1827)v7.2.0
Compare Source
What's Changed
4df9fb8
feat(web-api): add new Slack Connect APIsteam.externalTeams.list
andusers.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:
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!attachOriginalToWebAPIRequestError
tofalse
to ensure API responses are not logged. By default, this option will be set tofalse
. 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 atoken
, which was incorrect. It now requires atoken
parameter, which matches the expectations of this API method.Full Changelog
ae755dc
web-api(fix):oauth.v2.exchange
method requires atoken
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 theuploadV2
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 tofiles.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 toimport
in the 6.x versions ofweb-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:
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 usingfileUploadV2
(#1723 fixes #1644)d53ef02
@slack/web-api
argument type safety (#1673)4a8eeac
Remove warning about lack of fallback text fromchat.update
invocations (#1674)6e8a31e
Bump minimum node version to v18 (#1667)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
Configuration
📅 Schedule: Branch creation - "before 4am" (UTC), 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.
This PR was generated by Mend Renovate. View the repository job log.