← Back to Pull requests

build: Update module github.com/stretchr/testify to v1.12.1 #24

Closed
unknown closed this pull request without merging on Nov 30, 2026 06:54 UTC
View on GitHub
unknown unknown commented on Nov 30, 2026 06:34 UTC
Author

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| github.com/stretchr/testify | v1.11.1 → v1.12.1 | !age | !confidence |

---

Release Notes

<details>
<summary>stretchr/testify (github.com/stretchr/testify)</summary>

v1.12.1

Compare Source

This is the first release which has the minimum dependencies practical in testify v1. The last remaining dependencies are github.com/stretchr/objx which itself has no dependencies, and go.yaml.in/yaml/v3. Removing objx would require v2, it cannot be vendored. Removing YAML would require vendoring the yaml library, which would do more harm than good. It's better to become aware of vulnerabilities in the official yaml package than to attempt to maintain our own.

What's Changed

  • Change yaml library to go.yaml.in/yaml/v3 by @&#8203;harryzcy in #&#8203;1935

  • change yaml library to go.yaml.in/yaml/v3 by @&#8203;boekkooi-impossiblecloud in #&#8203;1772
  • New Contributors

  • @&#8203;harryzcy made their first contribution in #&#8203;1935

  • @&#8203;boekkooi-impossiblecloud made their first contribution in #&#8203;1772
  • Full Changelog: <https://github.com/stretchr/testify/compare/v1.12.0...v1.12.1>

    What's Changed

  • Change yaml library to go.yaml.in/yaml/v3 by @&#8203;harryzcy in #&#8203;1935

  • change yaml library to go.yaml.in/yaml/v3 by @&#8203;boekkooi-impossiblecloud in #&#8203;1772
  • New Contributors

  • @&#8203;harryzcy made their first contribution in #&#8203;1935

  • @&#8203;boekkooi-impossiblecloud made their first contribution in #&#8203;1772
  • Full Changelog: <https://github.com/stretchr/testify/compare/v1.12.0...v1.12.1>

    v1.12.0

    Compare Source

    What's Changed

    ##### Functional Changes

  • assert: make \AssertionFunc types just aliases by @&#8203;dolmen in #&#8203;1563
  • ##### Fixes

  • mock: avoid panic when expected type is nil in Arguments.Diff by @&#8203;mutaiib in #&#8203;1775

  • mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers by @&#8203;brackendawson in #&#8203;1786

  • suite: validate method signatures and continue execution for valid tests by @&#8203;vyas-git in #&#8203;1665

  • assert.PanicsWithError: report error message by @&#8203;olivergondza in #&#8203;1400

  • assert: IsIncreasing et al can return false w/out failing by @&#8203;brackendawson in #&#8203;1787

  • add type to error message of assert.Same by @&#8203;egawata in #&#8203;1792

  • mock.AssertExpectationsForObjects fix panic with wrong testObject type. by @&#8203;brackendawson in #&#8203;1795

  • assert: truncate very long objects in test failure messages by @&#8203;brackendawson in #&#8203;1646

  • assert: fix NotSubset error messages using %#v instead of %q (fixes #&#8203;1800) by @&#8203;nghiack7 in #&#8203;1888

  • suite: prevent panic when SetupTest skips with HandleStats by @&#8203;blackwell-systems in #&#8203;1877
  • ##### Documentation, Build & CI

  • CI: test also with Go 1.23 by @&#8203;dolmen in #&#8203;1783

  • Vendor unmaintained github.com/pmezard/go-difflib by @&#8203;brackendawson in #&#8203;1708

  • Promote ccoVeille to maintainer by @&#8203;brackendawson in #&#8203;1784

  • build(deps): bump actions/setup-go from 5 to 6 by @&#8203;dependabot\[bot] in #&#8203;1790

  • assert.YAMLEq: Document mutlidoc behavior by @&#8203;brackendawson in #&#8203;1791

  • \_codegen: copy dependency github.com/ernesto-jimenez/gogen/imports by @&#8203;dolmen in #&#8203;1782

  • doc: remove ineffective inline code blocks by @&#8203;brackendawson in #&#8203;1714

  • Tag generated assertions as non-generated in new .gitattributes by @&#8203;ubunatic in #&#8203;1815

  • chore: vendor go-spew from <https://github.com/davecgh/go-spew> by @&#8203;ccoVeille in #&#8203;1827

  • require: fix godoc generation for assertions returning a bool by @&#8203;Baxromumarov in #&#8203;1850

  • docs(require): correct example usage to use assert.CollectT (require.CollectT does not exist) by @&#8203;a2not in #&#8203;1821

  • docs: Fix EventuallyWithTf documentation with proper placement of formatting arguments by @&#8203;a2not in #&#8203;1842

  • EMERITUS.md: add @&#8203;tylerb by @&#8203;dolmen in #&#8203;1812

  • CI: test also with Go 1.24 by @&#8203;alexandear in #&#8203;1856

  • deps: bump objx to v0.5.3 and remove dependency cycle issue by @&#8203;ccoVeille in #&#8203;1823

  • CI: upgrade GitHub Actions and pin hashes by @&#8203;SuperQ in #&#8203;1883

  • CI: add \_readme-gofmt tool to reformat Go code in README by @&#8203;dolmen in #&#8203;1889

  • CI: add check of GitHub Action pinned hashes against tag by @&#8203;dolmen in #&#8203;1885

  • \_codegen: modernize by @&#8203;dolmen in #&#8203;1890

  • build(deps): bump actions/checkout from 6.0.2 to 6.0.3 by @&#8203;dependabot\[bot] in #&#8203;1906

  • mock: Mock.Return does not exist anymore by @&#8203;Kentzo in #&#8203;1905
  • New Contributors

  • @&#8203;mutaiib made their first contribution in #&#8203;1775

  • @&#8203;vyas-git made their first contribution in #&#8203;1665

  • @&#8203;olivergondza made their first contribution in #&#8203;1400

  • @&#8203;egawata made their first contribution in #&#8203;1792

  • @&#8203;ubunatic made their first contribution in #&#8203;1815

  • @&#8203;Baxromumarov made their first contribution in #&#8203;1850

  • @&#8203;a2not made their first contribution in #&#8203;1821

  • @&#8203;nghiack7 made their first contribution in #&#8203;1888

  • @&#8203;blackwell-systems made their first contribution in #&#8203;1877

  • @&#8203;Kentzo made their first contribution in #&#8203;1905
  • Full Changelog: <https://github.com/stretchr/testify/compare/v1.11.0...v1.12.0>

    What's Changed

  • mock: avoid panic when expected type is nil in Arguments.Diff by @&#8203;mutaiib in #&#8203;1775

  • CI: test also with Go 1.23 by @&#8203;dolmen in #&#8203;1783

  • mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers by @&#8203;brackendawson in #&#8203;1786

  • suite: validate method signatures and continue execution for valid tests by @&#8203;vyas-git in #&#8203;1665

  • Vendor unmaintained github.com/pmezard/go-difflib by @&#8203;brackendawson in #&#8203;1708

  • Promote ccoVeille to maintainer by @&#8203;brackendawson in #&#8203;1784

  • build(deps): bump actions/setup-go from 5 to 6 by @&#8203;dependabot\[bot] in #&#8203;1790

  • assert.PanicsWithError: report error message by @&#8203;olivergondza in #&#8203;1400

  • assert: IsIncreasing et al can return false w/out failing by @&#8203;brackendawson in #&#8203;1787

  • add type to error message of assert.Same by @&#8203;egawata in #&#8203;1792

  • assert.YAMLEq: Document mutlidoc behavior by @&#8203;brackendawson in #&#8203;1791

  • mock.AssertExpectationsForObjects fix panic with wrong testObject type. by @&#8203;brackendawson in #&#8203;1795

  • \_codegen: copy dependency github.com/ernesto-jimenez/gogen/imports by @&#8203;dolmen in #&#8203;1782

  • assert: truncate very long objects in test failure messages by @&#8203;brackendawson in #&#8203;1646

  • doc: remove ineffective inline code blocks by @&#8203;brackendawson in #&#8203;1714

  • Tag generated assertions as non-generated in new .gitattributes by @&#8203;ubunatic in #&#8203;1815

  • chore: vendor go-spew from <https://github.com/davecgh/go-spew> by @&#8203;ccoVeille in #&#8203;1827

  • require: fix godoc generation for assertions returning a bool by @&#8203;Baxromumarov in #&#8203;1850

  • docs(require): correct example usage to use assert.CollectT (require.CollectT does not exist) by @&#8203;a2not in #&#8203;1821

  • docs: Fix EventuallyWithTf documentation with proper placement of formatting arguments by @&#8203;a2not in #&#8203;1842

  • EMERITUS.md: add @&#8203;tylerb by @&#8203;dolmen in #&#8203;1812

  • CI: test also with Go 1.24 by @&#8203;alexandear in #&#8203;1856

  • deps: bump objx to v0.5.3 and remove dependency cycle issue by @&#8203;ccoVeille in #&#8203;1823

  • CI: upgrade GitHub Actions and pin hashes by @&#8203;SuperQ in #&#8203;1883

  • assert: fix NotSubset error messages using %#v instead of %q (fixes #&#8203;1800) by @&#8203;nghiack7 in #&#8203;1888

  • suite: prevent panic when SetupTest skips with HandleStats by @&#8203;blackwell-systems in #&#8203;1877

  • CI: add \_readme-gofmt tool to reformat Go code in README by @&#8203;dolmen in #&#8203;1889

  • CI: add check of GitHub Action pinned hashes against tag by @&#8203;dolmen in #&#8203;1885

  • \_codegen: modernize by @&#8203;dolmen in #&#8203;1890

  • assert: make \AssertionFunc types just aliases by @&#8203;dolmen in #&#8203;1563

  • build(deps): bump actions/checkout from 6.0.2 to 6.0.3 by @&#8203;dependabot\[bot] in #&#8203;1906

  • mock: Mock.Return does not exist anymore by @&#8203;Kentzo in #&#8203;1905
  • New Contributors

  • @&#8203;mutaiib made their first contribution in #&#8203;1775

  • @&#8203;vyas-git made their first contribution in #&#8203;1665

  • @&#8203;olivergondza made their first contribution in #&#8203;1400

  • @&#8203;egawata made their first contribution in #&#8203;1792

  • @&#8203;ubunatic made their first contribution in #&#8203;1815

  • @&#8203;Baxromumarov made their first contribution in #&#8203;1850

  • @&#8203;a2not made their first contribution in #&#8203;1821

  • @&#8203;nghiack7 made their first contribution in #&#8203;1888

  • @&#8203;blackwell-systems made their first contribution in #&#8203;1877

  • @&#8203;Kentzo made their first contribution in #&#8203;1905
  • Full Changelog: <https://github.com/stretchr/testify/compare/v1.11.0...v1.12.0>

    </details>

    ---

    Configuration

    📅 Schedule: (UTC)

  • Branch creation

  • - At any time (no schedule defined)
  • Automerge

  • - At any time (no schedule defined)

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻ Rebasing: Whenever PR is behind base branch, 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 Mend Renovate CLI.
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNjQuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjI2NC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: pjbgf Review duration: 19m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #24"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%
    Repository