Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

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

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

Release notes

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

@​slack/web-api@​7.9.1

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 🐛

Maintenance 🧰

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

@​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 🧰

... (truncated)

Commits
  • ee8ada3 chore(web-api): release @​slack/web-api@​7.9.1 (#2206)
  • e8e7b27 chore(deps-dev): bump typescript from 5.7.3 to 5.8.2 in /packages/oauth (#2162)
  • dfe6c0e chore(deps-dev): bump sinon from 19.0.5 to 20.0.0 in /packages/oauth in the d...
  • 5fe0b80 chore(deps-dev): bump sinon from 19.0.5 to 20.0.0 in /packages/socket-mode in...
  • eccb157 chore(deps-dev): bump sinon from 19.0.5 to 20.0.0 in /packages/web-api in the...
  • 0a754a3 chore(deps-dev): bump sinon from 19.0.5 to 20.0.0 in /packages/cli-hooks in t...
  • e35d1c3 chore(deps-dev): bump sinon from 19.0.5 to 20.0.0 in /packages/cli-test in th...
  • 6d68397 test(oauth): increase timeouts for file state store checks with multiple entr...
  • 1d58f47 chore(deps-dev): bump sinon from 19.0.5 to 20.0.0 in /packages/logger in the ...
  • 0903f5f fix(web-api): complete file upload v2 calls if absolute urls are not allowed ...
  • 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.1.
- [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.1)

---
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 added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 26, 2025
Copy link

codecov bot commented Mar 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.85%. Comparing base (2860953) to head (11c5008).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #419   +/-   ##
=======================================
  Coverage   99.85%   99.85%           
=======================================
  Files           7        7           
  Lines         702      702           
=======================================
  Hits          701      701           
  Misses          1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@WilliamBergamin
Copy link
Contributor

@dependabot squash and merge

@dependabot dependabot bot merged commit 035c421 into main Mar 26, 2025
6 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/slack/web-api-7.9.1 branch March 26, 2025 20:00
@zimeg zimeg added this to the 2.0.1 milestone Mar 26, 2025
@zimeg zimeg modified the milestones: 2.0.1, 2.1 May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants