All Versions
19
Latest Version
Avg Release Cycle
121 days
Latest Release
1291 days ago

Changelog History
Page 2

  • v2.0.4 Changes

    March 30, 2018

    ๐Ÿ‘Œ Support obs-fold as delimiter when parsing raw headers

    Ensure cookies aren't sent if credentials: omit

    ๐Ÿ‘ Allow status: undefined in Response

  • v2.0.3 Changes

    March 02, 2017
    • Accept Array argument in Headers constructor
  • v2.0.2 Changes

    January 19, 2017
    • Treat any non-Request arg to new Request() as string url
    • ๐Ÿ‘Œ Support Tolerance Provision when parsing HTTP headers
  • v2.0.1 Changes

    November 17, 2016

    Android 4.0 compatibility:

    • ๐Ÿ›  Fix reading ArrayBuffer into string on older browsers
    • ๐Ÿ‘ Only define arrayBuffer() if Blob is also supported
  • v2.0.0 Changes

    November 14, 2016

    ๐Ÿšš This changes the behavior of Headers regarding handling of headers with multiple values. Most notably, it removes the Headers.getAll() method. This diverges from the native implementations of Chrome and Firefox, since those vendors implement an earlier, now outdated version of the spec. The polyfill now acts more similar to Microsoft Edge implementation.

    Consider this Headers object:

    var h = new Headers()h.append('accept', 'text/html')h.append('accept', 'text/plain')h.append('content-type', 'application/json')
    

    Before:

    • h.get('accept') returned text/html
    • h.getAll('accept') returned an array of values
    • h.forEach (and other iterables) did distinct iterations for each
      value of the same header

    Now:

    • h.get('accept') returns text/html,text/plain
    • h.getAll() is no more
    • h.forEach() (and other iterables) now only do one iteration for each unique header name, regardless of whether it had multiple values

    This is in accordance with Section 3.1.2 of the spec, "combine" concept.

  • v1.1.1 Changes

    November 17, 2016

    Android 4.0 compatibility:

    • ๐Ÿ›  Fix reading ArrayBuffer into string on older browsers
    • ๐Ÿ‘ Only define arrayBuffer() if Blob is also supported
  • v1.1.0 Changes

    November 14, 2016

    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
  • v1.0.0 Changes

    April 28, 2016
    • โฑ Reject promise on request timeout
    • โž• Add support for URLSearchParams request body
    • โž• Add Headers iterable methods: keys, values, and entries
    • No longer compatible with IE9: IE10+ required
  • v0.11.1 Changes

    May 05, 2016
    • โฑ Reject promise on request timeout
    • Guard against xhr.getAllResponseHeaders() being null