Skip to content

feat(web-api): add support for AbortSignal#2601

Open
LinusU wants to merge 1 commit into
slackapi:v8from
LinusU:lu-v8-abort-signal
Open

feat(web-api): add support for AbortSignal#2601
LinusU wants to merge 1 commit into
slackapi:v8from
LinusU:lu-v8-abort-signal

Conversation

@LinusU
Copy link
Copy Markdown

@LinusU LinusU commented May 19, 2026

Summary

This adds support for aborting in-flight requests, using the standardized AbortSignal

Fixes #1761

This is the same as #2403, but for v8.x. I believe that both should be merged.

I've designed this as an additional parameter instead of mixing it with the body of the specific endpoint. I believe that this is a sounder approach as there will never be any conflicts, and it also avoids the current problem of token also being present in the request body as well as in the header when specified this way.

Requirements

ping @zimeg who reviewed the v7 PR, and @WilliamBergamin who made the fetch switch, would love your 👀 on this 🙏

@LinusU LinusU requested a review from a team as a code owner May 19, 2026 10:19
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 19, 2026

🦋 Changeset detected

Latest commit: c5be203

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@slack/web-api Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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