Changelog

View Source

This project follows Semantic Versioning.

v1.0.0 - 2026-07-08

Hammox reaches 1.0.0. It has been available as a 0.x release for several years without a breaking change to its external API, so this release mostly formalises what has already been true in practice: the public API is stable.

New features

Hammox now wraps Mox.deny/3 as Hammox.deny/3, letting you explicitly forbid a mock function from being called. Like the other expectation functions it emits [:hammox, :deny] telemetry events. This requires Mox 1.2 or later. Big thanks to @rbino for the original implementation. #160

Other changes

  • Removed the nine-arity limit on functions generated by Hammox.protect/2,3 and Hammox.Protect; protected functions of any arity are now supported. #159
  • Hammox now requires Elixir 1.15 or later. #153