Skip to content

Latest commit

History

History
215 lines (143 loc) 路 9.03 KB

CHANGELOG.md

File metadata and controls

215 lines (143 loc) 路 9.03 KB

v3.4.7 (2021-08-04)

馃悰 Bug Fix

Committers: 1

v3.4.6 (2021-07-30)

馃悰 Bug Fix

Committers: 1

v3.4.5 (2021-07-27)

馃彔 Internal

Committers: 1

v3.4.4 (2021-07-27)

馃悰 Bug Fix

  • #326 Fix - Add default timeout to XMLHttpRequest (@bombillazo)
  • #320 Handle progress events for FormData request body properly (@mrijke)

馃摑 Documentation

馃彔 Internal

Committers: 5

v3.4.3 (2020-05-19)

馃摑 Documentation

  • #302 Publish pretender.bundle.js bundling dependencies (@xg-wang)

Committers: 1

v3.4.2 (2020-05-19)

馃悰 Bug Fix

  • #304 Don't attach upload handler if they do not exist on the originating request (@ryanto)

Committers: 2

v3.4.1 (2020-04-20)

馃悰 Bug Fix

馃彔 Internal

Committers: 2

v3.4.0 (2020-03-21)

馃殌 Enhancement

  • #296 Vendor whatwg-fetch using rollup+devDep (@ryanto)

馃彔 Internal

Committers: 2

v3.3.1 (2020-02-09)

馃悰 Bug Fix

Committers: 2

v3.3.0 (2020-02-07)

馃殌 Enhancement

Committers: 2

3.2.0 (2019-12-22)

馃殌 Enhancement

  • #238 Expose a way to passthrough after the request is found to be unhandled (@happycollision)

Committers: 1

3.1.0 (2019-11-28)

馃殌 Enhancement

Committers: 1

3.0.4 (2019-11-04)

馃悰 Bug Fix

Committers: 1

3.0.3 (2019-11-03)

馃悰 Bug Fix

  • #278 Add missing type definitions in index.d.ts (@ohcibi)
  • #276 fix: progress event expects byte size not time (@xg-wang)

Committers: 2

3.0.2

馃悰 Bug Fix

  • 262 Fix ResponseHandler args type
  • 264 Fix missing responseURL property
  • 265 Fix passthrough type

3.0.1

馃挜 Breaking Change

  • 241 Drop Node 4 and 5; add Node 10, 11

馃殌 Enhancement

  • 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

馃悰 Bug Fix

  • 255 iife is 100% backwards compatible
  • 254 Type changes, Allow RequestHandler async param be number, this.passthrough

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