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: go-openapi/testify
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.7.0
Choose a base ref
...
head repository: go-openapi/testify
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.8.0
Choose a head ref
  • 13 commits
  • 132 files changed
  • 4 contributors

Commits on Aug 24, 2026

  1. chore(dependabot): fix invalid timezone

    Signed-off-by: fredbi <fredbi@yahoo.com>
    fredbi authored Aug 24, 2026
    Configuration menu
    Copy the full SHA
    eb3ca98 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2026

  1. chore(deps): bump the development-dependencies group across 1 directoâ€Ķ

    â€Ķry with 9 updates
    
    Bumps the development-dependencies group with 9 updates in the / directory:
    
    | Package | From | To |
    | --- | --- | --- |
    | [go-openapi/ci-workflows/.github/workflows/auto-merge.yml](https://github.com/go-openapi/ci-workflows) | `0.6.0` | `0.6.1` |
    | [go-openapi/ci-workflows/.github/workflows/bump-release-monorepo.yml](https://github.com/go-openapi/ci-workflows) | `0.6.0` | `0.6.1` |
    | [go-openapi/ci-workflows/.github/workflows/codeql.yml](https://github.com/go-openapi/ci-workflows) | `0.6.0` | `0.6.1` |
    | [go-openapi/ci-workflows/.github/workflows/contributors.yml](https://github.com/go-openapi/ci-workflows) | `0.6.0` | `0.6.1` |
    | [go-openapi/ci-workflows/.github/workflows/go-test-monorepo.yml](https://github.com/go-openapi/ci-workflows) | `0.6.0` | `0.6.1` |
    | [go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml](https://github.com/go-openapi/ci-workflows) | `0.6.0` | `0.6.1` |
    | [go-openapi/ci-workflows/.github/workflows/scanner.yml](https://github.com/go-openapi/ci-workflows) | `0.6.0` | `0.6.1` |
    | [go-openapi/ci-workflows/.github/workflows/release.yml](https://github.com/go-openapi/ci-workflows) | `0.6.0` | `0.6.1` |
    | [go-openapi/ci-workflows/.github/workflows/webhook-announcements.yml](https://github.com/go-openapi/ci-workflows) | `0.6.0` | `0.6.1` |
    
    
    
    Updates `go-openapi/ci-workflows/.github/workflows/auto-merge.yml` from 0.6.0 to 0.6.1
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@81c95ab...38ed6bf)
    
    Updates `go-openapi/ci-workflows/.github/workflows/bump-release-monorepo.yml` from 0.6.0 to 0.6.1
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@81c95ab...38ed6bf)
    
    Updates `go-openapi/ci-workflows/.github/workflows/codeql.yml` from 0.6.0 to 0.6.1
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@81c95ab...38ed6bf)
    
    Updates `go-openapi/ci-workflows/.github/workflows/contributors.yml` from 0.6.0 to 0.6.1
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@81c95ab...38ed6bf)
    
    Updates `go-openapi/ci-workflows/.github/workflows/go-test-monorepo.yml` from 0.6.0 to 0.6.1
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@81c95ab...38ed6bf)
    
    Updates `go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml` from 0.6.0 to 0.6.1
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@81c95ab...38ed6bf)
    
    Updates `go-openapi/ci-workflows/.github/workflows/scanner.yml` from 0.6.0 to 0.6.1
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@81c95ab...38ed6bf)
    
    Updates `go-openapi/ci-workflows/.github/workflows/release.yml` from 0.6.0 to 0.6.1
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@81c95ab...38ed6bf)
    
    Updates `go-openapi/ci-workflows/.github/workflows/webhook-announcements.yml` from 0.6.0 to 0.6.1
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@81c95ab...38ed6bf)
    
    ---
    updated-dependencies:
    - dependency-name: go-openapi/ci-workflows/.github/workflows/auto-merge.yml
      dependency-version: 0.6.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/bump-release-monorepo.yml
      dependency-version: 0.6.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/codeql.yml
      dependency-version: 0.6.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/contributors.yml
      dependency-version: 0.6.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/go-test-monorepo.yml
      dependency-version: 0.6.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml
      dependency-version: 0.6.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/scanner.yml
      dependency-version: 0.6.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/release.yml
      dependency-version: 0.6.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/webhook-announcements.yml
      dependency-version: 0.6.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and github-actions[bot] committed Aug 28, 2026
    Configuration menu
    Copy the full SHA
    3bc7dc0 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2026

  1. doc: updated contributors file

    Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    bot-go-openapi[bot] authored and github-actions[bot] committed Sep 1, 2026
    Configuration menu
    Copy the full SHA
    709976e View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2026

  1. chore: upgrade to go1.26 (#164)

    * remove build guards for go1.26
    * regenerate code and docs to stop distinguishing go1.26 specifics
    * lint: apply modernize
    
    > NOTE: go1.27 guards stay
    
    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi authored Sep 4, 2026
    Configuration menu
    Copy the full SHA
    9ba6261 View commit details
    Browse the repository at this point in the history
  2. chore(deps): bump actions/deploy-pages

    Bumps the development-dependencies group with 1 update in the / directory: [actions/deploy-pages](https://github.com/actions/deploy-pages).
    
    
    Updates `actions/deploy-pages` from 5.0.0 to 5.0.1
    - [Release notes](https://github.com/actions/deploy-pages/releases)
    - [Commits](actions/deploy-pages@cd2ce8f...368f825)
    
    ---
    updated-dependencies:
    - dependency-name: actions/deploy-pages
      dependency-version: 5.0.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and github-actions[bot] committed Sep 4, 2026
    Configuration menu
    Copy the full SHA
    8240109 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2026

  1. doc: updated documentation site (#166)

    * domains: defined "async" domain as a better fit than "condition" for
      all async testing assertions
    * maintainers: documented how to add a go version guard assertion; fixed
      codegen tests & go.work undue upgrade
    * other minor documentation additions
    
    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi authored Sep 5, 2026
    Configuration menu
    Copy the full SHA
    0aaa1d5 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2026

  1. feat(assertions): add options to assert.New and require.New

    assert.New(t) and require.New(t) now accept Option values. WithHunkSize
    is the only one so far: it sets how many unchanged lines the diff shows
    around each change in the failure message of Equal, EqualT, EqualValues,
    EqualExportedValues and Exactly. The default stays 1.
    
    BuildOptions folds the options into an unexported options value that the
    forward methods append to msgAndArgs, and splitArgs pulls it back out
    before the message is formatted, so it never reaches the reader. The same
    door would let a caller pass an Option straight to a top-level function;
    that case is left commented out in splitArgs, so assert.Equal(t, ...)
    keeps its signature and a hunk size of 1.
    
    Codegen:
    - the forward and format templates render the o field, the opts parameter
      on New, and the call carrying a.o; forwardArgs takes variadic extras;
    - a new "excluded:" comment tag keeps a function out of the generated
      packages, the domain pages and the metrics. BuildOptions carries it,
      since it returns an opaque any and has no business in assert/require.
    
    Refers to stretchr#1878.
    
    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_015qDqrLvtn2K5uA6RpSoHvR
    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi and claude committed Sep 7, 2026
    Configuration menu
    Copy the full SHA
    536649c View commit details
    Browse the repository at this point in the history
  2. doc(assertions): show how WithHunkSize widens the diff

    WithHunkSize said only "modifies the size of the hunk context in diff".
    It now names the five assertions that render a diff (Equal, EqualT,
    EqualValues, EqualExportedValues, Exactly), states the default of 1, the
    clamp below 1, the whole-value case above the rendered length, and shows
    the call.
    
    USAGE.md gains a "Widening the Diff Context" section under Customization,
    comparing the real output of the same struct at hunk size 1 and 4, and a
    warning that options ride on the Assertions object: assert.Equal at
    package level always uses a hunk size of 1. The Forward Methods section
    links to it.
    
    CHANGES.md records the option under Major Additions.
    
    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_015qDqrLvtn2K5uA6RpSoHvR
    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi and claude committed Sep 7, 2026
    Configuration menu
    Copy the full SHA
    6322994 View commit details
    Browse the repository at this point in the history
  3. doc: update upstream tracking for the hunk-size option

    Moves stretchr#1878 from Monitoring to Adapted, restricted to the
    forward methods, and starts monitoring stretchr#1945 (a Must
    helper returning a value when there is no error).
    
    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_015qDqrLvtn2K5uA6RpSoHvR
    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi and claude committed Sep 7, 2026
    Configuration menu
    Copy the full SHA
    369de65 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #167 from fredbi/optional-hunk-size

    Optional hunk size
    fredbi authored Sep 7, 2026
    Configuration menu
    Copy the full SHA
    dd84de6 View commit details
    Browse the repository at this point in the history
  5. doc: updated roadmap (#168)

    * landed our implementation of "hunkSize" parameterization
      (reference: stretchr#1878)
    * won't implement "require.Must": the cost of the asymmetry offset the
      expected minor conciseness gains
      (reference: stretchr#1945
    
    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi authored Sep 7, 2026
    Configuration menu
    Copy the full SHA
    2454d24 View commit details
    Browse the repository at this point in the history
  6. doc: announce release v2.8.0

    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi committed Sep 7, 2026
    Configuration menu
    Copy the full SHA
    4ca17fd View commit details
    Browse the repository at this point in the history
  7. chore: prepare release v2.8.0

    Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    bot-go-openapi[bot] authored and github-actions[bot] committed Sep 7, 2026
    Configuration menu
    Copy the full SHA
    aaa6d8b View commit details
    Browse the repository at this point in the history
Loading