Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 20, 2025

Bumps @slack/web-api from 7.8.0 to 7.9.0.

Release notes

Sourced from @​slack/web-api's releases.

@​slack/web-api@​7.9.0

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 🎉

Maintenance 🧰

Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@​slack/web-api@​7.8.0...@​slack/web-api@​7.9.0 Milestone: https://github.com/slackapi/node-slack-sdk/milestone/131

Commits
  • ba72343 chore(web-api): release @​slack/web-api@​7.9.0 (#2191)
  • f83426c chore(deps): bump @​babel/runtime-corejs3 from 7.26.9 to 7.26.10 in /docs (#2190)
  • ba1fe1e chore(deps): bump @​babel/runtime from 7.26.0 to 7.26.10 in /docs (#2189)
  • b8d69f0 chore(deps): bump @​babel/helpers from 7.26.0 to 7.26.10 in /docs (#2188)
  • 6d62c40 feat(web-api): add configs to toggle absolute url usage in dynamic api calls ...
  • e1e3df0 chore(deps-dev): bump shx from 0.3.4 to 0.4.0 in /packages/web-api (#2180)
  • ee05461 chore(deps-dev): bump typescript from 5.7.3 to 5.8.2 in /packages/cli-test (#...
  • 2e3ed9d chore(deps-dev): bump shx from 0.3.4 to 0.4.0 in /packages/types (#2184)
  • cb8269f test(socket-mode): assert a certain amount of close events happen after disco...
  • 0e0f55d chore(deps-dev): bump shx from 0.3.4 to 0.4.0 in /packages/socket-mode (#2186)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> 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](https://github.com/slackapi/node-slack-sdk) from 7.8.0 to 7.9.0.
- [Release notes](https://github.com/slackapi/node-slack-sdk/releases)
- [Commits](https://github.com/slackapi/node-slack-sdk/compare/@slack/web-api@7.8.0...@slack/web-api@7.9.0)

---
updated-dependencies:
- dependency-name: "@slack/web-api"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from MeilCli March 20, 2025 06:29
@MeilCli MeilCli merged commit 0df501e into master Mar 20, 2025
5 checks passed
@MeilCli MeilCli deleted the dependabot/npm_and_yarn/slack/web-api-7.9.0 branch March 20, 2025 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant