Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump go.uber.org/mock from 0.2.0 to 0.4.0 #51

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 8, 2024

Bumps go.uber.org/mock from 0.2.0 to 0.4.0.

Release notes

Sourced from go.uber.org/mock's releases.

v0.4.0

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.

#63: uber-go/mock#63 #93: uber-go/mock#93 #101: uber-go/mock#101 #114: uber-go/mock#114 #121: uber-go/mock#121 #127: uber-go/mock#127 #132: uber-go/mock#132

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

v0.3.0

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.

#13: uber-go/mock#13 #33: uber-go/mock#33 #41: uber-go/mock#41 #46: uber-go/mock#46 #52: uber-go/mock#52 #60: uber-go/mock#60 #72: uber-go/mock#72

... (truncated)

Changelog

Sourced from go.uber.org/mock's changelog.

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.

#63: uber-go/mock#63 #93: uber-go/mock#93 #101: uber-go/mock#101 #114: uber-go/mock#114 #121: uber-go/mock#121 #127: uber-go/mock#127 #132: uber-go/mock#132

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

0.3.0 (15 Sep 2023)

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.

#13: uber-go/mock#13 #33: uber-go/mock#33 #41: uber-go/mock#41 #46: uber-go/mock#46 #52: uber-go/mock#52 #60: uber-go/mock#60 #72: uber-go/mock#72 #78: uber-go/mock#78

... (truncated)

Commits
  • 74a29c6 Release v0.4.0 (#131)
  • 37f6db3 mockgen: Sanitize the "any" package name (#132)
  • 6dd8fe5 Fixed -mockNames not propagating to Recorder and ReturnCall types (#127)
  • 7bf3d91 added a description of the exclude_interfaces flag to the README (#123)
  • 5b48f95 MockGen header comment: trim .exe suffix on Windows (#119)
  • 857e269 Update model.go (#115)
  • 7fb6390 Use path.Join for expected package paths (#121)
  • 94a7ac3 feat: add Regex() matcher (#114)
  • b233940 Fix 111: Package comments are now split correctly from the rest of the commen...
  • 892b665 fix: race condition on Controller.Satisfied (#101)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [go.uber.org/mock](https://github.com/uber/mock) from 0.2.0 to 0.4.0.
- [Release notes](https://github.com/uber/mock/releases)
- [Changelog](https://github.com/uber-go/mock/blob/main/CHANGELOG.md)
- [Commits](uber-go/mock@v0.2.0...v0.4.0)

---
updated-dependencies:
- dependency-name: go.uber.org/mock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 8, 2024
@dependabot dependabot bot requested review from rafalgalaw and H777K as code owners January 8, 2024 12:39
@bavarianbidi
Copy link
Member

will be closed in favor of #59

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 9, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/go_modules/go.uber.org/mock-0.4.0 branch January 9, 2024 04:38
bavarianbidi added a commit that referenced this pull request Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant