Skip to content

Releases: jbsf2/protomock

v1.1.2

Choose a tag to compare

@jbsf2 jbsf2 released this 20 Sep 20:44

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

Choose a tag to compare

@jbsf2 jbsf2 released this 20 Sep 20:21

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

Choose a tag to compare

@jbsf2 jbsf2 released this 20 Sep 19:59

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

Choose a tag to compare

@jbsf2 jbsf2 released this 16 Dec 03:00
v1.0.0

marking code samples as elixir

Fix warnings

Choose a tag to compare

@brandonduff brandonduff released this 18 Jul 15:26
Co-Authored-By: JB Steadman <jb@mechanical-orchard.com>

Implementation errors & recursive calls

Choose a tag to compare

@brandonduff brandonduff released this 18 Jul 15:13
  • Allow protocol implementations to call themselves
  • If an implementation raises an error, raise it in the client instead of the Protomock server

v0.1.0

Choose a tag to compare

@jbsf2 jbsf2 released this 03 May 03:30
fixed bug in module doc