- 241 Drop Node 4 and 5; add Node 10, 11
- 243 Add build step and TS support. Pretender now exports both iife and es module.
- 235 Switch back to offical whatwg-fetch
- 234 Enable Abortable fetch
- 255 iife is 100% backwards compatible
- 254 Type changes, Allow RequestHandler async param be number, this.passthrough
- cleanup readme and package.json
- 230 Support
fetch
- 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
- 188 Console warn if a second pretender instance is started
- 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
- #163 Update the dependency on route-recognizer
- #150 Update the dependency on FakeXMLHttpRequest
- No changes. Just making the API stable.
- #148 Support
ArrayBuffer
responses.
- #134
prepareBody
now receives the headers as a second argument, in case you want to handle something likeContent-Type