Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 2.58 KB

CHANGELOG.md

File metadata and controls

53 lines (38 loc) · 2.58 KB

Pretender Changelog

2.1.1

  • cleanup readme and package.json

2.1

  • 230 Support fetch

2.0

  • Breaking change: updated fake-xml-http-request to 2.0 (dropping support for end-of-life node versions)
  • Improved webpack compatiblity through using module defaults 216
  • Added TypeScript type information 223

1.4.1

  • 188 Console warn if a second pretender instance is started

1.4.0

  • 178 Warn if a second pretender instance is started
  • 181 Remove test support for node 0.12
  • 171 Fix url behavior in IE 11
  • 177 Allow handlers to return a Promise

1.3.0

  • 168 "Verb" methods now return handler
  • 166 HTTP options request type added

1.2.0

  • #163 Update the dependency on route-recognizer

1.1

  • #150 Update the dependency on FakeXMLHttpRequest

1.0

  • No changes. Just making the API stable.

0.13.0

  • #148 Support ArrayBuffer responses.

0.12.0

  • #134 prepareBody now receives the headers as a second argument, in case you want to handle something like Content-Type

0.11.0

  • #137 Bump FakeXMLHttpRequest version to 1.3.0 to fix "event is undefined" bug
  • #130 Fix readystatechange
  • #127 Fix repository URL in package.json
  • #120 Moves comment to a more appropriate location
  • #119 Fire progress event on xhr.upload in passthrough

0.10.1

  • #118 bump FakeXMLHttpRequest dependency to ~1.2.1
  • #117 ensure xhr callbacks added with addEventListener fire on "passthrough"-ed requests