Skip to content

v0.5.0

Latest
Compare
Choose a tag to compare
@tchung1118 tchung1118 released this 17 Oct 21:39
· 1 commit to main since this release
a9c44d9

0.5.0 (15 Oct 2024)

Added

  • #153: Add --write_command_comment flag to specify whether to include
    Generated by this command comment.
  • #191: Add --build_constraint flag to add //go:build directives
    to generated mocks
  • #214: Add gob mode to support custom package loading techniques in place
    of --exec_only

Changed

  • #181: Made mockgen faster by changing flags passed to go list.
  • #183: Made Cond matcher generic.
  • #204: Removed ISGOMOCK() from generated mocks.
  • #207: Deprecated reflect mode and replaced it with the new package mode.

Fixed

  • #144: Fix a deadlock that can happen when mocking an interface that
    matches fmt.Stringer.
  • #168: Fix an issue where the "generated by" comment was being included
    in the package comment of generated mocks.

Thanks to @tulzke @JacobOaks @ARR4N @sashamelentyev @sywhang @fasmat
@eyasy1217 @ghouscht @tie @Neo2308 @carson-brill @alexandear @sodul
@nbgraham for their contributions this release.