mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
1.1 KiB
1.1 KiB
Pre-Release Changelog
Unreleased
Security Fixes
- HTTP Adapter Redirects: Added a Node.js
sensitiveHeadersrequest config option that strips caller-selected custom secret headers from cross-origin redirects. (#10892)
Bug Fixes
- URL Validation: Reject malformed
http:andhttps:URLs that omit//before adapter URL normalization, returningERR_INVALID_URLinstead of silently normalizing invalid input. (#10900, closes #7315) - Types: Add the missing readonly
name: 'CanceledError'declaration to CommonJSCanceledErrortypings to match the ESM declarations. (#10922) - Config Merge: Added
transitional.validateStatusUndefinedResolves(defaulttrue) so applications can opt into treating explicitvalidateStatus: undefinedlike an omitted option by setting it tofalse.validateStatus: nullstill accepts every response status. (#10899, closes #6688)
Release Tracking
- ESM/CJS typings are updated for
transitional.validateStatusUndefinedResolves; README/docs updates are tracked inPRE_RELEASE_DOCS.mdfor release preparation.