Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vektra/mockery
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.32.0
Choose a base ref
...
head repository: vektra/mockery
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.32.4
Choose a head ref
  • 9 commits
  • 28 files changed
  • 1 contributor

Commits on Aug 1, 2023

  1. Update users list

    LandonTClipp committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    400f162 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    532f248 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2023

  1. Include auto-generated files in recursive discovery by default

    Fixes #681
    
    There are many legitimate use-cases where mockery needs to include auto-generated files
    in its recursive package discovery. We add an `include-auto-generated` parameter that
    is set to `true` by default, but can be set to `false` if users want to retain the
    old behavior. We are considering the old behavior to be a bug due to the large number
    of GitHub issues we'll likely get. The original motivation for adding this behavior
    was fixed through a different mechanism, which is why we're considering this to be
    a bugfix.
    LandonTClipp committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    3b725d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b70c07a View commit details
    Browse the repository at this point in the history
  3. Merge pull request #682 from LandonTClipp/issue_681

    Include auto-generated files in recursive discovery by default
    LandonTClipp authored Aug 3, 2023
    Configuration menu
    Copy the full SHA
    dbad753 View commit details
    Browse the repository at this point in the history
  4. Add e2e tests for issue #681

    This adds e2e tests for #681, which asserts packages containing only
    auto-generated files are added to the list of importable packages
    when doing recursive package discovery.
    LandonTClipp committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    871f904 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #683 from LandonTClipp/issue_681_e2e

    Add e2e tests for issue #681
    LandonTClipp authored Aug 3, 2023
    Configuration menu
    Copy the full SHA
    2046503 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. Add error log for unsupported config

    This commit will log an error message if unsupported config is being used. I have chosen not to cause mockery to return an error code because it's possible that configs using unsupported parameters are working just fine, so we don't want to break those users. Instead, the log message should hopefully get their attention, and the attention of anyone trying to migrate to packages. Also removed is the conditional used to enter into the `packages` code path. Previously it asserted that `Config.Name == ""` but this was causing more confusion than it needed to.
    
    This fixes #685
    LandonTClipp committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    72eb146 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #686 from LandonTClipp/issue_685

    Add error log for unsupported config
    LandonTClipp authored Aug 4, 2023
    Configuration menu
    Copy the full SHA
    8abb702 View commit details
    Browse the repository at this point in the history
Loading