Skip to content

chore: deprecate Axios.CancelToken#918

Merged
susnux merged 1 commit intomainfrom
chore/deprecate-token
Apr 15, 2026
Merged

chore: deprecate Axios.CancelToken#918
susnux merged 1 commit intomainfrom
chore/deprecate-token

Conversation

@susnux
Copy link
Copy Markdown
Contributor

@susnux susnux commented Apr 15, 2026

The cancel token was deprecated by Axios since v0.22. It was based on a withdrawn approach and nowadays you should use the AbortController API (e.g. the signal attribute on the Request config).

The cancel token was deprecated by Axios since v0.22.
It was based on a withdrawn approach and nowadays you should
use the AbortController API (e.g. the `signal` attribute on the Request
config).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.80%. Comparing base (9d653a5) to head (ac24734).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #918   +/-   ##
=======================================
  Coverage   91.80%   91.80%           
=======================================
  Files           5        5           
  Lines          61       61           
  Branches       19       19           
=======================================
  Hits           56       56           
  Misses          5        5           

☔ 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.

@susnux susnux merged commit fe19736 into main Apr 15, 2026
9 checks passed
@susnux susnux deleted the chore/deprecate-token branch April 15, 2026 16:16
@susnux susnux mentioned this pull request Apr 16, 2026
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.

3 participants