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.
There are two big (potentially) breaking changes library users should be aware of:
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.
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)
A lot! While this is only a release candidate as we finalize the next major version of web-api, v7, you can give it a go while we put the final touches on it.
We have also prepared a migration guide for those worried about what has changed and how to migrate from v6.
This version was pushed to npm by e-zim, a new releaser for @slack/web-api since your current version.
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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)
Bumps @slack/web-api from 6.11.0 to 7.0.2.
Release notes
Sourced from
@slack/web-api
's releases.... (truncated)
Commits
7f6c669
web-api(chore): release@slack/web-api
@7
.0.2 (#1746)aa00627
web-api(fix): share tokens provided as arguments in files upload to upload jo...738784b
web-api(fix): include file or contents types in file_uploads arguments (#1744)664db4e
web-api: prevent apps.event.authorizations.list API from ever sending token i...f3dff4d
Introduce a@slack/cli-hooks
package that implements Slack CLI hooks (#1714)46b500d
socket-mode: fix bug whenapps.connections.open
returns an error and won't ...a6f2b28
socket-mode: prep for major release,start
now completes only once `Connect...e23dfd3
Publish@slack/web-api@7.0.1
(#1731)99b939a
lint: enforce max line length / max items per line / one item per line for im...d5c17d8
web-api: re-export method argument types (#1729)Maintainer changes
This version was pushed to npm by e-zim, a new releaser for
@slack/web-api
since your current version.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 show