Releases: jbsf2/protomock
Releases · jbsf2/protomock
v1.1.2
Fix
- Previous release included two functions that were meant to be private, but that were not marked as private. The functions are now marked as private via
defp
, and thereby also excluded from hexdocs.
v1.1.1
Fix
new/2
previously had a typespec that incorrectly assumed delegates must be of type struct()
. The typespec has been fixed to accept type any()
for delegates.
v1.1.0
Enhancement
- Added support for delegation. A
ProtoMock
instance can be configured with a delegate. By default, the ProtoMock
instance will proxy any function invocations to the delegate. Behavior can be overridden & customized on a per-function basis.
1.0 release
v1.0.0
marking code samples as elixir
Implementation errors & recursive calls
- Allow protocol implementations to call themselves
- If an implementation raises an error, raise it in the client instead of the Protomock server