Originally created by: dependabot[bot]
Bumps axios from 1.15.0 to 1.18.0.
Sourced from axios's releases.
v1.18.0 โ June 13, 2026
This release hardens redirect and URL handling, improves the validateStatus configuration semantics, and includes updates to documentation, dependencies, and release metadata.
๐ Security Fixes
Redirect Header Safety: Added Node HTTP adapter support for stripping caller-specified sensitive headers on cross-origin redirects, helping prevent custom auth headers such as API keys from leaking to another origin. (#10892](https://github.com/href="https://redirect.github.com/axios/axios/issues/10892">/issues/10892))
URL And Request Hardening: Rejects malformed
http:andhttps:URLs that omit//withERR_INVALID_URL, while tightening prototype-pollution-safe config reads, stream size limits, FormData depth handling, data URL sizing, and localNO_PROXYmatching. (#11000](https://github.com/href="https://redirect.github.com/axios/axios/issues/11000">/issues/11000))๐ Bug Fixes
- Status Validation: Added
transitional.validateStatusUndefinedResolvesso applications can opt in to treatingvalidateStatus: undefinedlike the option was omitted, whilevalidateStatus: nullremains the explicit way to accept every status. (#10899](https://github.com/href="https://redirect.github.com/axios/axios/issues/10899">/issues/10899))๐ง Maintenance & Chores
Documentation: Published the v1.17.0 release notes, fixed a changelog typo, clarified the package update PR policy, and marked the
proxyrequest config as Node.js-only in the advanced docs. (#10984](https://github.com/href="https://redirect.github.com/axios/axios/issues/10984">/issues/10984), #10988](https://github.com/href="https://redirect.github.com/axios/axios/issues/10988">/issues/10988), #10992](https://github.com/href="https://redirect.github.com/axios/axios/issues/10992">/issues/10992), #10995](https://github.com/href="https://redirect.github.com/axios/axios/issues/10995">/issues/10995))Dependencies: Bumped
@babel/core,@babel/preset-env,@commitlint/cli,@commitlint/config-conventional,@rollup/plugin-babel,@rollup/plugin-commonjs,@vitest/browser,@vitest/browser-playwright,eslint,lint-staged,rollup,vitest, andactions/checkout. (#10989](https://github.com/href="https://redirect.github.com/axios/axios/issues/10989">/issues/10989), #10996](https://github.com/href="https://redirect.github.com/axios/axios/issues/10996">/issues/10996), #10997](https://github.com/href="https://redirect.github.com/axios/axios/issues/10997">/issues/10997))Release Metadata: Prepared the 1.18.0 release by updating package metadata and the runtime
VERSIONvalue. (#11003](https://github.com/href="https://redirect.github.com/axios/axios/issues/11003">/issues/11003))๐ New Contributors
We are thrilled to welcome our new contributors. Thank you for helping improve axios:
@โdrori12(#10984](https://github.com/href="https://redirect.github.com/axios/axios/issues/10984">/issues/10984))@โeyupcanakman(#10899](https://github.com/href="https://redirect.github.com/axios/axios/issues/10899">/issues/10899))@โAdi-Beker(#10995](https://github.com/href="https://redirect.github.com/axios/axios/issues/10995">/issues/10995))v1.17.0 โ June 1, 2026
This release adds Node HTTP zstd decompression, hardens config and release workflows, and fixes authentication, header, proxy, and type-handling regressions.
๐ Security Fixes
- Config Hardening: Guarded
socketPath,params, andparamsSerializerreads with own-property checks to prevent inherited prototype values from affecting request behavior, including SSRF-sensitive paths. (#10901](https://github.com/href="https://redirect.github.com/axios/axios/issues/10901">/issues/10901), #10922](https://github.com/href="https://redirect.github.com/axios/axios/issues/10922">/issues/10922))- Release Publishing: Switched the publish workflow to npm staged publishing for safer, auditable package releases with provenance. (#10926](https://github.com/href="https://redirect.github.com/axios/axios/issues/10926">/issues/10926))
๐ New Features
- HTTP Compression: Added Node HTTP adapter support for zstd response decompression, with
transitional.advertiseZstdAcceptEncodingcontrolling whetherzstdis advertised inAccept-Encoding. (#6792](https://github.com/href="https://redirect.github.com/axios/axios/issues/6792">/issues/6792), #10920](https://github.com/href="https://redirect.github.com/axios/axios/issues/10920">/issues/10920))๐ Bug Fixes
- Authentication Handling: Restored Basic auth on same-origin Node redirects while continuing to strip credentials cross-origin, and aligned the fetch adapter with HTTP adapter behavior for URL-embedded Basic auth. (#10929](https://github.com/href="https://redirect.github.com/axios/axios/issues/10929">/issues/10929), #10896](https://github.com/href="https://redirect.github.com/axios/axios/issues/10896">/issues/10896))
- Proxy TLS: Preserved user
httpsAgentTLS options when tunneling HTTPS requests through HTTP CONNECT proxies. (#10957](https://github.com/href="https://redirect.github.com/axios/axios/issues/10957">/issues/10957))- React Native FormData: Cleared default
Content-Typefor React NativeFormDataso multipart boundaries can be generated correctly. (#10898](https://github.com/href="https://redirect.github.com/axios/axios/issues/10898">/issues/10898))
... (truncated)
Sourced from axios's changelog.
v1.18.0 โ June 13, 2026
This release hardens redirect and URL handling, improves the validateStatus configuration semantics, and includes updates to documentation, dependencies, and release metadata.
๐ Security Fixes
Redirect Header Safety: Added Node HTTP adapter support for stripping caller-specified sensitive headers on cross-origin redirects, helping prevent custom auth headers such as API keys from leaking to another origin. (#10892](https://github.com/href="https://redirect.github.com/axios/axios/issues/10892">/issues/10892))
URL And Request Hardening: Rejects malformed
http:andhttps:URLs that omit//withERR_INVALID_URL, while tightening prototype-pollution-safe config reads, stream size limits, FormData depth handling, data URL sizing, and localNO_PROXYmatching. (#11000](https://github.com/href="https://redirect.github.com/axios/axios/issues/11000">/issues/11000))๐ Bug Fixes
- Status Validation: Added
transitional.validateStatusUndefinedResolvesso applications can opt in to treatingvalidateStatus: undefinedlike the option was omitted, whilevalidateStatus: nullremains the explicit way to accept every status. (#10899](https://github.com/href="https://redirect.github.com/axios/axios/issues/10899">/issues/10899))๐ง Maintenance & Chores
Documentation: Published the v1.17.0 release notes, fixed a changelog typo, clarified the package update PR policy, and marked the
proxyrequest config as Node.js-only in the advanced docs. (#10984](https://github.com/href="https://redirect.github.com/axios/axios/issues/10984">/issues/10984), #10988](https://github.com/href="https://redirect.github.com/axios/axios/issues/10988">/issues/10988), #10992](https://github.com/href="https://redirect.github.com/axios/axios/issues/10992">/issues/10992), #10995](https://github.com/href="https://redirect.github.com/axios/axios/issues/10995">/issues/10995))Dependencies: Bumped
@babel/core,@babel/preset-env,@commitlint/cli,@commitlint/config-conventional,@rollup/plugin-babel,@rollup/plugin-commonjs,@vitest/browser,@vitest/browser-playwright,eslint,lint-staged,rollup,vitest, andactions/checkout. (#10989](https://github.com/href="https://redirect.github.com/axios/axios/issues/10989">/issues/10989), #10996](https://github.com/href="https://redirect.github.com/axios/axios/issues/10996">/issues/10996), #10997](https://github.com/href="https://redirect.github.com/axios/axios/issues/10997">/issues/10997))Release Metadata: Prepared the 1.18.0 release by updating package metadata and the runtime
VERSIONvalue. (#11003](https://github.com/href="https://redirect.github.com/axios/axios/issues/11003">/issues/11003))๐ New Contributors
We are thrilled to welcome our new contributors. Thank you for helping improve axios:
@โdrori12(#10984](https://github.com/href="https://redirect.github.com/axios/axios/issues/10984">/issues/10984))@โeyupcanakman(#10899](https://github.com/href="https://redirect.github.com/axios/axios/issues/10899">/issues/10899))@โAdi-Beker(#10995](https://github.com/href="https://redirect.github.com/axios/axios/issues/10995">/issues/10995))v1.17.0 โ June 1, 2026
This release adds Node HTTP zstd decompression, hardens config and release workflows, and fixes authentication, header, proxy, and type-handling regressions.
๐ Security Fixes
- Config Hardening: Guarded
socketPath,params, andparamsSerializerreads with own-property checks to prevent inherited prototype values from affecting request behavior, including SSRF-sensitive paths. (#10901](https://github.com/href="https://redirect.github.com/axios/axios/issues/10901">/issues/10901), #10922](https://github.com/href="https://redirect.github.com/axios/axios/issues/10922">/issues/10922))- Release Publishing: Switched the publish workflow to npm staged publishing for safer, auditable package releases with provenance. (#10926](https://github.com/href="https://redirect.github.com/axios/axios/issues/10926">/issues/10926))
๐ New Features
- HTTP Compression: Added Node HTTP adapter support for zstd response decompression, with
transitional.advertiseZstdAcceptEncodingcontrolling whetherzstdis advertised inAccept-Encoding. (#6792](https://github.com/href="https://redirect.github.com/axios/axios/issues/6792">/issues/6792), #10920](https://github.com/href="https://redirect.github.com/axios/axios/issues/10920">/issues/10920))๐ Bug Fixes
- Authentication Handling: Restored Basic auth on same-origin Node redirects while continuing to strip credentials cross-origin, and aligned the fetch adapter with HTTP adapter behavior for URL-embedded Basic auth. (#10929](https://github.com/href="https://redirect.github.com/axios/axios/issues/10929">/issues/10929), #10896](https://github.com/href="https://redirect.github.com/axios/axios/issues/10896">/issues/10896))
- Proxy TLS: Preserved user
httpsAgentTLS options when tunneling HTTPS requests through HTTP CONNECT proxies. (#10957](https://github.com/href="https://redirect.github.com/axios/axios/issues/10957">/issues/10957))- React Native FormData: Cleared default
Content-Typefor React NativeFormDataso multipart boundaries can be generated correctly. (#10898](https://github.com/href="https://redirect.github.com/axios/axios/issues/10898">/issues/10898))
... (truncated)
2d06f96 chore(release): prepare release 1.18.0 (#11003](https://github.com/href="https://redirect.github.com/axios/axios/issues/11003">/issues/11003))32fc489 fix: malformed http urls (#11000](https://github.com/href="https://redirect.github.com/axios/axios/issues/11000">/issues/11000))b40ce49 chore(deps-dev): bump the development_dependencies group with 10 updates (#10](https://github.com/href="https://redirect.github.com/axios/axios/issues/10">/issues/10)...fe964f9 docs: mark proxy config as Node.js only (#10995](https://github.com/href="https://redirect.github.com/axios/axios/issues/10995">/issues/10995))5f229d2 chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 in the github-actions ...fae9d4e docs: clarify package update PR policy (#10992](https://github.com/href="https://redirect.github.com/axios/axios/issues/10992">/issues/10992))28ab2ce chore(deps-dev): bump the development_dependencies group with 2 updates (#10989](https://github.com/href="https://redirect.github.com/axios/axios/issues/10989">/issues/10989))a8e4f13 fix(core): keep default validateStatus when request passes undefined (#10899](https://github.com/href="https://redirect.github.com/axios/axios/issues/10899">/issues/10899))614f455 docs: publish v1.17.0 release notes (#10988](https://github.com/href="https://redirect.github.com/axios/axios/issues/10988">/issues/10988))6bb12c1 fix: custom auth headers not stripped on cross-origin redirects (#10892](https://github.com/href="https://redirect.github.com/axios/axios/issues/10892">/issues/10892))Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Originally posted by: dependabot[bot]
Superseded by [#3539].
Related
Tickets: #3539
Ticket changed by: dependabot[bot]