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

build(deps): Bump github.com/vektra/mockery/v2 from 2.10.0 to 2.33.2 #342

Open
wants to merge 1 commit into
base: v0.35.x
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 6, 2023

Bumps github.com/vektra/mockery/v2 from 2.10.0 to 2.33.2.

Release notes

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

v2.33.2

Changelog

  • 4e964a8 Merge pull request #699 from jokly/master
  • 09e78f7 add a separate test
  • 80c5909 fix expecter and void rolled varaidic
  • 73a6a6f generate variadic call by template

v2.33.1

Changelog

  • 1bcc958 Add gcc to docker for projects with cgo
  • 74e483d Merge pull request #694 from jokly/master
  • 8965d12 Merge pull request #698 from LandonTClipp/badcode
  • 6111fde Minor refactor of ShouldGenerateInterface
  • b9a1e11 Remove code that was not being used

v2.33.0

Changelog

  • 15d6920 Add support for include-regex option.
  • 6ada211 Merge pull request #692 from leaanthony-sc/684_include_regex
  • b83433d Update documentation. Format tables.

v2.32.4

Changelog

  • 871f904 Add e2e tests for issue #681
  • 72eb146 Add error log for unsupported config
  • 2046503 Merge pull request #683 from LandonTClipp/issue_681_e2e
  • 8abb702 Merge pull request #686 from LandonTClipp/issue_685

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

... (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
  • 4e964a8 Merge pull request #699 from jokly/master
  • 09e78f7 add a separate test
  • 73a6a6f generate variadic call by template
  • 80c5909 fix expecter and void rolled varaidic
  • 8965d12 Merge pull request #698 from LandonTClipp/badcode
  • 6111fde Minor refactor of ShouldGenerateInterface
  • b9a1e11 Remove code that was not being used
  • 74e483d Merge pull request #694 from jokly/master
  • 6ada211 Merge pull request #692 from leaanthony-sc/684_include_regex
  • 1bcc958 Add gcc to docker for projects with cgo
  • 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 [github.com/vektra/mockery/v2](https://github.com/vektra/mockery) from 2.10.0 to 2.33.2.
- [Release notes](https://github.com/vektra/mockery/releases)
- [Changelog](https://github.com/vektra/mockery/blob/master/docs/changelog.md)
- [Commits](vektra/mockery@v2.10.0...v2.33.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 6, 2023

The following labels could not be found: T:dependencies, S:automerge.

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.

0 participants