Change8

v1.12.0

📦 axiosView on GitHub →
4 features🐛 8 fixes🔧 8 symbols

Summary

This release adds low‑level network error details, fetch adapter env config, parse reviver support, and extends AxiosResponse, while fixing several bugs including content‑type handling and URL encoding.

✨ New Features

  • Adapter now surfaces low‑level network error details and attaches the original error via the `cause` property.
  • Fetch adapter adds `fetch`, `Request`, and `Response` environment configuration variables.
  • Support for a reviver function in `parse`.
  • AxiosResponse interface extended to include a generic custom headers type.

🐛 Bug Fixes

  • Added build artifacts to the release.
  • Prevented adding `dist` directory on release.
  • Fetch adapter now sets correct `Content-Type` for Node FormData.
  • Node adapter now enforces `maxContentLength` for data: URLs.
  • Implemented package exports for proper module resolution.
  • Params encoding now removes '[' and ']' from URL encode exclude characters.
  • Release PR run script fixed.
  • Changed the type guard on `isCancel`.

🔧 Affected Symbols

isCancelAxiosResponsefetchAdapternodeAdapterparams encodingadapter error handlingfetch adapter env configparse reviver