Skip to content

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

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

Merged
merged 1 commit into from
Dec 21, 2023

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
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 21, 2023
Copy link

netlify bot commented Dec 21, 2023

Deploy Preview for kubernetes-sigs-kmm ready!

Name Link
🔨 Latest commit 27f5584
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kmm/deploys/6583add69a0a3f00086a75c4
😎 Deploy Preview https://deploy-preview-674--kubernetes-sigs-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.

@k8s-ci-robot
Copy link
Contributor

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

I'm waiting for a kubernetes-sigs 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.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 21, 2023
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0ff3a13) 79.09% compared to head (27f5584) 79.09%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #674   +/-   ##
=======================================
  Coverage   79.09%   79.09%           
=======================================
  Files          50       50           
  Lines        5084     5084           
=======================================
  Hits         4021     4021           
  Misses        879      879           
  Partials      184      184           

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

@qbarrand
Copy link
Contributor

/ok-to-test
/lgtm
/assign @ybettan

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Dec 21, 2023
@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Dec 21, 2023
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 21, 2023
@ybettan
Copy link
Contributor

ybettan commented Dec 21, 2023

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

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

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 21, 2023
@k8s-ci-robot k8s-ci-robot merged commit 02c90e6 into main Dec 21, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/go.uber.org/mock-0.4.0 branch December 21, 2023 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. dependencies Pull requests that update a dependency file go Pull requests that update Go code lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants