Skip to content

Releases: Finch-API/finch-api-node

v4.2.1

26 Aug 18:54
Compare
Choose a tag to compare

4.2.1 (2023-08-26)

Refactors

  • remove unnecessary line in constructor (#134) (39f814f)

Chores

v4.2.0

24 Aug 21:57
Compare
Choose a tag to compare

4.2.0 (2023-08-24)

Features

Bug Fixes

  • core: fix navigator check for strange environments (#129) (74edc8d)

Chores

  • internal: add missing eslint-plugin-prettier (#128) (1000bd6)
  • internal: export HeadersInit type shim (#132) (60b23ca)
  • internal: minor reformatting of code (#126) (ee3c2fc)

v4.1.0

17 Aug 14:20
Compare
Choose a tag to compare

4.1.0 (2023-08-17)

Features

  • client: improve compatibility with Bun (#124) (6a9c632)
  • docs: add documentation to the client constructor (#123) (747855e)

Bug Fixes

  • client: fix TypeError when a request gets retried (#121) (25de6e2)

v4.0.0

16 Aug 10:45
Compare
Choose a tag to compare

4.0.0 (2023-08-16)

⚠ BREAKING CHANGES

  • client: support accessing raw response + remove deprecated features (#114)

Features

  • allow a default timeout to be set for clients (#117) (5264bb7)
  • client: detect browser usage (#106) (0a322ae)
  • client: support accessing raw response + remove deprecated features (#114) (31c306b)
  • streaming: add .toReadableStream() method (#109) (7715977)

Documentation

  • api: improve custom method arguments (#108) (f9bc372)
  • readme: minor updates (#115) (575b46c)
  • readme: remove beta status + document versioning policy (#105) (bc2c0c0)

Chores

v3.1.3

01 Aug 11:58
Compare
Choose a tag to compare

3.1.3 (2023-08-01)

Bug Fixes

  • client: handle undefined process in more places (#96) (3fa25a2)
  • fix undefined message in errors (#94) (b4f1e34)

Chores

  • internal: allow the build script to be run without yarn installed (#99) (f8ce4ec)
  • internal: minor refactoring of client instantiation (#97) (c9658e3)
  • internal: remove duplicate assignment (#91) (578c305)

Refactors

  • create build for deno.land (#100) (02af2ec)
  • use destructuring arguments in client constructor and respect false values (#98) (5eba1d1)

v3.1.2

22 Jul 01:37
Compare
Choose a tag to compare

3.1.2 (2023-07-22)

Chores

v3.1.1

17 Jul 16:48
Compare
Choose a tag to compare

3.1.1 (2023-07-17)

Bug Fixes

  • fix errors with "named" client export in CJS (#80) (9ed2ab5)

Chores

  • internal: add helper function for b64 (#78) (1777d0f)
  • internal: let toFile helper accept promises to objects with name/type properties (#79) (cc800bb)
  • internal: remove unused streaming implementation (#76) (d4ab2eb)

v3.1.0

12 Jul 11:39
Compare
Choose a tag to compare

3.1.0 (2023-07-12)

Features

  • client: add support for passing a signal request option (#73) (268e403)
  • client: improve timeout handling to reuse agent (#66) (93f1971)
  • client: support passing a custom fetch function (#69) (7afb2cf)

Bug Fixes

  • client: properly handle multi-byte characters in Content-Length (#70) (0f3992a)
  • fix errors in package source files when users go to definition in VSCode (#65) (5df4494)
  • include README.md, LICENSE and CHANGELOG.md in published package (#62) (349b3f4)
  • support PromiseLike input to toFile (#64) (8f3c827)

Chores

  • internal: fix release please version config (#59) (dc04d72)

Refactors

  • improve streaming implementation (#63) (45fd9b8)

Documentation

v3.0.0

07 Jul 14:43
Compare
Choose a tag to compare

3.0.0 (2023-07-07)

⚠ BREAKING CHANGES

  • import issue with ESM (#53)

Features

  • client: add support for defaultQuery option (#51) (3c66c1a)

Bug Fixes

Styles

Refactors

  • mark .responseHeaders and .response as deprecated (#56) (30b93bc)
  • move to src directory, improve ecosystem compatibility (#49) (492a91a)

Chores

  • internal: fix tsc usage (#55) (c74b4b0)
  • set noEmit: true in tsconfig.json, since it's for typechecking only (#57) (430a6fc)

Documentation

  • api.md: fix links not referencing src directory (#52) (a243a2e)
  • api.md: minor restructuring (#47) (cde08a6)
  • client: improve documentation for client options (#54) (0e6387b)
  • readme: fix typescript usage example response types (#58) (365edfd)

v2.0.0

29 Jun 12:17
Compare
Choose a tag to compare

2.0.0 (2023-06-29)

⚠ BREAKING CHANGES

  • types: singularize array item types (#39)
  • drop official support for EOL Node versions (Node 12, 13, 14, 15) (#30)

Features

  • support ESM and web platform runtimes; easier file uploads (#41) (a9de794)
  • types: export nested types through the root client export (#38) (a524a6d)

Bug Fixes

  • form-data: strip out undefined properties (#36) (3263e7a)
  • internal: improve stream cancellation handling of abort controllers (#29) (a429beb)

Build System

  • add .github folder to .npmignore (#31) (e354911)

Refactors

  • move error type definitions to error.ts (#28) (b102084)
  • types: singularize array item types (#39) (b1e6ca9)

Styles

  • minor reordering of types and properties (#42) (733d237)

Chores

  • internal: improve SSE decoding of lines (#26) (a5c427e)
  • speed up build script slightly (#43) (d407434)

Documentation

  • drop official support for EOL Node versions (Node 12, 13, 14, 15) (#30) (9ddd198)
  • readme: add note about updating the default version header (#40) (1ca9421)
  • readme: fix main example snippet (#35) (4e84f2a)
  • readme: update main example (#33) (d38a664)
  • rearrange sections in api.md (#44) (da103bc)