Skip to content

Releases: mnorlin/typed-api-fetch

v0.8.0

03 Sep 18:24
34f01d2
Compare
Choose a tag to compare

0.8.0 (2023-09-03)

Features

  • preserve form data objects in request body (8e4f287)

v0.7.0

21 Jul 08:21
ccdecd8
Compare
Choose a tag to compare

0.7.0 (2023-07-21)

Features

  • allow plain text as request body (6b17fbb)

v0.6.2

20 Jul 16:02
7ddc040
Compare
Choose a tag to compare

0.6.2 (2023-07-20)

Bug Fixes

  • pass original fetch response to consumer (da78b7b)

v0.6.1

20 Jul 10:57
1f73694
Compare
Choose a tag to compare

0.6.1 (2023-07-20)

Bug Fixes

  • make defaultInit take function as header property (a12d3ee)

v0.6.0

20 Jul 09:09
08235d4
Compare
Choose a tag to compare

0.6.0 (2023-07-20)

⚠ BREAKING CHANGES

  • make createFetch a default export
  • rename and update fetch factory function

Features

  • default headers can be a function (af8b6bc)
  • make createFetch a default export (e7023fd)
  • rename and update fetch factory function (412e9cf)
  • revert - make response object immutable (92a1489)

v0.5.0

08 May 09:39
0a2cced
Compare
Choose a tag to compare

0.5.0 (2023-05-08)

⚠ BREAKING CHANGES

  • add path parameter serialization option

Features

  • add path parameter serialization option (be536cb)

v0.4.0

23 Apr 19:09
3591494
Compare
Choose a tag to compare

0.4.0 (2023-04-23)

Features

  • add parameter serialization option to factory method (39e8def)
  • resolve array in query parameters (b8defbf)

Bug Fixes

  • Do not expect body on 302 responses (f1c265f)
  • support patch requests (1c24c56)

Reverts

  • Do not expect body on 302 responses (1102151)

v0.3.2

29 Mar 17:42
93d1c86
Compare
Choose a tag to compare

0.3.2 (2023-03-29)

Miscellaneous Chores

v0.3.1

28 Mar 19:53
6d3d5d9
Compare
Choose a tag to compare

0.3.1 (2023-03-28)

Bug Fixes

  • expose more utility types (0c88eee)
  • infer query parameters more reliable (eaaaa2c)
  • Prevent error on HTTP 204 responses (361c03b)
  • typo in ResponseBodySuccess (8ebf770)

v0.3.0

19 Mar 08:56
b0f38ae
Compare
Choose a tag to compare

0.3.0 (2023-03-19)

Features

  • fetch function now returns the browser native Response object (9a98c4b)