Skip to content

Releases: paperballs/mocktail

v1.1.0

28 Jul 21:06

Choose a tag to compare

Changelog

  • 73847f4 feat: add custom template support with -template flag (#5)
  • ace9c78 fix: module detection inside Go workspace

v1.0.0

23 Jul 17:07

Choose a tag to compare

Changelog

  • d039d19 Add func args support.
  • 7742ff3 Fix versionned packages
  • 90c6a5d chore use go1.18
  • bcfb420 feat: Raw methods with the right number of parameters
  • 593f38f feat: add ReturnsFn method on mock.Call wrappers
  • 82eafbe feat: add TypedRun method on mock.Call wrappers
  • 0d05a64 feat: add support for generic interfaces (#2)
  • 4187bfd feat: allow interface from other packages
  • d899871 feat: birth
  • 98c4734 feat: chan type
  • a041b16 feat: generate exported mocks with -e flag
  • 3ec1844 feat: generates returnsFn on function without args
  • 6551ec4 feat: ignore testdata and vendor directories
  • 26b5fb0 feat: improve error when type is not interface
  • a51d4ac feat: improve mock.Call wrapping
  • ebe22dc feat: replace go/importer with x/tools/go/packages
  • 8faab47 feat: reuse importer
  • b49c602 feat: support types.Array as interface args
  • d5507e7 feat: support types.Struct as interface args
  • 419859f feat: support variadic
  • 001af82 fix: duplicate import of time
  • 60d1651 fix: element from the same package
  • a0603c4 fix: import != module name
  • ac75b95 fix: use package path instead of name
  • 1ec2d10 refactor: simplify