Skip to content

Latest commit

 

History

History
288 lines (149 loc) · 13.7 KB

CHANGELOG.md

File metadata and controls

288 lines (149 loc) · 13.7 KB

openapi-fetch

0.9.2

Patch Changes

  • #1550 a5a9cc7 Thanks @shirish87! - Fix 'Content-Type' header being removed from requests with multipart/form-data body

0.9.1

Patch Changes

0.9.0

Minor Changes

  • #1521 b174dd6 Thanks @drwpow! - Add middleware support

  • #1521 fc3a468 Thanks @drwpow! - ⚠️ Breaking change (internal): fetch() is now called with new Request() to support middleware (which may affect test mocking)

  • #1521 2551e4b Thanks @drwpow! - ⚠️ Breaking change: Responses are no longer automatically .clone()’d in certain instances. Be sure to .clone() yourself if you need to access the raw body!

  • #1534 2bbeb92 Thanks @drwpow! - ⚠️ Breaking change: no longer supports deeply-nested objects/arrays for query & path serialization.

Patch Changes

0.8.2

Patch Changes

  • #1424 8f5adb3 Thanks @drwpow! - Separate TS types to be managed manually

  • Updated dependencies [5be2082]:

    • openapi-typescript-helpers@0.0.5

0.8.1

Patch Changes

  • #1404 93204e4 Thanks @drwpow! - Fix behavior for empty arrays and objects in default querySerializer

0.8.0

Minor Changes

0.7.10

Patch Changes

0.7.9

Patch Changes

  • #1366 04dbd6d Thanks @drwpow! - Fix empty object being required param

  • Updated dependencies [04dbd6d]:

    • openapi-typescript-helpers@0.0.4

0.7.8

Patch Changes

0.7.7

Patch Changes

  • Updated dependencies [996e51e]:
    • openapi-typescript-helpers@0.0.3

0.7.6

Patch Changes

0.7.5

Patch Changes

  • Updated dependencies [e63a345]:
    • openapi-typescript-helpers@0.0.2

0.7.4

Patch Changes

0.7.3

Patch Changes

0.7.2

Patch Changes

0.7.1

Patch Changes

0.7.0

Minor Changes

  • #1243 541abf4 Thanks @drwpow! - ⚠️ Breaking: rename all methods to UPPERCASE (GET(), POST(), etc.)

0.6.2

Patch Changes

0.6.1

Patch Changes

0.6.0

Minor Changes

  • 0380e9a Thanks @drwpow! - Add multipart/form-data request body support

  • 0380e9a Thanks @drwpow! - Breaking: openapi-fetch now just takes the first media type it finds rather than preferring JSON. This is because in the case of multipart/form-data vs application/json, it’s not inherently clear which you’d want. Or if there were multiple JSON-like media types.

0.5.0

Minor Changes

Patch Changes

0.4.0

Minor Changes

0.3.0

Minor Changes

Patch Changes

0.2.1

Patch Changes

0.2.0

Minor Changes

  • 97c8757: Add custom fetch option (#51). Thanks, @hd-o!

0.1.4

Patch Changes

  • 63ebe48: Fix request body type when optional (#48)

0.1.3

Patch Changes

  • 8c01480: Fix querySerializer signature

0.1.2

Patch Changes

  • e730cd8: Fix post() and options() types

0.1.1

Patch Changes

  • 5d1fb7d: Fix bad HTTP method lookup causing polymorphsim

0.1.0

Minor Changes

  • f878cd3: Add querySerializer

Patch Changes

  • 22197a1: Add missing type defs for minified build
  • ff3174a: Fix type inference bugs
  • 4ce3828: Skip parsing JSON for empty responses (#23)
  • ff3ae1b: Skip parsing JSON for 204 responses (#28)

0.0.8

Patch Changes

  • 8e7cb46: Fix TypeScript lib error, simplify generated types

0.0.7

Patch Changes

  • fce1546: Support "application/json;charset=utf-8" content types (#15). Thanks, @shinzui!
  • 0899e0e: Add minified build (#18)

0.0.6

Patch Changes

  • 27c149c: Fix data, error sometimes returning undefined

0.0.5

Patch Changes

  • c818e65: Export BaseParams shared type (#8)

0.0.4

Patch Changes

  • ce99563: Fix optional requestBody in path

0.0.3

Patch Changes

0.0.2

Patch Changes

  • 5a47464: Fix module entry

0.0.1

Patch Changes

  • 55d7013: Encode path params