[PR #32] [CLOSED] Update module github.com/stretchr/testify to v1.12.1 - autoclosed #35

Closed
opened 2026-10-15 12:46:51 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/fenrir/pull/32
Author: @renovate[bot]
Created: 7/13/2026
Status: ❌ Closed

Base: main ← Head: renovate/github.com-stretchr-testify-1.x


📝 Commits (1)

  • b7a0124 Update module github.com/stretchr/testify to v1.12.1

📊 Changes

2 files changed (+7 additions, -2 deletions)

View changed files

📝 go.mod (+3 -2)
📝 go.sum (+4 -0)

📄 Description

This PR contains the following updates:

Package Change Age Confidence
github.com/stretchr/testify v1.10.0 → v1.12.1 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

stretchr/testify (github.com/stretchr/testify)

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
New Contributors

Full Changelog: https://github.com/stretchr/testify/compare/v1.12.0...v1.12.1

What's Changed
New Contributors

Full Changelog: https://github.com/stretchr/testify/compare/v1.12.0...v1.12.1

v1.12.0

Compare Source

What's Changed

Functional Changes
Fixes
Documentation, Build & CI

New Contributors

Full Changelog: https://github.com/stretchr/testify/compare/v1.11.0...v1.12.0

What's Changed

New Contributors

Full Changelog: https://github.com/stretchr/testify/compare/v1.11.0...v1.12.0

v1.11.1

Compare Source

This release fixes #​1785 introduced in v1.11.0 where expected argument values implementing the stringer interface (String() string) with a method which mutates their value, when passed to mock.Mock.On (m.On("Method", <expected>).Return()) or actual argument values passed to mock.Mock.Called may no longer match one another where they previously did match. The behaviour prior to v1.11.0 where the stringer is always called is restored. Future testify releases may not call the stringer method at all in this case.

What's Changed

Full Changelog: https://github.com/stretchr/testify/compare/v1.11.0...v1.11.1

v1.11.0

Compare Source

What's Changed

Functional Changes

v1.11.0 Includes a number of performance improvements.

Fixes
Documentation, Build & CI

New Contributors

Full Changelog: https://github.com/stretchr/testify/compare/v1.10.0...v1.11.0


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 becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/games-on-whales/fenrir/pull/32 **Author:** [@renovate[bot]](https://github.com/apps/renovate) **Created:** 7/13/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `renovate/github.com-stretchr-testify-1.x` --- ### 📝 Commits (1) - [`b7a0124`](https://github.com/games-on-whales/fenrir/commit/b7a0124c5baf8ea607e65a13f9c1eb0c2cf8949a) Update module github.com/stretchr/testify to v1.12.1 ### 📊 Changes **2 files changed** (+7 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+3 -2) 📝 `go.sum` (+4 -0) </details> ### 📄 Description This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/stretchr/testify](https://redirect.github.com/stretchr/testify) | `v1.10.0` → `v1.12.1` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fstretchr%2ftestify/v1.12.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fstretchr%2ftestify/v1.10.0/v1.12.1?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/48) for more information. --- ### Release Notes <details> <summary>stretchr/testify (github.com/stretchr/testify)</summary> ### [`v1.12.1`](https://redirect.github.com/stretchr/testify/releases/tag/v1.12.1) [Compare Source](https://redirect.github.com/stretchr/testify/compare/v1.12.0...v1.12.1) 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](https://redirect.github.com/harryzcy) in [#&#8203;1935](https://redirect.github.com/stretchr/testify/pull/1935) - change yaml library to go.yaml.in/yaml/v3 by [@&#8203;boekkooi-impossiblecloud](https://redirect.github.com/boekkooi-impossiblecloud) in [#&#8203;1772](https://redirect.github.com/stretchr/testify/pull/1772) ##### New Contributors - [@&#8203;harryzcy](https://redirect.github.com/harryzcy) made their first contribution in [#&#8203;1935](https://redirect.github.com/stretchr/testify/pull/1935) - [@&#8203;boekkooi-impossiblecloud](https://redirect.github.com/boekkooi-impossiblecloud) made their first contribution in [#&#8203;1772](https://redirect.github.com/stretchr/testify/pull/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](https://redirect.github.com/harryzcy) in [#&#8203;1935](https://redirect.github.com/stretchr/testify/pull/1935) - change yaml library to go.yaml.in/yaml/v3 by [@&#8203;boekkooi-impossiblecloud](https://redirect.github.com/boekkooi-impossiblecloud) in [#&#8203;1772](https://redirect.github.com/stretchr/testify/pull/1772) ##### New Contributors - [@&#8203;harryzcy](https://redirect.github.com/harryzcy) made their first contribution in [#&#8203;1935](https://redirect.github.com/stretchr/testify/pull/1935) - [@&#8203;boekkooi-impossiblecloud](https://redirect.github.com/boekkooi-impossiblecloud) made their first contribution in [#&#8203;1772](https://redirect.github.com/stretchr/testify/pull/1772) **Full Changelog**: <https://github.com/stretchr/testify/compare/v1.12.0...v1.12.1> ### [`v1.12.0`](https://redirect.github.com/stretchr/testify/releases/tag/v1.12.0) [Compare Source](https://redirect.github.com/stretchr/testify/compare/v1.11.1...v1.12.0) #### What's Changed ##### Functional Changes - assert: make \*AssertionFunc types just aliases by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1563](https://redirect.github.com/stretchr/testify/pull/1563) ##### Fixes - mock: avoid panic when expected type is nil in Arguments.Diff by [@&#8203;mutaiib](https://redirect.github.com/mutaiib) in [#&#8203;1775](https://redirect.github.com/stretchr/testify/pull/1775) - mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1786](https://redirect.github.com/stretchr/testify/pull/1786) - suite: validate method signatures and continue execution for valid tests by [@&#8203;vyas-git](https://redirect.github.com/vyas-git) in [#&#8203;1665](https://redirect.github.com/stretchr/testify/pull/1665) - assert.PanicsWithError: report error message by [@&#8203;olivergondza](https://redirect.github.com/olivergondza) in [#&#8203;1400](https://redirect.github.com/stretchr/testify/pull/1400) - assert: IsIncreasing et al can return false w/out failing by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1787](https://redirect.github.com/stretchr/testify/pull/1787) - add type to error message of assert.Same by [@&#8203;egawata](https://redirect.github.com/egawata) in [#&#8203;1792](https://redirect.github.com/stretchr/testify/pull/1792) - mock.AssertExpectationsForObjects fix panic with wrong testObject type. by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1795](https://redirect.github.com/stretchr/testify/pull/1795) - assert: truncate very long objects in test failure messages by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1646](https://redirect.github.com/stretchr/testify/pull/1646) - assert: fix NotSubset error messages using %#v instead of %q (fixes [#&#8203;1800](https://redirect.github.com/stretchr/testify/issues/1800)) by [@&#8203;nghiack7](https://redirect.github.com/nghiack7) in [#&#8203;1888](https://redirect.github.com/stretchr/testify/pull/1888) - suite: prevent panic when SetupTest skips with HandleStats by [@&#8203;blackwell-systems](https://redirect.github.com/blackwell-systems) in [#&#8203;1877](https://redirect.github.com/stretchr/testify/pull/1877) ##### Documentation, Build & CI - CI: test also with Go 1.23 by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1783](https://redirect.github.com/stretchr/testify/pull/1783) - Vendor unmaintained github.com/pmezard/go-difflib by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1708](https://redirect.github.com/stretchr/testify/pull/1708) - Promote ccoVeille to maintainer by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1784](https://redirect.github.com/stretchr/testify/pull/1784) - build(deps): bump actions/setup-go from 5 to 6 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;1790](https://redirect.github.com/stretchr/testify/pull/1790) - assert.YAMLEq: Document mutlidoc behavior by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1791](https://redirect.github.com/stretchr/testify/pull/1791) - \_codegen: copy dependency github.com/ernesto-jimenez/gogen/imports by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1782](https://redirect.github.com/stretchr/testify/pull/1782) - doc: remove ineffective inline code blocks by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1714](https://redirect.github.com/stretchr/testify/pull/1714) - Tag generated assertions as non-generated in new .gitattributes by [@&#8203;ubunatic](https://redirect.github.com/ubunatic) in [#&#8203;1815](https://redirect.github.com/stretchr/testify/pull/1815) - chore: vendor go-spew from <https://github.com/davecgh/go-spew> by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [#&#8203;1827](https://redirect.github.com/stretchr/testify/pull/1827) - require: fix godoc generation for assertions returning a bool by [@&#8203;Baxromumarov](https://redirect.github.com/Baxromumarov) in [#&#8203;1850](https://redirect.github.com/stretchr/testify/pull/1850) - docs(require): correct example usage to use assert.CollectT (require.CollectT does not exist) by [@&#8203;a2not](https://redirect.github.com/a2not) in [#&#8203;1821](https://redirect.github.com/stretchr/testify/pull/1821) - docs: Fix EventuallyWithTf documentation with proper placement of formatting arguments by [@&#8203;a2not](https://redirect.github.com/a2not) in [#&#8203;1842](https://redirect.github.com/stretchr/testify/pull/1842) - EMERITUS.md: add [@&#8203;tylerb](https://redirect.github.com/tylerb) by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1812](https://redirect.github.com/stretchr/testify/pull/1812) - CI: test also with Go 1.24 by [@&#8203;alexandear](https://redirect.github.com/alexandear) in [#&#8203;1856](https://redirect.github.com/stretchr/testify/pull/1856) - deps: bump objx to v0.5.3 and remove dependency cycle issue by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [#&#8203;1823](https://redirect.github.com/stretchr/testify/pull/1823) - CI: upgrade GitHub Actions and pin hashes by [@&#8203;SuperQ](https://redirect.github.com/SuperQ) in [#&#8203;1883](https://redirect.github.com/stretchr/testify/pull/1883) - CI: add \_readme-gofmt tool to reformat Go code in README by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1889](https://redirect.github.com/stretchr/testify/pull/1889) - CI: add check of GitHub Action pinned hashes against tag by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1885](https://redirect.github.com/stretchr/testify/pull/1885) - \_codegen: modernize by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1890](https://redirect.github.com/stretchr/testify/pull/1890) - build(deps): bump actions/checkout from 6.0.2 to 6.0.3 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;1906](https://redirect.github.com/stretchr/testify/pull/1906) - mock: Mock.Return does not exist anymore by [@&#8203;Kentzo](https://redirect.github.com/Kentzo) in [#&#8203;1905](https://redirect.github.com/stretchr/testify/pull/1905) #### New Contributors - [@&#8203;mutaiib](https://redirect.github.com/mutaiib) made their first contribution in [#&#8203;1775](https://redirect.github.com/stretchr/testify/pull/1775) - [@&#8203;vyas-git](https://redirect.github.com/vyas-git) made their first contribution in [#&#8203;1665](https://redirect.github.com/stretchr/testify/pull/1665) - [@&#8203;olivergondza](https://redirect.github.com/olivergondza) made their first contribution in [#&#8203;1400](https://redirect.github.com/stretchr/testify/pull/1400) - [@&#8203;egawata](https://redirect.github.com/egawata) made their first contribution in [#&#8203;1792](https://redirect.github.com/stretchr/testify/pull/1792) - [@&#8203;ubunatic](https://redirect.github.com/ubunatic) made their first contribution in [#&#8203;1815](https://redirect.github.com/stretchr/testify/pull/1815) - [@&#8203;Baxromumarov](https://redirect.github.com/Baxromumarov) made their first contribution in [#&#8203;1850](https://redirect.github.com/stretchr/testify/pull/1850) - [@&#8203;a2not](https://redirect.github.com/a2not) made their first contribution in [#&#8203;1821](https://redirect.github.com/stretchr/testify/pull/1821) - [@&#8203;nghiack7](https://redirect.github.com/nghiack7) made their first contribution in [#&#8203;1888](https://redirect.github.com/stretchr/testify/pull/1888) - [@&#8203;blackwell-systems](https://redirect.github.com/blackwell-systems) made their first contribution in [#&#8203;1877](https://redirect.github.com/stretchr/testify/pull/1877) - [@&#8203;Kentzo](https://redirect.github.com/Kentzo) made their first contribution in [#&#8203;1905](https://redirect.github.com/stretchr/testify/pull/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](https://redirect.github.com/mutaiib) in [#&#8203;1775](https://redirect.github.com/stretchr/testify/pull/1775) - CI: test also with Go 1.23 by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1783](https://redirect.github.com/stretchr/testify/pull/1783) - mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1786](https://redirect.github.com/stretchr/testify/pull/1786) - suite: validate method signatures and continue execution for valid tests by [@&#8203;vyas-git](https://redirect.github.com/vyas-git) in [#&#8203;1665](https://redirect.github.com/stretchr/testify/pull/1665) - Vendor unmaintained github.com/pmezard/go-difflib by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1708](https://redirect.github.com/stretchr/testify/pull/1708) - Promote ccoVeille to maintainer by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1784](https://redirect.github.com/stretchr/testify/pull/1784) - build(deps): bump actions/setup-go from 5 to 6 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;1790](https://redirect.github.com/stretchr/testify/pull/1790) - assert.PanicsWithError: report error message by [@&#8203;olivergondza](https://redirect.github.com/olivergondza) in [#&#8203;1400](https://redirect.github.com/stretchr/testify/pull/1400) - assert: IsIncreasing et al can return false w/out failing by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1787](https://redirect.github.com/stretchr/testify/pull/1787) - add type to error message of assert.Same by [@&#8203;egawata](https://redirect.github.com/egawata) in [#&#8203;1792](https://redirect.github.com/stretchr/testify/pull/1792) - assert.YAMLEq: Document mutlidoc behavior by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1791](https://redirect.github.com/stretchr/testify/pull/1791) - mock.AssertExpectationsForObjects fix panic with wrong testObject type. by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1795](https://redirect.github.com/stretchr/testify/pull/1795) - \_codegen: copy dependency github.com/ernesto-jimenez/gogen/imports by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1782](https://redirect.github.com/stretchr/testify/pull/1782) - assert: truncate very long objects in test failure messages by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1646](https://redirect.github.com/stretchr/testify/pull/1646) - doc: remove ineffective inline code blocks by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1714](https://redirect.github.com/stretchr/testify/pull/1714) - Tag generated assertions as non-generated in new .gitattributes by [@&#8203;ubunatic](https://redirect.github.com/ubunatic) in [#&#8203;1815](https://redirect.github.com/stretchr/testify/pull/1815) - chore: vendor go-spew from <https://github.com/davecgh/go-spew> by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [#&#8203;1827](https://redirect.github.com/stretchr/testify/pull/1827) - require: fix godoc generation for assertions returning a bool by [@&#8203;Baxromumarov](https://redirect.github.com/Baxromumarov) in [#&#8203;1850](https://redirect.github.com/stretchr/testify/pull/1850) - docs(require): correct example usage to use assert.CollectT (require.CollectT does not exist) by [@&#8203;a2not](https://redirect.github.com/a2not) in [#&#8203;1821](https://redirect.github.com/stretchr/testify/pull/1821) - docs: Fix EventuallyWithTf documentation with proper placement of formatting arguments by [@&#8203;a2not](https://redirect.github.com/a2not) in [#&#8203;1842](https://redirect.github.com/stretchr/testify/pull/1842) - EMERITUS.md: add [@&#8203;tylerb](https://redirect.github.com/tylerb) by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1812](https://redirect.github.com/stretchr/testify/pull/1812) - CI: test also with Go 1.24 by [@&#8203;alexandear](https://redirect.github.com/alexandear) in [#&#8203;1856](https://redirect.github.com/stretchr/testify/pull/1856) - deps: bump objx to v0.5.3 and remove dependency cycle issue by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [#&#8203;1823](https://redirect.github.com/stretchr/testify/pull/1823) - CI: upgrade GitHub Actions and pin hashes by [@&#8203;SuperQ](https://redirect.github.com/SuperQ) in [#&#8203;1883](https://redirect.github.com/stretchr/testify/pull/1883) - assert: fix NotSubset error messages using %#v instead of %q (fixes [#&#8203;1800](https://redirect.github.com/stretchr/testify/issues/1800)) by [@&#8203;nghiack7](https://redirect.github.com/nghiack7) in [#&#8203;1888](https://redirect.github.com/stretchr/testify/pull/1888) - suite: prevent panic when SetupTest skips with HandleStats by [@&#8203;blackwell-systems](https://redirect.github.com/blackwell-systems) in [#&#8203;1877](https://redirect.github.com/stretchr/testify/pull/1877) - CI: add \_readme-gofmt tool to reformat Go code in README by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1889](https://redirect.github.com/stretchr/testify/pull/1889) - CI: add check of GitHub Action pinned hashes against tag by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1885](https://redirect.github.com/stretchr/testify/pull/1885) - \_codegen: modernize by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1890](https://redirect.github.com/stretchr/testify/pull/1890) - assert: make \*AssertionFunc types just aliases by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1563](https://redirect.github.com/stretchr/testify/pull/1563) - build(deps): bump actions/checkout from 6.0.2 to 6.0.3 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;1906](https://redirect.github.com/stretchr/testify/pull/1906) - mock: Mock.Return does not exist anymore by [@&#8203;Kentzo](https://redirect.github.com/Kentzo) in [#&#8203;1905](https://redirect.github.com/stretchr/testify/pull/1905) #### New Contributors - [@&#8203;mutaiib](https://redirect.github.com/mutaiib) made their first contribution in [#&#8203;1775](https://redirect.github.com/stretchr/testify/pull/1775) - [@&#8203;vyas-git](https://redirect.github.com/vyas-git) made their first contribution in [#&#8203;1665](https://redirect.github.com/stretchr/testify/pull/1665) - [@&#8203;olivergondza](https://redirect.github.com/olivergondza) made their first contribution in [#&#8203;1400](https://redirect.github.com/stretchr/testify/pull/1400) - [@&#8203;egawata](https://redirect.github.com/egawata) made their first contribution in [#&#8203;1792](https://redirect.github.com/stretchr/testify/pull/1792) - [@&#8203;ubunatic](https://redirect.github.com/ubunatic) made their first contribution in [#&#8203;1815](https://redirect.github.com/stretchr/testify/pull/1815) - [@&#8203;Baxromumarov](https://redirect.github.com/Baxromumarov) made their first contribution in [#&#8203;1850](https://redirect.github.com/stretchr/testify/pull/1850) - [@&#8203;a2not](https://redirect.github.com/a2not) made their first contribution in [#&#8203;1821](https://redirect.github.com/stretchr/testify/pull/1821) - [@&#8203;nghiack7](https://redirect.github.com/nghiack7) made their first contribution in [#&#8203;1888](https://redirect.github.com/stretchr/testify/pull/1888) - [@&#8203;blackwell-systems](https://redirect.github.com/blackwell-systems) made their first contribution in [#&#8203;1877](https://redirect.github.com/stretchr/testify/pull/1877) - [@&#8203;Kentzo](https://redirect.github.com/Kentzo) made their first contribution in [#&#8203;1905](https://redirect.github.com/stretchr/testify/pull/1905) **Full Changelog**: <https://github.com/stretchr/testify/compare/v1.11.0...v1.12.0> ### [`v1.11.1`](https://redirect.github.com/stretchr/testify/releases/tag/v1.11.1) [Compare Source](https://redirect.github.com/stretchr/testify/compare/v1.11.0...v1.11.1) This release fixes [#&#8203;1785](https://redirect.github.com/stretchr/testify/issues/1785) introduced in v1.11.0 where expected argument values implementing the stringer interface (`String() string`) with a method which mutates their value, when passed to mock.Mock.On (`m.On("Method", <expected>).Return()`) or actual argument values passed to mock.Mock.Called may no longer match one another where they previously did match. The behaviour prior to v1.11.0 where the stringer is always called is restored. Future testify releases may not call the stringer method at all in this case. #### What's Changed - Backport [#&#8203;1786](https://redirect.github.com/stretchr/testify/issues/1786) to release/1.11: mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1788](https://redirect.github.com/stretchr/testify/pull/1788) **Full Changelog**: <https://github.com/stretchr/testify/compare/v1.11.0...v1.11.1> ### [`v1.11.0`](https://redirect.github.com/stretchr/testify/releases/tag/v1.11.0) [Compare Source](https://redirect.github.com/stretchr/testify/compare/v1.10.0...v1.11.0) #### What's Changed ##### Functional Changes v1.11.0 Includes a number of performance improvements. - Call stack perf change for CallerInfo by [@&#8203;mikeauclair](https://redirect.github.com/mikeauclair) in [#&#8203;1614](https://redirect.github.com/stretchr/testify/pull/1614) - Lazily render mock diff output on successful match by [@&#8203;mikeauclair](https://redirect.github.com/mikeauclair) in [#&#8203;1615](https://redirect.github.com/stretchr/testify/pull/1615) - assert: check early in Eventually, EventuallyWithT, and Never by [@&#8203;cszczepaniak](https://redirect.github.com/cszczepaniak) in [#&#8203;1427](https://redirect.github.com/stretchr/testify/pull/1427) - assert: add IsNotType by [@&#8203;bartventer](https://redirect.github.com/bartventer) in [#&#8203;1730](https://redirect.github.com/stretchr/testify/pull/1730) - assert.JSONEq: shortcut if same strings by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1754](https://redirect.github.com/stretchr/testify/pull/1754) - assert.YAMLEq: shortcut if same strings by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1755](https://redirect.github.com/stretchr/testify/pull/1755) - assert: faster and simpler isEmpty using reflect.Value.IsZero by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1761](https://redirect.github.com/stretchr/testify/pull/1761) - suite: faster methods filtering (internal refactor) by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1758](https://redirect.github.com/stretchr/testify/pull/1758) ##### Fixes - assert.ErrorAs: log target type by [@&#8203;craig65535](https://redirect.github.com/craig65535) in [#&#8203;1345](https://redirect.github.com/stretchr/testify/pull/1345) - Fix failure message formatting for Positive and Negative asserts in [#&#8203;1062](https://redirect.github.com/stretchr/testify/pull/1062) - Improve ErrorIs message when error is nil but an error was expected by [@&#8203;tsioftas](https://redirect.github.com/tsioftas) in [#&#8203;1681](https://redirect.github.com/stretchr/testify/pull/1681) - fix Subset/NotSubset when calling with mixed input types by [@&#8203;siliconbrain](https://redirect.github.com/siliconbrain) in [#&#8203;1729](https://redirect.github.com/stretchr/testify/pull/1729) - Improve ErrorAs failure message when error is nil by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [#&#8203;1734](https://redirect.github.com/stretchr/testify/pull/1734) - mock.AssertNumberOfCalls: improve error msg by [@&#8203;3scalation](https://redirect.github.com/3scalation) in [#&#8203;1743](https://redirect.github.com/stretchr/testify/pull/1743) ##### Documentation, Build & CI - docs: Fix typo in README by [@&#8203;alexandear](https://redirect.github.com/alexandear) in [#&#8203;1688](https://redirect.github.com/stretchr/testify/pull/1688) - Replace deprecated io/ioutil with io and os by [@&#8203;alexandear](https://redirect.github.com/alexandear) in [#&#8203;1684](https://redirect.github.com/stretchr/testify/pull/1684) - Document consequences of calling t.FailNow() by [@&#8203;greg0ire](https://redirect.github.com/greg0ire) in [#&#8203;1710](https://redirect.github.com/stretchr/testify/pull/1710) - chore: update docs for Unset [#&#8203;1621](https://redirect.github.com/stretchr/testify/issues/1621) by [@&#8203;techfg](https://redirect.github.com/techfg) in [#&#8203;1709](https://redirect.github.com/stretchr/testify/pull/1709) - README: apply gofmt to examples by [@&#8203;alexandear](https://redirect.github.com/alexandear) in [#&#8203;1687](https://redirect.github.com/stretchr/testify/pull/1687) - refactor: use %q and %T to simplify fmt.Sprintf by [@&#8203;alexandear](https://redirect.github.com/alexandear) in [#&#8203;1674](https://redirect.github.com/stretchr/testify/pull/1674) - Propose Christophe Colombier (ccoVeille) as approver by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [#&#8203;1716](https://redirect.github.com/stretchr/testify/pull/1716) - Update documentation for the Error function in assert or require package by [@&#8203;architagr](https://redirect.github.com/architagr) in [#&#8203;1675](https://redirect.github.com/stretchr/testify/pull/1675) - assert: remove deprecated build constraints by [@&#8203;alexandear](https://redirect.github.com/alexandear) in [#&#8203;1671](https://redirect.github.com/stretchr/testify/pull/1671) - assert: apply gofumpt to internal test suite by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [#&#8203;1739](https://redirect.github.com/stretchr/testify/pull/1739) - CI: fix shebang in .ci.\*.sh scripts by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1746](https://redirect.github.com/stretchr/testify/pull/1746) - assert,require: enable parallel testing on (almost) all top tests by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1747](https://redirect.github.com/stretchr/testify/pull/1747) - suite.Passed: add one more status test report by [@&#8203;Ararsa-Derese](https://redirect.github.com/Ararsa-Derese) in [#&#8203;1706](https://redirect.github.com/stretchr/testify/pull/1706) - Add Helper() method in internal mocks and assert.CollectT by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1423](https://redirect.github.com/stretchr/testify/pull/1423) - assert.Same/NotSame: improve usage of Sprintf by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [#&#8203;1742](https://redirect.github.com/stretchr/testify/pull/1742) - mock: enable parallel testing on internal testsuite by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1756](https://redirect.github.com/stretchr/testify/pull/1756) - suite: cleanup use of 'testing' internals at runtime by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1751](https://redirect.github.com/stretchr/testify/pull/1751) - assert: check test failure message for Empty and NotEmpty by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [#&#8203;1745](https://redirect.github.com/stretchr/testify/pull/1745) - deps: fix dependency cycle with objx (again) by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1567](https://redirect.github.com/stretchr/testify/pull/1567) - assert.Empty: comprehensive doc of "Empty"-ness rules by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1753](https://redirect.github.com/stretchr/testify/pull/1753) - doc: improve godoc of top level 'testify' package by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1760](https://redirect.github.com/stretchr/testify/pull/1760) - assert.ErrorAs: simplify retrieving the type name by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [#&#8203;1740](https://redirect.github.com/stretchr/testify/pull/1740) - assert.EqualValues: improve test coverage to 100% by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1763](https://redirect.github.com/stretchr/testify/pull/1763) - suite.Run: simplify running of Setup/TeardownSuite by [@&#8203;renzoarreaza](https://redirect.github.com/renzoarreaza) in [#&#8203;1769](https://redirect.github.com/stretchr/testify/pull/1769) - assert.CallerInfo: micro optimization by using LastIndexByte by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1767](https://redirect.github.com/stretchr/testify/pull/1767) - assert.CallerInfo: micro cleanup by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1768](https://redirect.github.com/stretchr/testify/pull/1768) - assert: refactor Test*FileExists and Test*DirExists tests to enable parallel testing by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1766](https://redirect.github.com/stretchr/testify/pull/1766) - suite.Run: refactor handling of stats for improved readability by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [#&#8203;1764](https://redirect.github.com/stretchr/testify/pull/1764) - tests: improve captureTestingT helper by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [#&#8203;1741](https://redirect.github.com/stretchr/testify/pull/1741) - build(deps): bump actions/checkout from 4 to 5 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&#8203;1778](https://redirect.github.com/stretchr/testify/pull/1778) #### New Contributors - [@&#8203;greg0ire](https://redirect.github.com/greg0ire) made their first contribution in [#&#8203;1710](https://redirect.github.com/stretchr/testify/pull/1710) - [@&#8203;techfg](https://redirect.github.com/techfg) made their first contribution in [#&#8203;1709](https://redirect.github.com/stretchr/testify/pull/1709) - [@&#8203;mikeauclair](https://redirect.github.com/mikeauclair) made their first contribution in [#&#8203;1614](https://redirect.github.com/stretchr/testify/pull/1614) - [@&#8203;cszczepaniak](https://redirect.github.com/cszczepaniak) made their first contribution in [#&#8203;1427](https://redirect.github.com/stretchr/testify/pull/1427) - [@&#8203;architagr](https://redirect.github.com/architagr) made their first contribution in [#&#8203;1675](https://redirect.github.com/stretchr/testify/pull/1675) - [@&#8203;tsioftas](https://redirect.github.com/tsioftas) made their first contribution in [#&#8203;1681](https://redirect.github.com/stretchr/testify/pull/1681) - [@&#8203;siliconbrain](https://redirect.github.com/siliconbrain) made their first contribution in [#&#8203;1729](https://redirect.github.com/stretchr/testify/pull/1729) - [@&#8203;bartventer](https://redirect.github.com/bartventer) made their first contribution in [#&#8203;1730](https://redirect.github.com/stretchr/testify/pull/1730) - [@&#8203;Ararsa-Derese](https://redirect.github.com/Ararsa-Derese) made their first contribution in [#&#8203;1706](https://redirect.github.com/stretchr/testify/pull/1706) - [@&#8203;renzoarreaza](https://redirect.github.com/renzoarreaza) made their first contribution in [#&#8203;1769](https://redirect.github.com/stretchr/testify/pull/1769) - [@&#8203;3scalation](https://redirect.github.com/3scalation) made their first contribution in [#&#8203;1743](https://redirect.github.com/stretchr/testify/pull/1743) **Full Changelog**: <https://github.com/stretchr/testify/compare/v1.10.0...v1.11.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 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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/games-on-whales/fenrir). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTkuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjQ5LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=--> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 12:46:51 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/fenrir#35
No description provided.