github elbywan/wretch 2.5.0

latest releases: 2.11.0, 2.10.0, 2.9.1...
21 months ago

2.5.0 (2023-02-20)

🏭 New feature(s)

  • Parse error type as json on proper content-type (ea9adbf), closes #171

Setting the error type as json manually using .errorType("json") should now not be necessary if the server responds with a Content-Type header set as application/json.

The response body will be deserialized and the error.json will be set accordingly.

⬆️ Version update(s)

  • Bump @fastify/multipart from 7.3.0 to 7.4.1 (e6074c9)
  • Bump @sideway/formula from 3.0.0 to 3.0.1 (8208646)
  • Bump ua-parser-js from 0.7.31 to 0.7.33 (1694fe6)

Don't miss a new wretch release

NewReleases is sending notifications on new releases.