Skip to content

v2.27.0

Compare
Choose a tag to compare
@birdofpreyru birdofpreyru released this 12 Jun 21:38
· 69 commits to master since this release

Breaking Changes

  • [#48] uploadFiles() is patched / updated for all platforms to ensure:

    • Uniform handling of HTTP errors — in case of HTTP response having 4xx or 5xx status code the upload promise is rejected with a proper Error instance, with its message set to the human-readable error HTTP error reason (according to http-status-codes), and UploadResultT object attached to the .result field of that error.
    • Ensures statusCode value in UploadResultT is a number on all platforms (it was already promised so by TypeScript definitions, but it turned out it was string during runtime on Windows).

    Thanks to @Crare for help with troubleshooting this, and PR #49!

Other Updates

  • Update of dependencies.