Skip to content

Conversation

@renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Nov 19, 2025

This PR contains the following updates:

Package Change Age Confidence
go.uber.org/mock v0.2.0v0.6.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

uber/mock (go.uber.org/mock)

v0.6.0

Compare Source

0.6.0 (18 Aug 2025)

Added
  • #​258: Archive mode: a new mockgen mode that generates mocks out of archive files.
Fixed
  • #​276: Fixed mockgen errors with go1.25 due to outdated golang.org/x/tools dependency.

v0.5.2

Compare Source

0.5.2 (28 Apr 2025)

Fixed
  • #​248: Fixed an issue with type aliases not being included in generated code correctly.

v0.5.1

Compare Source

0.5.1 (7 Apr 2025)

Fixed
  • #​220: Package mode will now generate code that uses aliases of types
    when they are used in the source.
  • #​219: Fixed a collision between function argument names and package names
    in generated code.
  • #​165: Fixed an issue where aliases specified by -imports were not being
    respected in generated code.

Thanks to @​mtoader and @​bstncartwright for their contributions to this release.

v0.5.0

Compare Source

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.

v0.4.0

Compare Source

0.4.0 (20 Dec 2023)
Added
  • #​63: AnyOf matcher for values that satisfy at least one matcher.
  • #​114: Regex matcher.
Fixed
  • #​93: Ignore interfaces that contain type constraints.
  • #​101: Fix race condition on Controller.Satisfied.
  • #​121: Fix paths for windows.
  • #​127: Propogate -mock_names to Recorder and ReturnCall types.
  • #​132: Sanitize "any" package names.

Thanks to @​favonia @​hoonmin @​pshopper @​davidharrigan @​dlsniper @​merrett010
@​craig65535 @​chemidy @​tulzke @​UnAfraid @​JacobOaks @​sywhang for their
contributions this release.

v0.3.0

Compare Source

Added
  • #​13: Support for embedded generic interfaces.
  • #​33: -write_source_comment for writing the original file or interface names
    in the generated code.
  • #​46: -write-generate-directive for generating go:generate directives into
    the generated mock.
  • #​60: Cond matcher for specifying a conditional matcher as the result of a
    given function.
  • #​72: exclude_interfaces flag for specifying list of interfaces to exclude
    from mock generation.
Fixed
  • #​41: A bug with specifying local import name with -imports flag.
  • #​52: A panic that occurs in gob.Register when used in conjunction with
    golang/mock.
  • #​78: InOrder can be used with type-safe mocks generated with -typed flag.

Thanks to @​alexandear, @​bcho, @​deathiop, @​sivchari, @​k3forx, @​n0trace,
@​utgwkk, @​ErfanMomeniii, @​bcho, @​damianopetrungaro, @​Tulzke,
and @​EstebanOlmedo for their contributions to this release.


Configuration

📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@forking-renovate
Copy link

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: install-tool golang 1.23.8

@renovate-bot renovate-bot requested a review from a team as a code owner November 19, 2025 02:34
@renovate-bot renovate-bot force-pushed the renovate/gomock-monorepo branch from 2d8af9a to bfb62d5 Compare December 15, 2025 17:32
@forking-renovate
Copy link

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@prinikasn prinikasn merged commit 6a56b91 into openconfig:main Jan 8, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants