⚠ BREAKING CHANGES
AxiosAdapterremoved, replaced byFetchAdapterAxiosRequestConfigtype removed, replaced byRequestConfig- New
HttpErrorexport replaces axios error format
Features
- replace axios with native fetch (57a80aa)
Drop axios dependency in favor of Node.js native fetch (available since Node 20). Production dependencies reduced from 24 packages to 1 (tslib).
Migration
| Before (v4.x) | After (v5.0.0) |
|---|---|
import { AxiosAdapter } from '...' |
import { FetchAdapter } from '...' |
AxiosRequestConfig type |
RequestConfig type |
| axios error objects | HttpError with status, statusText, data |
Downstream consumer @netresearch/node-red-contrib-magento-eqp uses only EQP class + callback types — unaffected.
Full Changelog: v4.1.0...v5.0.0