Repatch 1.6.0
Coverage
This update adds first-class coverage support for patched modules. It utilized new OTP 27 native coverage and supports non-native coverage for OTP versions prior to OTP 26. Coverage support is introduced in compatible way without :cover
module private functions hacking like in mex and mimic libraries.
Feel free to try it out in your project. doc.
Repatch.notify
A function which sends a message to the calling process the specified function is called. Current implementation uses Repatch patching, but future implementations will use :trace
and :erlang.trace
which are a little bit more efficient.
Repatch.history
The name speaks for itself, since this function just allows user to access the full history (or some filtered part of it) of all calls to the patched modules.