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 github.com/vektra/mockery/v2 from 2.16.0 to 2.32.3 in /tools #208

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 7, 2023

Bumps github.com/vektra/mockery/v2 from 2.16.0 to 2.32.3.

Release notes

Sourced from github.com/vektra/mockery/v2's releases.

v2.32.3

Changelog

  • 3b725d9 Include auto-generated files in recursive discovery by default
  • dbad753 Merge pull request #682 from LandonTClipp/issue_681
  • b70c07a Update documentation for include-auto-generated

v2.32.2

Changelog

  • 532f248 Update documentation.yml

v2.32.1

Changelog

  • 400f162 Update users list

v2.32.0

Changelog

  • 5e1ff90 Adds InterfaceNameLower as a templating variable
  • ffc7a42 Adds InterfaceNameLower to docs
  • 6e6efc2 Fixes spelling
  • 8c06cfc Merge pull request #672 from hohmannr/feat/interface-name-lower

v2.31.4

Changelog

  • b5592d6 fix installation again (code block needs to be in javascript)

v2.31.3

Changelog

  • 903445b fix installation docs

v2.31.2

Changelog

  • 8385b8c Merge pull request #669 from OrHayat/docs_go_install_fetch_latest_release
  • 4a425a8 installation docs will fetch latest relase from github api and inject it into go install command
  • 6399f5b update configuration docs

v2.31.1

Changelog

  • c72170a Update examples.md

v2.31.0

Changelog

  • a43101b Add deprecation notice for old config style
  • 7696d20 Merge pull request #668 from LandonTClipp/deprecation

v2.30.18

Changelog

  • 0d3aeea Fix goreleaser config deprecation
  • 7a91185 Merge pull request #667 from LandonTClipp/goreleaser

v2.30.16

... (truncated)

Changelog

Sourced from github.com/vektra/mockery/v2's changelog.

Changelog

This changelog describes major feature additions. Please view the releases page for more details on commits and minor changes.

:octicons-tag-24: v2.29.0 template functions

This release adds a large number of template functions available for use in the packages templating engine.

:octicons-tag-24: v2.25.0 recursive config

The recursive parameter allows mockery to dynamically discover sub-packages when using the packages config.

:octicons-tag-24: v2.24.0 exclude config

The exclude parameter allows you to define subpaths to ignore. This is currently only compatible when using non-packages config.

:octicons-tag-24: v2.23.0 Replace Types

The replace-type parameter allows adding a list of type replacements to be made in package and/or type names. This can help overcome issues like usage of type aliases that point to internal packages.

:octicons-tag-24: v2.21.0: #!yaml packages configuration

In this version we release the #!yaml packages configuration section. This new parameter allows defining specific packages to generate mocks for, while also giving fine-grained control over which interfaces are mocked, where they are located, and how they are configured. Details are provided here.

Community input is desired before we consider deprecations of dynamic walking (via #!yaml all: True): vektra/mockery#549

:octicons-tag-24: v2.20.0: Improved Return Value Functions

Return value functions that return an entire method's return value signature can now be provided.

proxyMock := mocks.NewProxy(t)
proxyMock.On("passthrough", mock.AnythingOfType("context.Context"), mock.AnythingOfType("string")).
Return(
    func(ctx context.Context, s string) (string, error) {
        return s, nil
    }
)

You may still use the old way where one function is provided for each return value:

proxyMock := mocks.NewProxy(t)
proxyMock.On("passthrough", mock.AnythingOfType("context.Context"), mock.AnythingOfType("string")).
Return(
    func(ctx context.Context, s string) string {
        return s
</tr></table> 

... (truncated)

Commits
  • dbad753 Merge pull request #682 from LandonTClipp/issue_681
  • b70c07a Update documentation for include-auto-generated
  • 3b725d9 Include auto-generated files in recursive discovery by default
  • 532f248 Update documentation.yml
  • 400f162 Update users list
  • 8c06cfc Merge pull request #672 from hohmannr/feat/interface-name-lower
  • 6e6efc2 Fixes spelling
  • ffc7a42 Adds InterfaceNameLower to docs
  • 5e1ff90 Adds InterfaceNameLower as a templating variable
  • b5592d6 fix installation again (code block needs to be in javascript)
  • 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 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 [github.com/vektra/mockery/v2](https://github.com/vektra/mockery) from 2.16.0 to 2.32.3.
- [Release notes](https://github.com/vektra/mockery/releases)
- [Changelog](https://github.com/vektra/mockery/blob/master/docs/changelog.md)
- [Commits](vektra/mockery@v2.16.0...v2.32.3)

---
updated-dependencies:
- dependency-name: github.com/vektra/mockery/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 7, 2023
@codecov
Copy link

codecov bot commented Aug 7, 2023

Codecov Report

Merging #208 (d8d8b60) into main (c91ebd8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #208   +/-   ##
=======================================
  Coverage   89.42%   89.42%           
=======================================
  Files          83       83           
  Lines        4010     4010           
=======================================
  Hits         3586     3586           
  Misses        305      305           
  Partials      119      119           
Flag Coverage Δ
Linux 89.15% <ø> (ø)
macOS 89.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@lemoony lemoony merged commit 3380664 into main Aug 7, 2023
8 checks passed
@lemoony lemoony deleted the dependabot/go_modules/tools/github.com/vektra/mockery/v2-2.32.3 branch August 7, 2023 15:37
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 go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant