mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-01 17:38:36 +00:00
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/vektra/mockery/v2](https://github.com/vektra/mockery) | `v2.26.1` -> `v2.53.4` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vektra/mockery (github.com/vektra/mockery/v2)</summary> ### [`v2.53.4`](https://github.com/vektra/mockery/releases/tag/v2.53.4) [Compare Source](https://github.com/vektra/mockery/compare/v2.53.3...v2.53.4) #### What's Changed - v2: Add k8s as user of mockery by [@​LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/965 - Bump golang.org/x/net from 0.33.0 to 0.36.0 in /tools by [@​dependabot](https://github.com/dependabot) in https://github.com/vektra/mockery/pull/947 - v2: Update release and docs for v3 GA by [@​LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/984 - Fix CICD for master->v2 branch rename. by [@​LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/996 - Fix v2 docs javascript for installation command by [@​LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/1040 - v2: Fix go.work.sum for tagging command by [@​LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/1050 **Full Changelog**: https://github.com/vektra/mockery/compare/v2.53.3...v2.53.4 ### [`v2.53.3`](https://github.com/vektra/mockery/releases/tag/v2.53.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.53.2...v2.53.3) #### What's Changed - Move to `docker/login-action@v3` by [@​LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/944 - Fix documentation CI workflow by [@​LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/945 - Remove redundant typecheck linter by [@​alexandear](https://github.com/alexandear) in https://github.com/vektra/mockery/pull/948 - Bump viper for remove hashicorp dependencies by [@​RainbowMango](https://github.com/RainbowMango) in https://github.com/vektra/mockery/pull/951 #### New Contributors - [@​RainbowMango](https://github.com/RainbowMango) made their first contribution in https://github.com/vektra/mockery/pull/951 **Full Changelog**: https://github.com/vektra/mockery/compare/v2.53.2...v2.53.3 ### [`v2.53.2`](https://github.com/vektra/mockery/releases/tag/v2.53.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.53.1...v2.53.2) #### What's Changed - Build Go binary with 1.24 by [@​LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/943 **Full Changelog**: https://github.com/vektra/mockery/compare/v2.53.1...v2.53.2 ### [`v2.53.1`](https://github.com/vektra/mockery/releases/tag/v2.53.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.53.0...v2.53.1) #### What's Changed - Fix profiling by [@​mat007](https://github.com/mat007) in https://github.com/vektra/mockery/pull/926 - fix: include-auto-generated option to work with multi-line comment by [@​hpurmann](https://github.com/hpurmann) in https://github.com/vektra/mockery/pull/940 - Revert to Go 1.23 in go.mod by [@​LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/941 #### New Contributors - [@​mat007](https://github.com/mat007) made their first contribution in https://github.com/vektra/mockery/pull/926 - [@​hpurmann](https://github.com/hpurmann) made their first contribution in https://github.com/vektra/mockery/pull/940 **Full Changelog**: https://github.com/vektra/mockery/compare/v2.53.0...v2.53.1 ### [`v2.53.0`](https://github.com/vektra/mockery/releases/tag/v2.53.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.52.4...v2.53.0) #### What's Changed - Remove homebrew tap by [@​LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/933 - feat(`fail-on-missing`): Allow mockery to return non-zero on missing interfaces by [@​LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/934 **Full Changelog**: https://github.com/vektra/mockery/compare/v2.52.4...v2.53.0 ### [`v2.52.4`](https://github.com/vektra/mockery/releases/tag/v2.52.4) [Compare Source](https://github.com/vektra/mockery/compare/v2.52.3...v2.52.4) #### Changelog - [`0c0f6fc`](0c0f6fc
) Fix disable-version-string bool check ([#​927](https://github.com/vektra/mockery/issues/927)) - [`3761289`](3761289
) Update mockery-tools.env - [`45d41e8`](45d41e8
) fix: `include-auto-generated` option ([#​928](https://github.com/vektra/mockery/issues/928)) ### [`v2.52.3`](https://github.com/vektra/mockery/releases/tag/v2.52.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.52.2...v2.52.3) #### Changelog - [`b4291cf`](b4291cf
) Build Docker from Go 1.24 ([#​923](https://github.com/vektra/mockery/issues/923)) - [`44293f3`](44293f3
) Bump debug version ### [`v2.52.2`](https://github.com/vektra/mockery/releases/tag/v2.52.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.52.1...v2.52.2) #### Changelog - [`252f27c`](252f27c
) Support go 1.24 and upgrade dependencies ([#​915](https://github.com/vektra/mockery/issues/915)) - [`c644c45`](c644c45
) docs: fix go mod download command ([#​908](https://github.com/vektra/mockery/issues/908)) ### [`v2.52.1`](https://github.com/vektra/mockery/releases/tag/v2.52.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.52.0...v2.52.1) #### Changelog - [`2becc15`](2becc15
) Fix dependency issue in zerolog ([#​910](https://github.com/vektra/mockery/issues/910)) ### [`v2.52.0`](https://github.com/vektra/mockery/releases/tag/v2.52.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.51.1...v2.52.0) #### Changelog - [`812a888`](812a888
) Add latest-v2 alias in docs. - [`ed09f71`](ed09f71
) Add link to v3 docs. ([#​904](https://github.com/vektra/mockery/issues/904)) - [`25182ae`](25182ae
) Bump github.com/go-git/go-git/v5 from 5.12.0 to 5.13.0 in /tools ([#​903](https://github.com/vektra/mockery/issues/903)) - [`3f90943`](3f90943
) Bump golang.org/x/net from 0.28.0 to 0.33.0 in /tools ([#​902](https://github.com/vektra/mockery/issues/902)) - [`eb84be5`](eb84be5
) Bump version - [`14a9cc6`](14a9cc6
) feat: Error message for nonexistent mocks ([#​907](https://github.com/vektra/mockery/issues/907)) ### [`v2.51.1`](https://github.com/vektra/mockery/releases/tag/v2.51.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.51.0...v2.51.1) #### Changelog - [`52c9c25`](52c9c25
) Fix config issue with type conversion and deprecation warnings ([#​897](https://github.com/vektra/mockery/issues/897)) ### [`v2.51.0`](https://github.com/vektra/mockery/releases/tag/v2.51.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.50.4...v2.51.0) #### Changelog - [`0f55ecb`](0f55ecb
) Add enhanced deprecation logging support. ([#​894](https://github.com/vektra/mockery/issues/894)) #### NOTE This release adds a number of deprecation warnings in preparation for the v3 release. If you would like to disable these warnings, you can use the `disable-deprecation-warnings` parameter, or to disable only specific warnings, the `disabled-deprecation-warnings` parameter. Details on these are in the [configuration section](https://vektra.github.io/mockery/v2.51/configuration/#parameter-descriptions) of the docs. ### [`v2.50.4`](https://github.com/vektra/mockery/releases/tag/v2.50.4) [Compare Source](https://github.com/vektra/mockery/compare/v2.50.3...v2.50.4) #### Changelog - [`cd34e8b`](cd34e8b
) Fix tagging - [`d5bc859`](d5bc859
) Support \*ast.SelectorExpr aliases ([#​881](https://github.com/vektra/mockery/issues/881)) - [`fe58af4`](fe58af4
) bump version - [`bb1e69e`](bb1e69e
) updates to CICD ### [`v2.50.3`](https://github.com/vektra/mockery/compare/v2.50.2...v2.50.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.50.2...v2.50.3) ### [`v2.50.2`](https://github.com/vektra/mockery/releases/tag/v2.50.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.50.1...v2.50.2) #### Changelog - [`6a54b28`](6a54b28
) Fix empty build tags adding a tags parameter ([#​874](https://github.com/vektra/mockery/issues/874)) - [`afe092f`](afe092f
) Update mockery-tools.env ### [`v2.50.1`](https://github.com/vektra/mockery/releases/tag/v2.50.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.50.0...v2.50.1) #### Changelog - [`ede4f2c`](ede4f2c
) Add new expressions to allowed types ([#​863](https://github.com/vektra/mockery/issues/863)) - [`f6c261b`](f6c261b
) Bump version ### [`v2.50.0`](https://github.com/vektra/mockery/releases/tag/v2.50.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.49.2...v2.50.0) #### Changelog - [`13d696b`](13d696b
) Bump to 2.50.0 - [`0ba6fad`](0ba6fad
) Make the parser accept index list expressions ([#​857](https://github.com/vektra/mockery/issues/857)) ### [`v2.49.2`](https://github.com/vektra/mockery/releases/tag/v2.49.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.49.1...v2.49.2) #### Changelog - [`3a3fb6e`](3a3fb6e
) Add reusable Github action for testing ([#​855](https://github.com/vektra/mockery/issues/855)) - [`715d9a3`](715d9a3
) Fix minor typos in parser debug logs ([#​858](https://github.com/vektra/mockery/issues/858)) - [`dc47fdb`](dc47fdb
) Fix(generator): run functions with empty return ([#​842](https://github.com/vektra/mockery/issues/842)) - [`7d8df22`](7d8df22
) Update mockery-tools.env ### [`v2.49.1`](https://github.com/vektra/mockery/releases/tag/v2.49.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.49.0...v2.49.1) #### Changelog - [`8da7022`](8da7022
) Add deprecation warning for `with-expecter`. - [`63a14b5`](63a14b5
) Add tagging Github action - [`314381f`](314381f
) Docs: Make deprecations clearer - [`55e1e90`](55e1e90
) Docs: Simplify/modernize index page - [`3cef7fd`](3cef7fd
) Fix bug with type aliases to structs - [`cba8aa0`](cba8aa0
) Fix dirty git state caused by built tool - [`5c75177`](5c75177
) Fix tag action - [`37383a4`](37383a4
) Merge pull request [#​849](https://github.com/vektra/mockery/issues/849) from LandonTClipp/LandonTClipp/tagging - [`88830e8`](88830e8
) Merge pull request [#​850](https://github.com/vektra/mockery/issues/850) from LandonTClipp/LandonTClipp/deprecation\_docs - [`bc56391`](bc56391
) Merge pull request [#​851](https://github.com/vektra/mockery/issues/851) from LandonTClipp/LandonTClipp/expecter - [`773408f`](773408f
) Merge pull request [#​853](https://github.com/vektra/mockery/issues/853) from LandonTClipp/LandonTClipp/bugfix - [`971ce32`](971ce32
) Merge pull request [#​854](https://github.com/vektra/mockery/issues/854) from LandonTClipp/master - [`b1145cb`](b1145cb
) bump debug - [`198df07`](198df07
) formatting ### [`v2.49.0`](https://github.com/vektra/mockery/releases/tag/v2.49.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.48.0...v2.49.0) #### Changelog - [`13fc607`](13fc607
) Add `resolve-type-alias` parameter - [`a27cb03`](a27cb03
) Merge pull request [#​843](https://github.com/vektra/mockery/issues/843) from LandonTClipp/LandonTClipp/issue\_839 #### NOTE In this release, mockery will resolve aliases down to their underlying type in order to maintain backwards compatibility. Please see [the deprecations page](https://vektra.github.io/mockery/latest/deprecations/#resolve-type-alias) for details on why this change was introduced and how to configure mockery to not resolve type aliases. ### [`v2.48.0`](https://github.com/vektra/mockery/releases/tag/v2.48.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.47.0...v2.48.0) #### Changelog - [`04c4dc1`](04c4dc1
) Fix `outpkg` not being respected when `inpackage: True`. - [`3ae14ef`](3ae14ef
) Merge pull request [#​846](https://github.com/vektra/mockery/issues/846) from LandonTClipp/LandonTClipp/issue\_845 ### [`v2.47.0`](https://github.com/vektra/mockery/releases/tag/v2.47.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.46.3...v2.47.0) #### Changelog - [`f48ddc0`](f48ddc0
) Enable gofumpt linter and cleanup formatting - [`c9614e7`](c9614e7
) Fix unreachable links in docs - [`97ba6f2`](97ba6f2
) Fix(recursive): use packages.Load support for recursive search instead of manual - Fix(Parsepackages): Ignore packages with no Go files - [`01a68ea`](01a68ea
) Merge pull request [#​825](https://github.com/vektra/mockery/issues/825) from alexandear/refactor/yaml.v3 - [`4ce1908`](4ce1908
) Merge pull request [#​826](https://github.com/vektra/mockery/issues/826) from alexandear/github-update-pr-template - [`e9539f2`](e9539f2
) Merge pull request [#​827](https://github.com/vektra/mockery/issues/827) from alexandear/docs/replace-godoc-pkg-go-dev - [`08deb2d`](08deb2d
) Merge pull request [#​828](https://github.com/vektra/mockery/issues/828) from alexandear/refactor/enable-gofumpt - [`146f48b`](146f48b
) Merge pull request [#​829](https://github.com/vektra/mockery/issues/829) from alexandear/refactor/redundant-var-decl - [`33886a9`](33886a9
) Merge pull request [#​830](https://github.com/vektra/mockery/issues/830) from alexandear/docs/fix-links - [`f9da2b6`](f9da2b6
) Merge pull request [#​831](https://github.com/vektra/mockery/issues/831) from alexandear/refactor/test-asserts - [`f1e8da9`](f1e8da9
) Merge pull request [#​833](https://github.com/vektra/mockery/issues/833) from alexandear/refactor/simplify-parse-config-templates - [`5a0ad1c`](5a0ad1c
) Merge pull request [#​834](https://github.com/vektra/mockery/issues/834) from alexandear/refactor/dont-use-underscores - [`f6ecb44`](f6ecb44
) Merge pull request [#​835](https://github.com/vektra/mockery/issues/835) from jfragosoperez/fix/support-for-interface-typed-params - [`057cf5e`](057cf5e
) Merge pull request [#​838](https://github.com/vektra/mockery/issues/838) from sonalys/fix/recursive - [`f66028a`](f66028a
) Refactor test asserts - [`a79c303`](a79c303
) Refactor to avoid undersore in var names - [`7ea7946`](7ea7946
) Refactor to use only gopkg.in/yaml.v3 - [`6f99c60`](6f99c60
) Remove redundant variable declarations - [`86ae19b`](86ae19b
) Replace godoc.org with pkg.go.dev - [`e314ba8`](e314ba8
) Simplify parseConfigTemplates implementation - [`d374c68`](d374c68
) Update Go versions in GitHub PR template - [`6c7fb6b`](6c7fb6b
) fix(generator): support nil returns when using interface typed params ### [`v2.46.3`](https://github.com/vektra/mockery/releases/tag/v2.46.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.46.2...v2.46.3) #### Changelog - [`4d3bfa7`](4d3bfa7
) Merge pull request [#​824](https://github.com/vektra/mockery/issues/824) from DimaGolomozy/patch-1 - [`2e2b9bc`](2e2b9bc
) add git - [`f55598e`](f55598e
) add ssh ### [`v2.46.2`](https://github.com/vektra/mockery/releases/tag/v2.46.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.46.1...v2.46.2) #### Changelog - [`87fdecc`](87fdecc
) Merge pull request [#​819](https://github.com/vektra/mockery/issues/819) from pieter-irsan/patch-1 - [`0d1b1a2`](0d1b1a2
) Merge pull request [#​821](https://github.com/vektra/mockery/issues/821) from Link512/master - [`2e2c85b`](2e2c85b
) check nillable property for type aliases as well - [`ce9adb6`](ce9adb6
) docs: update typo in README.md ### [`v2.46.1`](https://github.com/vektra/mockery/releases/tag/v2.46.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.46.0...v2.46.1) #### Changelog - [`afe04a5`](afe04a5
) Merge pull request [#​808](https://github.com/vektra/mockery/issues/808) from RangelReale/fix-go123-aliastype - [`720caa9`](720caa9
) Undo go:build statements, make code a little DRY - [`cf26d69`](cf26d69
) Update to go1.23 - [`c05a755`](c05a755
) remove Go 1.23 testing - [`6f7960f`](6f7960f
) support types.Alias - [`42d905a`](42d905a
) support types.Alias - [`66dba08`](66dba08
) support types.Alias - [`e4b095f`](e4b095f
) upgrade go task - [`ea36ecc`](ea36ecc
) upgrade golangci-lint and add Go 1.23 to CI test ### [`v2.46.0`](https://github.com/vektra/mockery/releases/tag/v2.46.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.45.1...v2.46.0) #### Changelog - [`6423255`](6423255
) Merge pull request [#​807](https://github.com/vektra/mockery/issues/807) from tobby-s/FEAT-configdir - [`7c9f776`](7c9f776
) add documentation - [`8fae460`](8fae460
) propagate config file name into template ### [`v2.45.1`](https://github.com/vektra/mockery/releases/tag/v2.45.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.45.0...v2.45.1) #### Changelog - [`1790d6a`](1790d6a
) Bump Go v1.22 to v1.23 in Dockerfile - [`38070f7`](38070f7
) Merge pull request [#​812](https://github.com/vektra/mockery/issues/812) from colega/patch-1 - [`2abbb49`](2abbb49
) Merge pull request [#​814](https://github.com/vektra/mockery/issues/814) from khaifazil/patch-1 - [`b2c2927`](b2c2927
) Update index.md: capitalize "Grafana" ### [`v2.45.0`](https://github.com/vektra/mockery/releases/tag/v2.45.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.44.2...v2.45.0) #### Changelog - [`56379c8`](56379c8
) Add disable-func-mocks parameter - [`a03d1ff`](a03d1ff
) Merge pull request [#​809](https://github.com/vektra/mockery/issues/809) from LandonTClipp/disable\_func\_mocks - [`1e69719`](1e69719
) updates ### [`v2.44.2`](https://github.com/vektra/mockery/releases/tag/v2.44.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.44.1...v2.44.2) #### Changelog - [`4bee898`](4bee898
) Ensure generated imports doesn't start with digit - [`910874a`](910874a
) Merge pull request [#​806](https://github.com/vektra/mockery/issues/806) from leitzler/master ### [`v2.44.1`](https://github.com/vektra/mockery/releases/tag/v2.44.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.44.0...v2.44.1) #### Changelog - [`c6d2a9e`](c6d2a9e
) Fix release workflow - Fixes [#​769](https://github.com/vektra/mockery/issues/769) : Mock files getting created in disk when dry-run is enabled by [@​snopan](https://github.com/snopan) in https://github.com/vektra/mockery/pull/789 - chore: fix typos and style by [@​ccoVeille](https://github.com/ccoVeille) in https://github.com/vektra/mockery/pull/794 - Allow types defined as instantiated generic interfaces to generate mocks by [@​LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/790 ### [`v2.44.0`](https://github.com/vektra/mockery/compare/v2.43.2...v2.44.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.43.2...v2.44.0) ### [`v2.43.2`](https://github.com/vektra/mockery/releases/tag/v2.43.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.43.1...v2.43.2) #### Changelog - [`4544845`](4544845
) Fix an issue with using exclude on windows - [`5a3e47a`](5a3e47a
) Merge pull request [#​780](https://github.com/vektra/mockery/issues/780) from iangregsondev/debugging ### [`v2.43.1`](https://github.com/vektra/mockery/releases/tag/v2.43.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.43.0...v2.43.1) #### Changelog - [`2065d36`](2065d36
) Update migrating\_to\_packages.md ### [`v2.43.0`](https://github.com/vektra/mockery/releases/tag/v2.43.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.42.3...v2.43.0) #### Changelog - [`514021e`](514021e
) Add docs about `InterfaceFile` - [`527c0c4`](527c0c4
) Added InterfaceFile - [`25d2eb0`](25d2eb0
) Merge pull request [#​773](https://github.com/vektra/mockery/issues/773) from istrau2/patch-1 - [`0229bd4`](0229bd4
) Merge pull request [#​776](https://github.com/vektra/mockery/issues/776) from LandonTClipp/master - [`dff9d54`](dff9d54
) added .InterfaceFile test - [`314f11a`](314f11a
) fixed .InterfaceFile test ### [`v2.42.3`](https://github.com/vektra/mockery/releases/tag/v2.42.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.42.2...v2.42.3) #### Changelog - [`9b4107f`](9b4107f
) Fix bug when last argument is a function with multiple return values - [`b1c5f6e`](b1c5f6e
) Merge pull request [#​774](https://github.com/vektra/mockery/issues/774) from LandonTClipp/issue\_766 - [`adedaa2`](adedaa2
) Update codecov.yml - [`a382dd5`](a382dd5
) remove unnecessary config ### [`v2.42.2`](https://github.com/vektra/mockery/releases/tag/v2.42.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.42.1...v2.42.2) #### Changelog - [`4ac0c5e`](4ac0c5e
) Bump google.golang.org/protobuf from 1.28.0 to 1.33.0 in /tools - [`f500645`](f500645
) Merge pull request [#​768](https://github.com/vektra/mockery/issues/768) from vektra/dependabot/go\_modules/tools/google.golang.org/protobuf-1.33.0 - [`59f7d94`](59f7d94
) Merge pull request [#​771](https://github.com/vektra/mockery/issues/771) from dlwyatt/patch-1 - [`dc80845`](dc80845
) Merge pull request [#​772](https://github.com/vektra/mockery/issues/772) from testwill/close\_cpu\_profile - [`9820fbb`](9820fbb
) Update features.md - [`bdfbb23`](bdfbb23
) fix: close cpu profile ### [`v2.42.1`](https://github.com/vektra/mockery/releases/tag/v2.42.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.42.0...v2.42.1) #### Changelog - [`9dd9b1e`](9dd9b1e
) Merge pull request [#​767](https://github.com/vektra/mockery/issues/767) from stevenh/fix/windows-recursive - [`426dc32`](426dc32
) fix: recursive config failure on windows ### [`v2.42.0`](https://github.com/vektra/mockery/releases/tag/v2.42.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.41.0...v2.42.0) #### Changelog - [`29471fe`](29471fe
) Add more users of mockery to docs - [`e420a13`](e420a13
) Add typeset plugin for docs - [`8d53849`](8d53849
) Factor out logic to exclude sub-modules - [`b915439`](b915439
) Fix issue with file ordering - [`601d297`](601d297
) Merge branch 'master' into replace-generic - [`528d354`](528d354
) Merge branch 'master' into users - [`8b86cf2`](8b86cf2
) Merge pull request [#​750](https://github.com/vektra/mockery/issues/750) from DustinJSilk/replace-generic - [`92afb14`](92afb14
) Merge pull request [#​759](https://github.com/vektra/mockery/issues/759) from LandonTClipp/users - [`3b25f39`](3b25f39
) Merge pull request [#​760](https://github.com/vektra/mockery/issues/760) from LandonTClipp/fix\_ordering - [`f0789fb`](f0789fb
) Merge pull request [#​761](https://github.com/vektra/mockery/issues/761) from LandonTClipp/file\_ordering\_gomod - [`e724b8a`](e724b8a
) Show support for pointer type replacements - [`78755a1`](78755a1
) fixes - [`d39a2a2`](d39a2a2
) make codecov more permissive - [`4b08243`](4b08243
) use replace-type config ### [`v2.41.0`](https://github.com/vektra/mockery/releases/tag/v2.41.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.40.3...v2.41.0) #### Changelog - [`d4e7f57`](d4e7f57
) Merge pull request [#​757](https://github.com/vektra/mockery/issues/757) from LandonTClipp/go\_mod\_version - [`2c2727b`](2c2727b
) Set go.mod to go 1.22 ### [`v2.40.3`](https://github.com/vektra/mockery/releases/tag/v2.40.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.40.2...v2.40.3) #### Changelog - [`3b76444`](3b76444
) Dockerfile: up go version to 1.22 - [`cd5cc5a`](cd5cc5a
) Merge pull request [#​755](https://github.com/vektra/mockery/issues/755) from ifross89/patch-1 ### [`v2.40.2`](https://github.com/vektra/mockery/releases/tag/v2.40.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.40.1...v2.40.2) #### Changelog - [`f513d5d`](f513d5d
) Merge pull request [#​753](https://github.com/vektra/mockery/issues/753) from viktorasm/fix-upgrade-x-tools - [`116a183`](116a183
) update pipeline to test on current ant previous versions - [`2147419`](2147419
) upgrade X tools to fix panic crash in go 1.22 ### [`v2.40.1`](https://github.com/vektra/mockery/releases/tag/v2.40.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.40.0...v2.40.1) #### Changelog - [`d119c66`](d119c66
) Add test that asserts mocks on variadic return functions are behaving correctly - [`b6625de`](b6625de
) Merge branch 'master' into nicovak/fix-707 - [`4854efd`](4854efd
) Merge pull request [#​719](https://github.com/vektra/mockery/issues/719) from nicovak/nicovak/fix-707 - [`a032aa0`](a032aa0
) fix: issue 707 ### [`v2.40.0`](https://github.com/vektra/mockery/releases/tag/v2.40.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.39.2...v2.40.0) #### Changelog - [`1c18f44`](1c18f44
) Generate mock build constraints - [`2502f52`](2502f52
) Merge pull request [#​693](https://github.com/vektra/mockery/issues/693) from mcdoker18/fix/691 - [`58b0c4c`](58b0c4c
) code review fixes ### [`v2.39.2`](https://github.com/vektra/mockery/releases/tag/v2.39.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.39.1...v2.39.2) #### Changelog - [`0267602`](0267602
) Merge pull request [#​746](https://github.com/vektra/mockery/issues/746) from LandonTClipp/master - [`138d507`](138d507
) Update mkdocs.yml - [`6630b9e`](6630b9e
) Update mkdocs.yml - [`f5f6808`](f5f6808
) add google analytics env to build step - [`05ac09b`](05ac09b
) fix GOOGLE\_ANALYTICS\_KEY ### [`v2.39.1`](https://github.com/vektra/mockery/releases/tag/v2.39.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.39.0...v2.39.1) #### Changelog - [`5c62fda`](5c62fda
) Add MongoDB as user of mockery - [`a199cfb`](a199cfb
) Add clarification on internal error - [`5254b81`](5254b81
) Merge pull request [#​741](https://github.com/vektra/mockery/issues/741) from LandonTClipp/clarification - [`b9df18e`](b9df18e
) Merge pull request [#​742](https://github.com/vektra/mockery/issues/742) from LandonTClipp/mongo ### [`v2.39.0`](https://github.com/vektra/mockery/releases/tag/v2.39.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.38.0...v2.39.0) #### Changelog - [`b248492`](b248492
) Don't recurse into submodules on `recursive: true` - [`4f9dc15`](4f9dc15
) Merge pull request [#​740](https://github.com/vektra/mockery/issues/740) from LandonTClipp/monorepo ### [`v2.38.0`](https://github.com/vektra/mockery/releases/tag/v2.38.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.37.1...v2.38.0) #### Changelog - [`446e0bf`](446e0bf
) Merge pull request [#​736](https://github.com/vektra/mockery/issues/736) from mateusmarquezini/issue\_729 - [`445f73c`](445f73c
) added new check for no return values - [`8e778e0`](8e778e0
) created a new test to cover the new condition when the test panics [#​729](https://github.com/vektra/mockery/issues/729) - [`d0fa1f9`](d0fa1f9
) improvements after code review [#​729](https://github.com/vektra/mockery/issues/729) - [`432134c`](432134c
) improvements after code review [#​729](https://github.com/vektra/mockery/issues/729) ### [`v2.37.1`](https://github.com/vektra/mockery/releases/tag/v2.37.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.37.0...v2.37.1) #### Changelog - [`c7a65e2`](c7a65e2
) Merge pull request [#​734](https://github.com/vektra/mockery/issues/734) from vektra/revert-731-walk-skips-modules - [`fa5b6cb`](fa5b6cb
) Revert "Don't recurse into submodules" ### [`v2.37.0`](https://github.com/vektra/mockery/releases/tag/v2.37.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.36.1...v2.37.0) #### Changelog - [`fc10b9c`](fc10b9c
) Don't recurse into submodule - [`0e27e93`](0e27e93
) Merge pull request [#​731](https://github.com/vektra/mockery/issues/731) from devnev/walk-skips-modules - [`0c5b6a4`](0c5b6a4
) add note in docs about go.mod skipping ### [`v2.36.1`](https://github.com/vektra/mockery/releases/tag/v2.36.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.36.0...v2.36.1) #### Changelog - [`b648c23`](b648c23
) Add additional test - [`0310201`](0310201
) Add fix for showconfig command - [`d3515d1`](d3515d1
) Fix bug with sub-package inheritance - [`77064ad`](77064ad
) Fix config bug where mockery crashes when package map is nil - [`5978bc5`](5978bc5
) Fix test with config initialization - [`deb4860`](deb4860
) Merge pull request [#​730](https://github.com/vektra/mockery/issues/730) from LandonTClipp/issue\_726 - [`e86d230`](e86d230
) Simplifying some config in interface copying code - [`726d76c`](726d76c
) Update running.md - [`2dd8f00`](2dd8f00
) Use gotestsum for better testing output ### [`v2.36.0`](https://github.com/vektra/mockery/releases/tag/v2.36.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.35.4...v2.36.0) #### Changelog - [`5d48467`](5d48467
) Add exclude-regex to config - [`25befa2`](25befa2
) Cover error conditions in tests - [`b919710`](b919710
) Merge pull request [#​720](https://github.com/vektra/mockery/issues/720) from kbolino/718-exclude-regex - [`e8ebf52`](e8ebf52
) Refactor Config.ShouldGenerateInterface ### [`v2.35.4`](https://github.com/vektra/mockery/releases/tag/v2.35.4) [Compare Source](https://github.com/vektra/mockery/compare/v2.35.3...v2.35.4) #### Changelog - [`8939c75`](8939c75
) Update release to use Go 1.21 ### [`v2.35.3`](https://github.com/vektra/mockery/releases/tag/v2.35.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.35.2...v2.35.3) #### Changelog - [`9d79f3a`](9d79f3a
) fix docs ### [`v2.35.2`](https://github.com/vektra/mockery/releases/tag/v2.35.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.35.1...v2.35.2) #### Changelog - [`ee33b3d`](ee33b3d
) - take type in account when using import replace types - check more specific replace types first - [`246df9d`](246df9d
) Merge pull request [#​710](https://github.com/vektra/mockery/issues/710) from RangelReale/replace-types-specific ### [`v2.35.1`](https://github.com/vektra/mockery/releases/tag/v2.35.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.35.0...v2.35.1) #### Changelog - [`f54eea9`](f54eea9
) update doc formatting for deprecated variables ### [`v2.35.0`](https://github.com/vektra/mockery/releases/tag/v2.35.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.34.2...v2.35.0) #### Changelog - [`6c20c91`](6c20c91
) Merge pull request [#​705](https://github.com/vektra/mockery/issues/705) from SirSova/feature/702 - [`7e62022`](7e62022
) add deprecations for custom InterfaceName template variables - [`344a291`](344a291
) add new template funcs - [`2835751`](2835751
) fix doc syntax of new functions - [`d094664`](d094664
) remove "title" func - [`8b0b6a3`](8b0b6a3
) return back "strcase" functions for InterfaceName ### [`v2.34.2`](https://github.com/vektra/mockery/releases/tag/v2.34.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.34.1...v2.34.2) #### Changelog - [`b6f77ea`](b6f77ea
) Dockerfile: up go version to 1.21 - [`1ffe649`](1ffe649
) Merge pull request [#​717](https://github.com/vektra/mockery/issues/717) from evsamsonov/docker-up-go-version ### [`v2.34.1`](https://github.com/vektra/mockery/releases/tag/v2.34.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.34.0...v2.34.1) #### Changelog - [`3871351`](3871351
) Add Amazon as user of mockery - [`ba9fb21`](ba9fb21
) Disable `max-width` for docs, add table sorting - [`0749788`](0749788
) Merge pull request [#​714](https://github.com/vektra/mockery/issues/714) from LandonTClipp/width - [`37f1efc`](37f1efc
) Remove unnecessary attributes ### [`v2.34.0`](https://github.com/vektra/mockery/releases/tag/v2.34.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.33.3...v2.34.0) #### Changelog - [`6ebdb50`](6ebdb50
) Add docs for `exclude` - [`a4a945a`](a4a945a
) Merge pull request [#​709](https://github.com/vektra/mockery/issues/709) from kpaulisse/kpaulisse-packages-excludes - [`8262d05`](8262d05
) Merge pull request [#​711](https://github.com/vektra/mockery/issues/711) from LandonTClipp/exclude\_docs - [`6a48ff3`](6a48ff3
) Support "exclude" in package config - [`1407ff8`](1407ff8
) Update error to use NewStackErrf ### [`v2.33.3`](https://github.com/vektra/mockery/releases/tag/v2.33.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.33.2...v2.33.3) #### Changelog - [`6f51f40`](6f51f40
) Add config examples to migration docs - [`72c48ed`](72c48ed
) Merge pull request [#​704](https://github.com/vektra/mockery/issues/704) from LandonTClipp/migration\_docs ### [`v2.33.2`](https://github.com/vektra/mockery/releases/tag/v2.33.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.33.1...v2.33.2) #### Changelog - [`4e964a8`](4e964a8
) Merge pull request [#​699](https://github.com/vektra/mockery/issues/699) from jokly/master - [`09e78f7`](09e78f7
) add a separate test - [`80c5909`](80c5909
) fix expecter and void rolled varaidic - [`73a6a6f`](73a6a6f
) generate variadic call by template ### [`v2.33.1`](https://github.com/vektra/mockery/releases/tag/v2.33.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.33.0...v2.33.1) #### Changelog - [`1bcc958`](1bcc958
) Add gcc to docker for projects with cgo - [`74e483d`](74e483d
) Merge pull request [#​694](https://github.com/vektra/mockery/issues/694) from jokly/master - [`8965d12`](8965d12
) Merge pull request [#​698](https://github.com/vektra/mockery/issues/698) from LandonTClipp/badcode - [`6111fde`](6111fde
) Minor refactor of ShouldGenerateInterface - [`b9a1e11`](b9a1e11
) Remove code that was not being used ### [`v2.33.0`](https://github.com/vektra/mockery/releases/tag/v2.33.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.32.4...v2.33.0) #### Changelog - [`15d6920`](15d6920
) Add support for `include-regex` option. - [`6ada211`](6ada211
) Merge pull request [#​692](https://github.com/vektra/mockery/issues/692) from leaanthony-sc/684\_include\_regex - [`b83433d`](b83433d
) Update documentation. Format tables. ### [`v2.32.4`](https://github.com/vektra/mockery/releases/tag/v2.32.4) [Compare Source](https://github.com/vektra/mockery/compare/v2.32.3...v2.32.4) #### Changelog - [`871f904`](871f904
) Add e2e tests for issue [#​681](https://github.com/vektra/mockery/issues/681) - [`72eb146`](72eb146
) Add error log for unsupported config - [`2046503`](2046503
) Merge pull request [#​683](https://github.com/vektra/mockery/issues/683) from LandonTClipp/issue\_681\_e2e - [`8abb702`](8abb702
) Merge pull request [#​686](https://github.com/vektra/mockery/issues/686) from LandonTClipp/issue\_685 ### [`v2.32.3`](https://github.com/vektra/mockery/releases/tag/v2.32.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.32.2...v2.32.3) #### Changelog - [`3b725d9`](3b725d9
) Include auto-generated files in recursive discovery by default - [`dbad753`](dbad753
) Merge pull request [#​682](https://github.com/vektra/mockery/issues/682) from LandonTClipp/issue\_681 - [`b70c07a`](b70c07a
) Update documentation for `include-auto-generated` ### [`v2.32.2`](https://github.com/vektra/mockery/releases/tag/v2.32.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.32.1...v2.32.2) #### Changelog - [`532f248`](532f248
) Update documentation.yml ### [`v2.32.1`](https://github.com/vektra/mockery/releases/tag/v2.32.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.32.0...v2.32.1) #### Changelog - [`400f162`](400f162
) Update users list ### [`v2.32.0`](https://github.com/vektra/mockery/releases/tag/v2.32.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.31.4...v2.32.0) #### Changelog - [`5e1ff90`](5e1ff90
) Adds InterfaceNameLower as a templating variable - [`ffc7a42`](ffc7a42
) Adds InterfaceNameLower to docs - [`6e6efc2`](6e6efc2
) Fixes spelling - [`8c06cfc`](8c06cfc
) Merge pull request [#​672](https://github.com/vektra/mockery/issues/672) from hohmannr/feat/interface-name-lower ### [`v2.31.4`](https://github.com/vektra/mockery/releases/tag/v2.31.4) [Compare Source](https://github.com/vektra/mockery/compare/v2.31.3...v2.31.4) #### Changelog - [`b5592d6`](b5592d6
) fix installation again (code block needs to be in javascript) ### [`v2.31.3`](https://github.com/vektra/mockery/releases/tag/v2.31.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.31.2...v2.31.3) #### Changelog - [`903445b`](903445b
) fix installation docs ### [`v2.31.2`](https://github.com/vektra/mockery/releases/tag/v2.31.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.31.1...v2.31.2) #### Changelog - [`8385b8c`](8385b8c
) Merge pull request [#​669](https://github.com/vektra/mockery/issues/669) from OrHayat/docs\_go\_install\_fetch\_latest\_release - [`4a425a8`](4a425a8
) installation docs will fetch latest relase from github api and inject it into go install command - [`6399f5b`](6399f5b
) update configuration docs ### [`v2.31.1`](https://github.com/vektra/mockery/releases/tag/v2.31.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.31.0...v2.31.1) #### Changelog - [`c72170a`](c72170a
) Update examples.md ### [`v2.31.0`](https://github.com/vektra/mockery/releases/tag/v2.31.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.18...v2.31.0) #### Changelog - [`a43101b`](a43101b
) Add deprecation notice for old config style - [`7696d20`](7696d20
) Merge pull request [#​668](https://github.com/vektra/mockery/issues/668) from LandonTClipp/deprecation ### [`v2.30.18`](https://github.com/vektra/mockery/releases/tag/v2.30.18) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.17...v2.30.18) #### Changelog - [`0d3aeea`](0d3aeea
) Fix goreleaser config deprecation - [`7a91185`](7a91185
) Merge pull request [#​667](https://github.com/vektra/mockery/issues/667) from LandonTClipp/goreleaser ### [`v2.30.17`](https://github.com/vektra/mockery/compare/v2.30.16...v2.30.17) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.16...v2.30.17) ### [`v2.30.16`](https://github.com/vektra/mockery/releases/tag/v2.30.16) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.15...v2.30.16) #### Changelog - [`15a4f69`](15a4f69
) [#​648](https://github.com/vektra/mockery/issues/648): add tests - [`2a69b15`](2a69b15
) [#​648](https://github.com/vektra/mockery/issues/648): fix invalid code generation when interface method parameter's name is the same as interface name - [`97cd18b`](97cd18b
) Merge pull request [#​649](https://github.com/vektra/mockery/issues/649) from kozmod/bugfix/648\_fix\_method\_args\_generation ### [`v2.30.15`](https://github.com/vektra/mockery/releases/tag/v2.30.15) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.14...v2.30.15) #### Changelog - [`d219b89`](d219b89
) updates ### [`v2.30.14`](https://github.com/vektra/mockery/releases/tag/v2.30.14) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.13...v2.30.14) #### Changelog - [`4f94538`](4f94538
) updates ### [`v2.30.13`](https://github.com/vektra/mockery/releases/tag/v2.30.13) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.12...v2.30.13) #### Changelog - [`f43a9bb`](f43a9bb
) updates to docs ### [`v2.30.12`](https://github.com/vektra/mockery/releases/tag/v2.30.12) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.11...v2.30.12) #### Changelog - [`2810894`](2810894
) build docs only for minor version ### [`v2.30.11`](https://github.com/vektra/mockery/releases/tag/v2.30.11) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.10...v2.30.11) #### Changelog - [`c5063c7`](c5063c7
) Correct typos in docs - [`78607b7`](78607b7
) Fixing links with versioned docs - [`0fb1cfc`](0fb1cfc
) Merge pull request [#​658](https://github.com/vektra/mockery/issues/658) from alexandear/correct-docs-typo ### [`v2.30.10`](https://github.com/vektra/mockery/releases/tag/v2.30.10) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.9...v2.30.10) #### Changelog - [`adead84`](adead84
) Update mkdocs.yml ### [`v2.30.9`](https://github.com/vektra/mockery/releases/tag/v2.30.9) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.8...v2.30.9) #### Changelog - [`55c3920`](55c3920
) Update documentation.yml ### [`v2.30.8`](https://github.com/vektra/mockery/compare/v2.30.7...v2.30.8) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.7...v2.30.8) ### [`v2.30.7`](https://github.com/vektra/mockery/releases/tag/v2.30.7) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.6...v2.30.7) #### Changelog - [`55c3920`](55c3920
) Update documentation.yml ### [`v2.30.6`](https://github.com/vektra/mockery/releases/tag/v2.30.6) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.5...v2.30.6) #### Changelog - [`567d722`](567d722
) Update documentation.yml ### [`v2.30.5`](https://github.com/vektra/mockery/releases/tag/v2.30.5) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.4...v2.30.5) #### Changelog - [`44ddbc2`](44ddbc2
) Update documentation.yml ### [`v2.30.4`](https://github.com/vektra/mockery/releases/tag/v2.30.4) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.3...v2.30.4) #### Changelog - [`6c8fb71`](6c8fb71
) Update documentation.yml ### [`v2.30.3`](https://github.com/vektra/mockery/releases/tag/v2.30.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.2...v2.30.3) #### Changelog - [`5cfebcb`](5cfebcb
) Add mike versioning to docs - [`e97a258`](e97a258
) Chore: Update version in the docs. - [`f4a0a36`](f4a0a36
) Merge pull request [#​641](https://github.com/vektra/mockery/issues/641) from CoolGoose/patch-1 - [`ec88c00`](ec88c00
) Merge pull request [#​645](https://github.com/vektra/mockery/issues/645) from vektra/LandonTClipp-patch-1 - [`8cb1114`](8cb1114
) Merge pull request [#​652](https://github.com/vektra/mockery/issues/652) from LandonTClipp/mike - [`0a35012`](0a35012
) Merge pull request [#​653](https://github.com/vektra/mockery/issues/653) from vektra/LandonTClipp-patch-1 - [`9c9f846`](9c9f846
) Merge pull request [#​654](https://github.com/vektra/mockery/issues/654) from vektra/LandonTClipp-patch-1 - [`73c5411`](73c5411
) Merge pull request [#​655](https://github.com/vektra/mockery/issues/655) from vektra/LandonTClipp-patch-1 - [`75252f4`](75252f4
) Merge pull request [#​656](https://github.com/vektra/mockery/issues/656) from vektra/LandonTClipp-patch-1 - [`9a4a94d`](9a4a94d
) Update CONTRIBUTING.md - [`5663573`](5663573
) Update and rename static.yml to documentation.yml - [`f62e9aa`](f62e9aa
) Update docs for issue [#​391](https://github.com/vektra/mockery/issues/391) - [`a3fba0c`](a3fba0c
) Update documentation.yml - [`dedf67d`](dedf67d
) Update features.md - [`cc3d18e`](cc3d18e
) Update requirements.txt - [`9dec7c7`](9dec7c7
) Update static.yml - [`911ab4d`](911ab4d
) Update static.yml - [`d406627`](d406627
) Update static.yml - [`45b5169`](45b5169
) Update static.yml - [`3f9cb26`](3f9cb26
) typo in docs ### [`v2.30.2`](https://github.com/vektra/mockery/releases/tag/v2.30.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.1...v2.30.2) #### Changelog - [`5cfebcb`](5cfebcb
) Add mike versioning to docs - [`e97a258`](e97a258
) Chore: Update version in the docs. - [`f4a0a36`](f4a0a36
) Merge pull request [#​641](https://github.com/vektra/mockery/issues/641) from CoolGoose/patch-1 - [`ec88c00`](ec88c00
) Merge pull request [#​645](https://github.com/vektra/mockery/issues/645) from vektra/LandonTClipp-patch-1 - [`8cb1114`](8cb1114
) Merge pull request [#​652](https://github.com/vektra/mockery/issues/652) from LandonTClipp/mike - [`0a35012`](0a35012
) Merge pull request [#​653](https://github.com/vektra/mockery/issues/653) from vektra/LandonTClipp-patch-1 - [`9c9f846`](9c9f846
) Merge pull request [#​654](https://github.com/vektra/mockery/issues/654) from vektra/LandonTClipp-patch-1 - [`73c5411`](73c5411
) Merge pull request [#​655](https://github.com/vektra/mockery/issues/655) from vektra/LandonTClipp-patch-1 - [`75252f4`](75252f4
) Merge pull request [#​656](https://github.com/vektra/mockery/issues/656) from vektra/LandonTClipp-patch-1 - [`9a4a94d`](9a4a94d
) Update CONTRIBUTING.md - [`5663573`](5663573
) Update and rename static.yml to documentation.yml - [`f62e9aa`](f62e9aa
) Update docs for issue [#​391](https://github.com/vektra/mockery/issues/391) - [`a3fba0c`](a3fba0c
) Update documentation.yml - [`dedf67d`](dedf67d
) Update features.md - [`cc3d18e`](cc3d18e
) Update requirements.txt - [`9dec7c7`](9dec7c7
) Update static.yml - [`911ab4d`](911ab4d
) Update static.yml - [`d406627`](d406627
) Update static.yml - [`45b5169`](45b5169
) Update static.yml - [`3f9cb26`](3f9cb26
) typo in docs ### [`v2.30.1`](https://github.com/vektra/mockery/releases/tag/v2.30.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.0...v2.30.1) #### Changelog - [`365d1b5`](365d1b5
) Merge pull request [#​638](https://github.com/vektra/mockery/issues/638) from cszczepaniak/cs/remove\_pkg\_errors - [`99c9dd8`](99c9dd8
) add GetStack and tests to stackerr pkg - [`a143b36`](a143b36
) add stackerr for stack traces - [`935b51d`](935b51d
) remove pkg errors dep - [`1ca3fd7`](1ca3fd7
) replace usages of pkg/errors ### [`v2.30.0`](https://github.com/vektra/mockery/releases/tag/v2.30.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.29.0...v2.30.0) #### Changelog - [`7d5b1fc`](7d5b1fc
) Fixing mockery infinitely generating interfaces - [`e85f2c0`](e85f2c0
) Merge pull request [#​640](https://github.com/vektra/mockery/issues/640) from LandonTClipp/issue\_632 - [`d667a59`](d667a59
) Update changelog.md ### [`v2.29.0`](https://github.com/vektra/mockery/releases/tag/v2.29.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.28.2...v2.29.0) #### Changelog - [`0f20101`](0f20101
) Add "tex/template" functions to outputter and generator These templates function allow for in-config "path" manipulation within the template rendering logic. This will allow for a much more flexible control over where written Mocks end up. - [`0fd4361`](0fd4361
) Merge pull request [#​639](https://github.com/vektra/mockery/issues/639) from jippi/fix-path ### [`v2.28.2`](https://github.com/vektra/mockery/releases/tag/v2.28.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.28.1...v2.28.2) #### Changelog - [`7a3849d`](7a3849d
) Add link to docs for empty package directory error - [`1baf2ee`](1baf2ee
) Merge pull request [#​637](https://github.com/vektra/mockery/issues/637) from LandonTClipp/issue\_611 - [`b98dd8b`](b98dd8b
) Update notes.md - [`70c778d`](70c778d
) Update notes.md ### [`v2.28.1`](https://github.com/vektra/mockery/releases/tag/v2.28.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.28.0...v2.28.1) #### Changelog - [`423eab1`](423eab1
) Merge pull request [#​635](https://github.com/vektra/mockery/issues/635) from adolsalamanca/adol/fix-pathlib-version - [`2c4bf4d`](2c4bf4d
) fix pathlib version ### [`v2.28.0`](https://github.com/vektra/mockery/releases/tag/v2.28.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.27.1...v2.28.0) #### Changelog - [`311c394`](311c394
) Add reference to packages feature section - [`0e49266`](0e49266
) Merge pull request [#​627](https://github.com/vektra/mockery/issues/627) from almas1992/patch-1 - [`d0c93f6`](d0c93f6
) Merge pull request [#​629](https://github.com/vektra/mockery/issues/629) from dillonstreator/expecter-structs-with-rolled-variadics - [`425c292`](425c292
) Update examples.md - [`15a308a`](15a308a
) adjust testing pattern - [`b964d01`](b964d01
) clarify variadic docs - [`db3556e`](db3556e
) fix broken link - [`fe8de93`](fe8de93
) fix packages docs - [`25091d2`](25091d2
) support rolled variadics with expecter structs - [`ae9feff`](ae9feff
) test should use require and remove incorrect messages ### [`v2.27.1`](https://github.com/vektra/mockery/releases/tag/v2.27.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.27.0...v2.27.1) #### Changelog - [`57df870`](57df870
) Merge pull request [#​626](https://github.com/vektra/mockery/issues/626) from LandonTClipp/packages\_beta - [`6359747`](6359747
) Move `packages` to a beta state - [`b1a302a`](b1a302a
) Update features.md - [`b3d99dd`](b3d99dd
) Update migrating\_to\_packages.md ### [`v2.27.0`](https://github.com/vektra/mockery/releases/tag/v2.27.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.26.1...v2.27.0) #### Changelog - [`66f7b66`](66f7b66
) Add InterfaceDirRelative template variable - [`fd7a1ab`](fd7a1ab
) Add docs for `boilerplate-file` - [`18a0dba`](18a0dba
) Add packages migration docs - [`1c1eeea`](1c1eeea
) Merge pull request [#​615](https://github.com/vektra/mockery/issues/615) from neverbeenthisweeb/neverbeenthisweeb/613-remove-debug-msg - [`587e962`](587e962
) Merge pull request [#​620](https://github.com/vektra/mockery/issues/620) from vektra/docs - [`05d270e`](05d270e
) Merge pull request [#​622](https://github.com/vektra/mockery/issues/622) from LandonTClipp/migration - [`f9586f1`](f9586f1
) Merge pull request [#​625](https://github.com/vektra/mockery/issues/625) from LandonTClipp/issue\_623 - [`4c99dea`](4c99dea
) Remove debug log - [`0e520a4`](0e520a4
) fix extra pipe </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMTcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/658 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org> Co-authored-by: Renovate Bot <bot@kriese.eu> Co-committed-by: Renovate Bot <bot@kriese.eu>
140 lines
3.9 KiB
Makefile
140 lines
3.9 KiB
Makefile
DIST := dist
|
|
EXECUTABLE := forgejo-runner
|
|
GOFMT ?= gofumpt -l
|
|
DIST := dist
|
|
DIST_DIRS := $(DIST)/binaries $(DIST)/release
|
|
GO ?= $(shell go env GOROOT)/bin/go
|
|
SHASUM ?= shasum -a 256
|
|
HAS_GO = $(shell hash $(GO) > /dev/null 2>&1 && echo "GO" || echo "NOGO" )
|
|
|
|
LINUX_ARCHS ?= linux/amd64,linux/arm64
|
|
DARWIN_ARCHS ?= darwin-12/amd64,darwin-12/arm64
|
|
WINDOWS_ARCHS ?= windows/amd64
|
|
GO_FMT_FILES := $(shell find . -type f -name "*.go" ! -name "generated.*")
|
|
GOFILES := $(shell find . -type f -name "*.go" -o -name "go.mod" ! -name "generated.*")
|
|
|
|
MOCKERY_PACKAGE ?= github.com/vektra/mockery/v2@v2.53.4 # renovate: datasource=go
|
|
|
|
DOCKER_IMAGE ?= gitea/act_runner
|
|
DOCKER_TAG ?= nightly
|
|
DOCKER_REF := $(DOCKER_IMAGE):$(DOCKER_TAG)
|
|
DOCKER_ROOTLESS_REF := $(DOCKER_IMAGE):$(DOCKER_TAG)-dind-rootless
|
|
|
|
EXTLDFLAGS = -extldflags "-static" $(null)
|
|
|
|
ifeq ($(HAS_GO), GO)
|
|
GOPATH ?= $(shell $(GO) env GOPATH)
|
|
export PATH := $(GOPATH)/bin:$(PATH)
|
|
|
|
CGO_EXTRA_CFLAGS := -DSQLITE_MAX_VARIABLE_NUMBER=32766
|
|
CGO_CFLAGS ?= $(shell $(GO) env CGO_CFLAGS) $(CGO_EXTRA_CFLAGS)
|
|
endif
|
|
|
|
ifeq ($(OS), Windows_NT)
|
|
GOFLAGS := -v -buildmode=exe
|
|
EXECUTABLE ?= $(EXECUTABLE).exe
|
|
else ifeq ($(OS), Windows)
|
|
GOFLAGS := -v -buildmode=exe
|
|
EXECUTABLE ?= $(EXECUTABLE).exe
|
|
else
|
|
GOFLAGS := -v
|
|
EXECUTABLE ?= $(EXECUTABLE)
|
|
endif
|
|
|
|
STORED_VERSION_FILE := VERSION
|
|
|
|
ifneq ($(DRONE_TAG),)
|
|
VERSION ?= $(subst v,,$(DRONE_TAG))
|
|
RELEASE_VERSION ?= $(VERSION)
|
|
else
|
|
ifneq ($(DRONE_BRANCH),)
|
|
VERSION ?= $(subst release/v,,$(DRONE_BRANCH))
|
|
else
|
|
VERSION ?= main
|
|
endif
|
|
|
|
STORED_VERSION=$(shell cat $(STORED_VERSION_FILE) 2>/dev/null)
|
|
ifneq ($(STORED_VERSION),)
|
|
RELEASE_VERSION ?= $(STORED_VERSION)
|
|
else
|
|
RELEASE_VERSION ?= $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
|
|
endif
|
|
endif
|
|
|
|
GO_PACKAGES_TO_VET ?= $(filter-out gitea.com/gitea/act_runner/internal/pkg/client/mocks,$(shell $(GO) list ./...))
|
|
|
|
|
|
TAGS ?=
|
|
LDFLAGS ?= -X "gitea.com/gitea/act_runner/internal/pkg/ver.version=v$(RELEASE_VERSION)"
|
|
|
|
all: build
|
|
|
|
fmt:
|
|
@hash gofumpt > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
|
$(GO) install mvdan.cc/gofumpt@latest; \
|
|
fi
|
|
$(GOFMT) -w $(GO_FMT_FILES)
|
|
|
|
.PHONY: go-check
|
|
go-check:
|
|
$(eval MIN_GO_VERSION_STR := $(shell grep -Eo '^go\s+[0-9]+\.[0-9]+' go.mod | cut -d' ' -f2))
|
|
$(eval MIN_GO_VERSION := $(shell printf "%03d%03d" $(shell echo '$(MIN_GO_VERSION_STR)' | tr '.' ' ')))
|
|
$(eval GO_VERSION := $(shell printf "%03d%03d" $(shell $(GO) version | grep -Eo '[0-9]+\.[0-9]+' | tr '.' ' ');))
|
|
@if [ "$(GO_VERSION)" -lt "$(MIN_GO_VERSION)" ]; then \
|
|
echo "Act Runner requires Go $(MIN_GO_VERSION_STR) or greater to build. You can get it at https://go.dev/dl/"; \
|
|
exit 1; \
|
|
fi
|
|
|
|
.PHONY: fmt-check
|
|
fmt-check:
|
|
@hash gofumpt > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
|
$(GO) install mvdan.cc/gofumpt@latest; \
|
|
fi
|
|
@diff=$$($(GOFMT) -d $(GO_FMT_FILES)); \
|
|
if [ -n "$$diff" ]; then \
|
|
echo "Please run 'make fmt' and commit the result:"; \
|
|
echo "$${diff}"; \
|
|
exit 1; \
|
|
fi;
|
|
|
|
test: fmt-check
|
|
@$(GO) test -v -cover -coverprofile coverage.txt ./... && echo "\n==>\033[32m Ok\033[m\n" || exit 1
|
|
|
|
.PHONY: vet
|
|
vet:
|
|
@echo "Running go vet..."
|
|
@$(GO) vet $(GO_PACKAGES_TO_VET)
|
|
|
|
.PHONY: generate
|
|
generate:
|
|
$(GO) generate ./...
|
|
|
|
install: $(GOFILES)
|
|
$(GO) install -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)'
|
|
|
|
build: go-check $(EXECUTABLE)
|
|
|
|
$(EXECUTABLE): $(GOFILES)
|
|
$(GO) build -v -tags 'netgo osusergo $(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)' -o $@
|
|
|
|
.PHONY: deps-tools
|
|
deps-tools:
|
|
$(GO) install $(MOCKERY_PACKAGE)
|
|
|
|
$(DIST_DIRS):
|
|
mkdir -p $(DIST_DIRS)
|
|
|
|
.PHONY: docker
|
|
docker:
|
|
if ! docker buildx version >/dev/null 2>&1; then \
|
|
ARG_DISABLE_CONTENT_TRUST=--disable-content-trust=false; \
|
|
fi; \
|
|
docker build $${ARG_DISABLE_CONTENT_TRUST} -t $(DOCKER_REF) .
|
|
docker build $${ARG_DISABLE_CONTENT_TRUST} -t $(DOCKER_ROOTLESS_REF) -f Dockerfile.rootless .
|
|
|
|
clean:
|
|
$(GO) clean -x -i ./...
|
|
rm -rf coverage.txt $(EXECUTABLE) $(DIST)
|
|
|
|
version:
|
|
@echo $(VERSION)
|