Current section

Files

Jump to
hammox CHANGELOG.md
Raw

CHANGELOG.md

# Changelog
This project follows [Semantic Versioning][semver].
## 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`][deny] 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]
[releases]: https://github.com/msz/hammox/releases
[semver]: https://semver.org/spec/v2.0.0.html
[deny]: https://hexdocs.pm/mox/Mox.html#deny/3
[@rbino]: https://github.com/rbino
[#160]: https://github.com/msz/hammox/pull/160
[#159]: https://github.com/msz/hammox/pull/159
[#153]: https://github.com/msz/hammox/pull/153