Releases: slackapi/node-slack-sdk
@slack/[email protected]
What's Changed
🧱 Enhancements
feat(types): Add assistant_thread
to message event payload type in #2077 - Thanks @seratch!
Add expand prfoperty to section block type in #2137 - Thanks @seratch!
🐛 Bug fixes
fix(types): use correct name of team_domain_change event in #2280 - Thanks @toofishes!
📚 Documentation
docs: replace redirected or missing links to sdk documentation in #2125 - Thanks @zimeg!
🤖 Dependencies
chore(deps-dev): bump @biomejs/biome to v2 for all packages in #2281 - Thanks @dependabot!
chore(deps-dev): bump tsd from 0.31.2 to 0.32.0 in /packages/types in #2235 - Thanks @dependabot!
chore(deps-dev): bump shx from 0.3.4 to 0.4.0 in /packages/types in #2184 - Thanks @dependabot!
🧰 Maintenance
ci: check for changes to lints separate from writing changes in #2117 - Thanks @zimeg!
chore(types): release @slack/[email protected] in #2295 - Thanks @zimeg!
New Contributors
- @toofishes made their first contribution in #2280 🎉
Milestone: https://github.com/slackapi/node-slack-sdk/milestone/145
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]
@slack/[email protected]
What's Changed
This release has a few small updates to align with arguments of various Slack API methods.
👾 Enhancements
🐛 Fixes
- fix: Add "title" property to conversations.canvases.create API method arguments in #2259 - Thanks @vegeris!
🧰 Maintenance
- chore(deps-dev): bump sinon from 20.0.0 to 21.0.0 in /packages/web-api in the dev-sinon group across 1 directory in #2269 - Thanks @dependabot!
- chore(web-api): release @slack/[email protected] in #2272 - Thanks @zimeg!
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]
Milestone: https://github.com/slackapi/node-slack-sdk/milestone/143
@slack/[email protected]
What's Changed
🐛 Fixes
- fix: add trailing slash to slackApiUrl if none is provided by @WilliamBergamin in #2243
📖 Docs
- docs: moves guides from wiki to docs website by @lukegalbraithrussell in #2238
🧰 Maintenance
- chore(deps-dev): bump tsd from 0.31.2 to 0.32.0 in /packages/web-api by @dependabot in #2236
- chore(deps-dev): bump typescript from 5.3.3 to 5.8.3 in /packages/web-api by @dependabot in #2222
- chore(deps-dev): bump nock from 13.5.6 to 14.0.3 in /packages/web-api by @dependabot in #2223
- chore(web-api): release @slack/[email protected] by @WilliamBergamin in #2247
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]
Milstone: https://github.com/slackapi/node-slack-sdk/milestone/141?closed=1
@slack/[email protected]
What's Changed
This release includes an update of @slack/web-api
to bump internal dependencies to supported versions.
Maintenance 🧰
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]
Milestone: https://github.com/slackapi/node-slack-sdk/milestone/133
@slack/[email protected]
What's Changed
This release includes an update of @slack/web-api
to bump internal dependencies to supported versions.
Maintenance 🧰
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]
Milestone: https://github.com/slackapi/node-slack-sdk/milestone/135
@slack/[email protected]
What's Changed
This release fixes a bug where setting allowAbsoluteUrls
to false caused the filesUploadV2
method to error when uploading files. Files can now be uploaded with allowAbsoluteUrls
set to false.
Bug fixes 🐛
- fix(web-api): complete file upload v2 calls if absolute urls are not allowed in #2196 - Thanks @zimeg!
Maintenance 🧰
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]
Milestone: https://github.com/slackapi/node-slack-sdk/milestone/142
@slack/[email protected]
What's Changed
This release includes an update of @slack/web-api
to bump internal dependencies to supported versions.
Maintenance 🧰
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]
Milestone: https://github.com/slackapi/node-slack-sdk/milestone/134
@slack/[email protected]
What's Changed
This release adds the allowAbsoluteUrls
option to the WebClient
constructor.
For code using dynamic method names with .apiCall
, this will toggle if requests should be sent to absolute URLs provided:
const { WebClient } = require('@slack/web-api');
const web = new WebClient(token, {
allowAbsoluteUrls: false, // Default: true
});
const _response = await web.apiCall('https://example.com', { /* ... */ });
$ node index.js
[DEBUG] web-api:WebClient:0 http request url: https://slack.com/api/https://example.com
...
[WARN] web-api:WebClient:0 http request failed An HTTP protocol error occurred: statusCode = 404
The default allowAbsoluteUrls
value is true
to avoid a breaking change with this update, but we suggest deciding if this option should be applied to scripts and adjacent code.
Enhancements 🎉
- feat(web-api): add configs to toggle absolute url usage in dynamic api calls in #2176 - Thanks @zimeg!
Maintenance 🧰
- fix(web-api): bump axios to 1.8.3 to address CVE-2025-27152 in #2172 - Thanks @zimeg!
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]
Milestone: https://github.com/slackapi/node-slack-sdk/milestone/131
@slack/[email protected]
What's Changed
This patch release updates the axios
dependency used to send webhooks with internal bug fixes.
- fix(webhook): bump axios to 1.8.3 to address CVE-2025-27152 by @zimeg in #2173
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]..@slack/[email protected]
Milestone: https://github.com/slackapi/node-slack-sdk/milestone/130
@slack/[email protected]
What's Changed
The slack run
command now exits with the error code returned from the start
hook and Node warnings were returned to verbose outputs:
$ slack run --verbose
...
[DEBUG] web-api:WebClient:0 initialized
...
AppInitializationError: You must provide an appToken when socketMode is set to true. To generate an appToken see: https://api.slack.com/apis/connections/socket#token
...
🚫 The 'start' hook exited with an error (sdk_hook_invocation_failed)
exit status 1 (local_app_run_error)
$ echo $?
1
🎉 Enhancements
- feat(cli-hooks): output node warnings to stderr for debugging outputs in #2152 - Thanks @zimeg!
- feat(cli-hooks): exit the start process with the subprocess exit code in #2153 - Thanks @zimeg!
🧰 Maintenance
- chore(cli-hooks): release @slack/[email protected] in #2154 - Thanks @zimeg!
Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/[email protected]...@slack/[email protected]
Milestone: https://github.com/slackapi/node-slack-sdk/milestone/101?closed=1