Skip to content

v2.0.0

Compare
Choose a tag to compare
@stainless-bot stainless-bot released this 29 Jun 12:17

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)