Releases: slackapi/node-slack-sdk
@slack/[email protected]
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
- socket-mode(build): use a minimum version of [email protected] - Thanks @filmaj and @zimeg! #1878
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]
@slack/[email protected]
What's Changed
Herein is a patch to allow a typed token
attribute in a few API methods that accept it - apps.uninstall
, admin.apps.uninstall
, and admin.apps.clearResolution
. Experiment using the snippet below and caution if you're using an app in production:
client.apps.uninstall({
+ token: 'xoxb-example',
client_id: 'example',
client_secret: '123',
});
Changes
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]
@slack/[email protected]+cli.2.29.0
The first major release with a stable API of cli-test
is now live!
The API has changed significantly since the 0.x versions. Function signatures for CLI binding methods now follow a familiar single-object-as-function-parameter pattern. Individual CLI commands have their global and command-specific flags exhaustively typed as properties on the parameter object.
@slack/[email protected]
@slack/[email protected]
What's Changed
This release removes requirements for the SLACK_CLI_XOXB
and SLACK_CLI_XAPP
environment variables from the start
hook 🪓
This check was previously in place to ensure startup succeeds for apps using Socket Mode, but it's a bit too strict for apps connecting with HTTP instead - these apps require a signing secret instead of an app token - so it was removed!
Changes
- cli-hooks(fix): remove environment variable requirements from the start hook #1835
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]
@slack/[email protected]+cli.2.27.1
@slack/[email protected]
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)
@slack/[email protected]
What's New
We've added two new APIs:
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)
@slack/[email protected]
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)
@slack/[email protected]
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
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! ❤️