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

Bump go.uber.org/mock from 0.3.0 to 0.4.0 #941

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 21, 2023

Bumps go.uber.org/mock from 0.3.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.

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.

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.3.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.3.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 dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 21, 2023
Copy link

netlify bot commented Dec 21, 2023

Deploy Preview for openshift-kmm ready!

Name Link
🔨 Latest commit 2085ee6
🔍 Latest deploy log https://app.netlify.com/sites/openshift-kmm/deploys/65847a0165a39200088755f8
😎 Deploy Preview https://deploy-preview-941--openshift-kmm.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

openshift-ci bot commented Dec 21, 2023

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a rh-ecosystem-edge member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@qbarrand
Copy link
Contributor

/ok-to-test
/lgtm
/assign @yevgeny-shnaidman

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7b27d47) 76.51% compared to head (2085ee6) 76.45%.
Report is 2 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #941      +/-   ##
==========================================
- Coverage   76.51%   76.45%   -0.07%     
==========================================
  Files          61       61              
  Lines        5659     5670      +11     
==========================================
+ Hits         4330     4335       +5     
- Misses       1110     1115       +5     
- Partials      219      220       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yevgeny-shnaidman
Copy link
Member

/approve

Copy link

openshift-ci bot commented Dec 28, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dependabot[bot], yevgeny-shnaidman

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 3087049 into main Dec 28, 2023
18 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/go.uber.org/mock-0.4.0 branch December 28, 2023 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved dependencies Pull requests that update a dependency file go Pull requests that update Go code lgtm ok-to-test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants