Skip to content

Deprecate the AbortController related exports - #6517

Open
remcohaszing wants to merge 6 commits into
mainfrom
deprecate-abortcontroller-exports
Open

Deprecate the AbortController related exports#6517
remcohaszing wants to merge 6 commits into
mainfrom
deprecate-abortcontroller-exports

Conversation

@remcohaszing

Copy link
Copy Markdown
Member

Users can use the global AbortController and AbortSignal. createAbortError is akin to the builtin AbortSignal.reason.

The delay function was rewritten to not use this anymore.

Because these exports are part of the public interface, they are deprecated, not removed.

Users can use the global `AbortController` and `AbortSignal`.
`createAbortError` is akin to the builtin `AbortSignal.reason`.

The `delay` function was rewritten to not use this anymore.

Because these exports are part of the public interface, they are
deprecated, not removed.
This file tests a browser API, not our code.
@changeset-bot

changeset-bot Bot commented Sep 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a4823a2

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

This PR includes changesets to release 2 packages
Name Type
@uppy/core Patch
uppy Patch

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

@qxprakash

Copy link
Copy Markdown
Collaborator

shouldn't we add changeset here @remcohaszing ? also tests are failing

@remcohaszing remcohaszing changed the title Remove the AbortController related exports Deprecate the AbortController related exports Sep 3, 2026
@remcohaszing

Copy link
Copy Markdown
Member Author

Good catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants