Skip to content

v0.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Mar 01:25
1ca55b5

v0.3.0 is here! 🎉

Features

  • Added support to tracker restrictions, supporting headers, search params, and bodies. With restrictions, you can now target mock responses to specific requests.
  • It is now possible to clear tracker responses, restrictions and intercepted requests using clear(). bypass() now only clears the declared response, keeping any restrictions and intercepted requests.
  • Added strict JSON validation to interceptor schemas.

Refactoring

  • Moved generic HTTP type exports from zimic/interceptor to zimic.

Check out the Migration guide to learn more about using the strict JSON validation and the new HTTP type exports!

Credits

Huge thanks to @diego-aquino for helping!

Full Changelog: v0.2.1...v0.3.0