npm @japa/api-client 3.0.0
Do not throw error for status code >= 500

latest releases: 3.2.1, 3.2.0, 3.1.1...
20 months ago

3.0.0 (2025-01-12)

BREAKING CHANGES

  • The ensureAssert method is no longer a public method.
  • HTTP responses with status code >=500 no longer throws an exception. Earlier they used to. If you want to print the exception response, you can use the response.dumpError method.

Code Refactoring

  • make ensureAssert private and rely on openapi-assertions package (c8e85c1)

Features

  • ✨ add response status assertions shortcuts (#6) (0cac856)
  • 500+ error handling (#9) (014fbca)

What's Changed

  • feat: add response status assertions shortcuts by @luffynando in #6
  • feat: 500+ error handling by @tom-laplace in #9

New Contributors

  • @luffynando made their first contribution in #6
  • @tom-laplace made their first contribution in #9

Full Changelog: v2.0.4...v3.0.0

Don't miss a new api-client release

NewReleases is sending notifications on new releases.