Skip to content

0.11.0

Latest
Compare
Choose a tag to compare
@ricellis ricellis released this 08 Nov 10:04
· 14 commits to main since this release
v0.11.0
4c02580

Note: APIs may be subject to change.

Breaking changes:

  • For *AsStream APIs the JSON response bodies on errors are now automatically converted to objects. This change does not impact successful responses (resolve) cases where the type of the result property remains a Readable stream. For error (reject) cases the type of result changes from a Readable to an Object containing the JSON response. This avoids the need for callers to detect and deserialize the error result content and aligns the errors from *AsStream calls with other errors in the SDK. It also allows an error from an *AsStream response to produce a useful message and benefit from the other error message improvements in this release. Other properties on an error in a *AsStream rejectremain unchanged.

Changes:

  • Added new allow fallback option to find query options models.
  • Improved error message output and added trace ID to error responses.
  • Updated dependencies.
  • Updated documentation.