Ir al contenido
verdict:

Axios 1.19.0

notable

note: la síntesis y las notas de la versión están en inglés

ok: actualización segura

0 breaking changes5 puntos clave

Raises the form-data floor to ^4.0.6 to fix a CRLF injection advisory, plus new features and bug fixes.

síntesis · solo a partir de las notas de la versión · claude-haiku-5-5 · prompt v7

puntos clave

release-notesgithub.com/axios/axios · 59 líneas
  1. ## v1.19.0 - July 22, 2026
  2. This release raises the form-data security floor, adds configuration and type-system capabilities, and fixes NO_PROXY matching, interceptor errors, progress reporting, and serialization edge cases.
  3. ## 🔒 Security Fixes
  4. - Multipart Form Data: Raised the form-data dependency floor to ^4.0.6, preventing fresh installations from resolving versions affected by the CRLF injection vulnerability GHSA-hmw2-7cc7-3qxx (https://github.com/advisories/GHSA-hmw2-7cc7-3qxx). (#11028)
  5. ## 🚀 New Features
  6. - Configuration Extensibility: Preserved own-enumerable symbol-keyed fields through mergeConfig and added a generic params type across public TypeScript declarations, responses, errors,
  7. adapters, and serializers. (#11043, #11081)
  8. - Header Parameter Parsing: Added the opt-in AxiosHeaders.parseParameters() parser for quote-aware, RFC-style HTTP parameter parsing while preserving legacy parsing behavior. (#11051)
  9. - HTTP Status Codes: Added the missing Cloudflare 520 WebServerReturnsAnUnknownError status and matching ESM/CJS declarations. (#11067)
  10. ## 🐛 Bug Fixes
  11. - Form Data Conversion: Limited formDataToJSON path splitting to dot and bracket notation, preserving literal punctuation in keys, and removed browser-facing Buffer.from usage from toFormData to avoid unnecessary polyfills. (#11006, #11018)
  12. - Proxy Bypass: Canonicalized IPv4 shorthand, octal, and hexadecimal forms during NO_PROXY matching and honored * entries within comma- or space-separated bypass lists. (#11029, #11053)
  13. - Cancellation: Propagated already-aborted input signals immediately when composing abort signals. (#11035)
  14. - Header Handling: Preserved empty first values for duplicate singleton headers and made AxiosHeaders#getSetCookie() consistently return arrays for present values. (#11036, #11037)
  15. - URL Handling: Included normalized, safely redacted offending URLs in malformed-protocol errors and removed repeated trailing slashes when combining base URLs. (#11024, #11038)
  16. - Progress Events: Clamped malformed negative progress values to zero and ensured final Node.js download progress events are delivered before streamed responses close. (#11039, #11040)
  17. - Error and JSON Serialization: Serialized Set values as arrays in JSON-compatible snapshots and synthesized useful AxiosError messages from otherwise-empty AggregateError instances. (#11044, #11059)
  18. - Content-Length Enforcement: Corrected base64 data: URL size estimation so maxContentLength is enforced consistently by the HTTP and Fetch adapters. (#11061)
  19. - Synchronous Interceptors: Prevented requests from being dispatched after synchronous request interceptors fail unless their paired rejection handler resolves successfully. (#11071)
  20. ## 🔧 Maintenance & Chores
  21. - Dependencies: Updated development and test tooling, the docs fixture's Axios version, and GitHub Actions integrations including Checkout, Setup Node, Setup Deno, and Zizmor. (#11031, #11055, #11056, #11058, #11079, #11080, #11088, #11089, #11090)
  22. - Build Outputs: Limited sourcemap generation to published minified bundles, removing broken map references from non-minified builds. (#11054)
  23. - Form Data Internals: Centralized FormData header handling and made the Node.js adapter tolerate getHeaders() returning undefined under the content-only policy. (#11062)
  24. - Developer Experience: Ignored common local AI-tooling directories and fixed a constant-reassignment crash when the development sandbox serves its root path. (#11032, #11073)
  25. - Documentation: Updated sponsor information, clarified that baseURL is not a path-security boundary, scoped provenance claims to attested releases, and corrected the configuration-defaults documentation. (#11041, #11068, #11076, #11078)
  26. - Publishing: Simplified v1 publishing to use the npm version bundled with Node.js 26 and updated package metadata for the 1.19.0 release. (#11083, #11095)
  27. ## 🌟 New Contributors
  28. We are thrilled to welcome our new contributors. Thank you for helping improve Axios:
  29. - @afonsojramos (#11028)
  30. - @MahinAnowar (#11006)
  31. - @yassertawfik4 (#11024)
  32. - @AnandSundar (#11029)
  33. - @lin-hongkuan (#11035)
  34. - @Wali007-lab (#11054)
  35. - @magicdawn (#11043)
  36. - @andrewkernel (#11053)
  37. - @Sagargupta16 (#11059)
  38. - @Rpaudel379 (#11078)
  39. - @kobihikri (#11076)
  40. - @spokodev (#11061)
  41. - @shaedrich (#11081)
  42. - @QodeXcli (#11062)
  43. - @akahoshi1421 (#11067)
  44. - @TheHonoredOne914 (#11071)
  45. - @Ahsan1Murtaza (#11073)
  46. Full Changelog (https://github.com/axios/axios/compare/v1.18.1...v1.19.0)

ver en githubimported 2026-09-28 vía npm