window.fetch polyfill v1.1.0 Release Notes

Release Date: 2016-11-14 // over 7 years ago
  • Spec compatibility:

    • 1st argument to Request constructor must be string or Request
    • Always construct a new Request instance in fetch()
    • Always construct a new Headers instance in Response
    • Avoid consuming body when cloning
    • โž• Add support for TypedArray/DataView as POST body
    • ArrayBuffer, TypedArray, and Dataview bodies can now be accessed through any of the arrayBuffer(), text(), or blob() methods
    • 0๏ธโƒฃ Default Response status is 200 OK

    ๐Ÿ›  Other fixes:

    • ๐Ÿ‘‰ Make X-Request-URL header case-insensitive
    • ๐Ÿ‘ Allow reusing the same GET Request instance multiple times
    • ๐Ÿ“œ Rework parsing of raw response HTTP headers
    • Attach FileReader event handlers before calling its read* method