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.4 to 2.25.0 #252

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Apr 17, 2023

Bumps github.com/vektra/mockery/v2 from 2.10.4 to 2.25.0.

Release notes

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

v2.25.0

Changelog

  • 6fb1b0e Add exclude documentation
  • 8a6a6bb Add recursive option for packages feature
  • 3c781b9 Add warning about adjacent-mocks configs
  • 537d49d Merge pull request #595 from LandonTClipp/issue_594
  • b55a8bb Merge pull request #598 from LandonTClipp/documentation
  • 7dad3a3 Merge pull request #599 from LandonTClipp/task
  • 19a23e6 Replace Makefile with taskfile

v2.24.0

Changelog

  • 89f6865 Add golangci-lint, cleanup code
  • eb82d92 Add looping demo.gif
  • 07b8bf3 Add new example recordings
  • 0bc9cb3 Clarification/simplification of packages documentation
  • 1f0d9a5 Exclude subdirectories and files with --exclude
  • ea28b63 Merge pull request #591 from LandonTClipp/golangci_lint
  • 5a57633 Merge pull request #592 from LandonTClipp/configuration_docs
  • 6bcd628 Merge pull request #593 from LandonTClipp/doc_updates
  • e63962d Merge pull request #596 from amirbenun/exclude-subdirs
  • 3eb9040 Update configuration.md
  • 6f08a5d Update features.md
  • 70f7655 Update notes.md
  • b5b3426 Update notes.md
  • 231e1ff Update notes.md
  • 48a20c3 fix tests for defaults
  • 4b9468a typo fix in docs

v2.23.2

Changelog

  • 2bf7a1f Add test for infinite loop
  • 9f470cf Fix issue with self-referential template names
  • 3f08136 Merge pull request #587 from LandonTClipp/docs
  • f71d1e6 Merge pull request #588 from LandonTClipp/mockname_variable
  • 3c11113 Simplify docs, add more explanations
  • 1241bb9 Update features.md
  • 16ece91 Update mkdocs.yml
  • dd93536 remove comment in mkdocs.yml

v2.23.1

Changelog

  • a0524f7 Merge pull request #583 from connyay/cjh-config-search-disabled
  • d52c45e Merge pull request #584 from RangelReale/fixreplacetypefwd
  • 04195a5 Move config search disabled message to debug log
  • a515b15 replace type parameter was not being forwarded

v2.23.0

Changelog

  • ac22d5e Merge branch 'import-customize' of github.com:RangelReale/mockery into import-customize

... (truncated)

Changelog

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

: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
    },
    func(ctx context.Context, s string) error {
        return nil
    },
)

:octicons-tag-24: 2.19.0: inpackage-suffix option

... (truncated)

Commits
  • 537d49d Merge pull request #595 from LandonTClipp/issue_594
  • 8a6a6bb Add recursive option for packages feature
  • 7dad3a3 Merge pull request #599 from LandonTClipp/task
  • 19a23e6 Replace Makefile with taskfile
  • 3c781b9 Add warning about adjacent-mocks configs
  • b55a8bb Merge pull request #598 from LandonTClipp/documentation
  • 6fb1b0e Add exclude documentation
  • e63962d Merge pull request #596 from amirbenun/exclude-subdirs
  • 1f0d9a5 Exclude subdirectories and files with --exclude
  • 3eb9040 Update configuration.md
  • 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.10.4 to 2.25.0.
- [Release notes](https://github.com/vektra/mockery/releases)
- [Changelog](https://github.com/vektra/mockery/blob/master/docs/changelog.md)
- [Commits](vektra/mockery@v2.10.4...v2.25.0)

---
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 @github
Copy link
Author

dependabot bot commented on behalf of github Apr 17, 2023

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

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Apr 24, 2023

Superseded by #256.

@dependabot dependabot bot closed this Apr 24, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/v0.35.x/github.com/vektra/mockery/v2-2.25.0 branch April 24, 2023 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
0 participants