NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3364 most downloaded on npm
Axios plugin that intercepts failed requests and retries them whenever posible.
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 1 weeks to 4 months
Nearly every release is documented
notes for 44 of 48 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
48 releases · first in 2016
- added linearDelay function
fix: last request time not updated correctly
- fix: clear abort listener
One column per quarter.
- honor client abort signal
added validateResponse callback to retry on custom conditions
validateResponse callback to retry on custom conditionsretry on 429 and handle retry-after header
- added onMaxRetryTimesExceeded
Implementation migrated to Typescript
const axiosRetry = require('axios-retry').defaultRevert: Export of type definitions, depending on whether it is ES Module or CommonJS
Export of type definitions, depending on whether it is ES Module or CommonJS
Expose axios-retry options in error object
onRetry support for async function
Don't retry cancelled requests by default
Changed type definitions to support both CommonJS and ESM
introduced IAxiosRetryReturn in type definition
- allow to eject interceptors
fix exponentialDelay type definition
exponentialDelay now supports delayFactor as a param
Update package-lock to version 2
- Security updates
- Added onRetry callback option
onRetry callback optionAdd types export to package.json
handle retryCondition false return value
fix: add package.json to exports
fix: removed breaking requirements introduced in 3.2.1
fix: added missing @babel/runtime runtime dep
made the package hybrid (ES modules and CommonJS)
Retry condition accepts a function that returns a Promise resolving to a boolean
TS: extended AxiosRequestConfig with optional "axios-retry" property
TS: export types for all functions
Fixed default export to resolve TS2309
Fixed export of IAxiosRetryConfig
IAxiosRetryConfig### Fixed - Fixed TS definitions
Added note in README related to compatibility issue with axios 0.19.0
axios 0.19.0TravisCI build status badge in README
index.d.ts with missing functionsDo not run requestTransform again after retry
requestTransform again after retryaxiosRetryExport isRetryableError for CommonJS
isRetryableError for CommonJSshouldResetTimeoutNow isRetryableError method is accessible.
isRetryableError method is accessible.delayStrategy option to be able to have exponential backoff for successive retries.Fixed first request time not being taken into account in timeout across retries.
Retried errors on idempotent requests (5xx with get, head, options, put and delete) by default, along with safe network errors.
retryCondition function so users can define a
custom function that overwrites them. The conditions that verify that the error is not a timeout or
an unsafe network error have been moved to isNetworkError.isSafeRequestError, isIdempotentRequestError.Removed dependency from the package.json file.
package.json file.Now the configured timeout in Axios is not for each retry request but for the whole request lifecycle.
Removed dependency from the package.json file.
package.json file.Allowed per-request configuration using the axios-retry namespace.
axios-retry namespace.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →