Releases: japa/api-client
Releases · japa/api-client
Fix import of optional dependency
3.0.3 (2025-01-12)
Bug Fixes
- use reference directive to import optional dependency (2ee58e3)
Full Changelog: v3.0.2...v3.0.3
Fix - Add missing superagent dependency
Fix peer dependency range for japa/assert
3.0.1 (2025-01-12)
Full Changelog: v3.0.0...v3.0.1
Do not throw error for status code >= 500
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 theresponse.dumpError
method.
Code Refactoring
- make ensureAssert private and rely on openapi-assertions package (c8e85c1)
Features
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
Update dependencies
Update dependencies
- chore: update dependencies 15bd2db
Full Changelog: v2.0.2...v2.0.3
Update dependencies
- chore: update dependencies 4f98204
Full Changelog: v2.0.1...v2.0.2
Use tsup for bundling
Full Changelog: v2.0.0...v2.0.1
Major release under latest tag
What's Changed
- Add assertBodyNotContains by @florian-lefebvre in #2
New Contributors
- @florian-lefebvre made their first contribution in #2