Skip to content

deps(go): bump module github.com/stretchr/testify to v1.12.1 - #452

Closed
updateclibot[bot] wants to merge 3 commits into
mainfrom
updatecli_main_05ecb4f0d7549f8e61b630db0c180be27116a30767b6f4e2c5b7c1e30bb4f4db
Closed

deps(go): bump module github.com/stretchr/testify to v1.12.1#452
updateclibot[bot] wants to merge 3 commits into
mainfrom
updatecli_main_05ecb4f0d7549f8e61b630db0c180be27116a30767b6f4e2c5b7c1e30bb4f4db

Conversation

@updateclibot

@updateclibot updateclibot Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

deps(go): bump module github.com/stretchr/testify

clean: go mod tidy

ran shell command "go mod tidy"

deps(go): bump module github.com/stretchr/testify to v1.12.1

go.mod updated Module path "github.com/stretchr/testify" version from "v1.11.1" to "v1.12.1"

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 @harryzcy in https://github.com/stretchr/testify/pull/1935
* change yaml library to go.yaml.in/yaml/v3 by @boekkooi-impossiblecloud in https://github.com/stretchr/testify/pull/1772

## New Contributors
* @harryzcy made their first contribution in https://github.com/stretchr/testify/pull/1935
* @boekkooi-impossiblecloud made their first contribution in https://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 @harryzcy in https://github.com/stretchr/testify/pull/1935
* change yaml library to go.yaml.in/yaml/v3 by @boekkooi-impossiblecloud in https://github.com/stretchr/testify/pull/1772

## New Contributors
* @harryzcy made their first contribution in https://github.com/stretchr/testify/pull/1935
* @boekkooi-impossiblecloud made their first contribution in https://github.com/stretchr/testify/pull/1772

**Full Changelog**: https://github.com/stretchr/testify/compare/v1.12.0...v1.12.1
v1.12.0
## What's Changed

### Functional Changes
* assert: make *AssertionFunc types just aliases by @dolmen in https://github.com/stretchr/testify/pull/1563

### Fixes
* mock: avoid panic when expected type is nil in Arguments.Diff by @mutaiib in https://github.com/stretchr/testify/pull/1775
* mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers by @brackendawson in https://github.com/stretchr/testify/pull/1786
* suite: validate method signatures and continue execution for valid tests by @vyas-git in https://github.com/stretchr/testify/pull/1665
* assert.PanicsWithError: report error message by @olivergondza in https://github.com/stretchr/testify/pull/1400
* assert: IsIncreasing et al can return false w/out failing by @brackendawson in https://github.com/stretchr/testify/pull/1787
* add type to error message of assert.Same by @egawata in https://github.com/stretchr/testify/pull/1792
* mock.AssertExpectationsForObjects fix panic with wrong testObject type. by @brackendawson in https://github.com/stretchr/testify/pull/1795
* assert: truncate very long objects in test failure messages by @brackendawson in https://github.com/stretchr/testify/pull/1646
* assert: fix NotSubset error messages using %#v instead of %q (fixes #1800) by @nghiack7 in https://github.com/stretchr/testify/pull/1888
* suite: prevent panic when SetupTest skips with HandleStats by @blackwell-systems in https://github.com/stretchr/testify/pull/1877

### Documentation, Build & CI
* CI: test also with Go 1.23 by @dolmen in https://github.com/stretchr/testify/pull/1783
* Vendor unmaintained github.com/pmezard/go-difflib by @brackendawson in https://github.com/stretchr/testify/pull/1708
* Promote ccoVeille to maintainer by @brackendawson in https://github.com/stretchr/testify/pull/1784
* build(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in https://github.com/stretchr/testify/pull/1790
* assert.YAMLEq: Document mutlidoc behavior by @brackendawson in https://github.com/stretchr/testify/pull/1791
* _codegen: copy dependency github.com/ernesto-jimenez/gogen/imports by @dolmen in https://github.com/stretchr/testify/pull/1782
* doc: remove ineffective inline code blocks by @brackendawson in https://github.com/stretchr/testify/pull/1714
* Tag generated assertions as non-generated in new .gitattributes by @ubunatic in https://github.com/stretchr/testify/pull/1815
* chore: vendor go-spew from https://github.com/davecgh/go-spew by @ccoVeille in https://github.com/stretchr/testify/pull/1827
* require: fix godoc generation for assertions returning a bool by @Baxromumarov in https://github.com/stretchr/testify/pull/1850
* docs(require): correct example usage to use assert.CollectT (require.CollectT does not exist) by @a2not in https://github.com/stretchr/testify/pull/1821
* docs: Fix EventuallyWithTf documentation with proper placement of formatting arguments by @a2not in https://github.com/stretchr/testify/pull/1842
* EMERITUS.md: add @tylerb by @dolmen in https://github.com/stretchr/testify/pull/1812
* CI: test also with Go 1.24 by @alexandear in https://github.com/stretchr/testify/pull/1856
* deps: bump objx to v0.5.3 and remove dependency cycle issue by @ccoVeille in https://github.com/stretchr/testify/pull/1823
* CI: upgrade GitHub Actions and pin hashes by @SuperQ in https://github.com/stretchr/testify/pull/1883
* CI: add _readme-gofmt tool to reformat Go code in README by @dolmen in https://github.com/stretchr/testify/pull/1889
* CI: add check of GitHub Action pinned hashes against tag by @dolmen in https://github.com/stretchr/testify/pull/1885
* _codegen: modernize by @dolmen in https://github.com/stretchr/testify/pull/1890
* build(deps): bump actions/checkout from 6.0.2 to 6.0.3 by @dependabot[bot] in https://github.com/stretchr/testify/pull/1906
* mock: Mock.Return does not exist anymore by @Kentzo in https://github.com/stretchr/testify/pull/1905


## New Contributors
* @mutaiib made their first contribution in https://github.com/stretchr/testify/pull/1775
* @vyas-git made their first contribution in https://github.com/stretchr/testify/pull/1665
* @olivergondza made their first contribution in https://github.com/stretchr/testify/pull/1400
* @egawata made their first contribution in https://github.com/stretchr/testify/pull/1792
* @ubunatic made their first contribution in https://github.com/stretchr/testify/pull/1815
* @Baxromumarov made their first contribution in https://github.com/stretchr/testify/pull/1850
* @a2not made their first contribution in https://github.com/stretchr/testify/pull/1821
* @nghiack7 made their first contribution in https://github.com/stretchr/testify/pull/1888
* @blackwell-systems made their first contribution in https://github.com/stretchr/testify/pull/1877
* @Kentzo made their first contribution in https://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 @mutaiib in https://github.com/stretchr/testify/pull/1775
* CI: test also with Go 1.23 by @dolmen in https://github.com/stretchr/testify/pull/1783
* mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers by @brackendawson in https://github.com/stretchr/testify/pull/1786
* suite: validate method signatures and continue execution for valid tests by @vyas-git in https://github.com/stretchr/testify/pull/1665
* Vendor unmaintained github.com/pmezard/go-difflib by @brackendawson in https://github.com/stretchr/testify/pull/1708
* Promote ccoVeille to maintainer by @brackendawson in https://github.com/stretchr/testify/pull/1784
* build(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in https://github.com/stretchr/testify/pull/1790
* assert.PanicsWithError: report error message by @olivergondza in https://github.com/stretchr/testify/pull/1400
* assert: IsIncreasing et al can return false w/out failing by @brackendawson in https://github.com/stretchr/testify/pull/1787
* add type to error message of assert.Same by @egawata in https://github.com/stretchr/testify/pull/1792
* assert.YAMLEq: Document mutlidoc behavior by @brackendawson in https://github.com/stretchr/testify/pull/1791
* mock.AssertExpectationsForObjects fix panic with wrong testObject type. by @brackendawson in https://github.com/stretchr/testify/pull/1795
* _codegen: copy dependency github.com/ernesto-jimenez/gogen/imports by @dolmen in https://github.com/stretchr/testify/pull/1782
* assert: truncate very long objects in test failure messages by @brackendawson in https://github.com/stretchr/testify/pull/1646
* doc: remove ineffective inline code blocks by @brackendawson in https://github.com/stretchr/testify/pull/1714
* Tag generated assertions as non-generated in new .gitattributes by @ubunatic in https://github.com/stretchr/testify/pull/1815
* chore: vendor go-spew from https://github.com/davecgh/go-spew by @ccoVeille in https://github.com/stretchr/testify/pull/1827
* require: fix godoc generation for assertions returning a bool by @Baxromumarov in https://github.com/stretchr/testify/pull/1850
* docs(require): correct example usage to use assert.CollectT (require.CollectT does not exist) by @a2not in https://github.com/stretchr/testify/pull/1821
* docs: Fix EventuallyWithTf documentation with proper placement of formatting arguments by @a2not in https://github.com/stretchr/testify/pull/1842
* EMERITUS.md: add @tylerb by @dolmen in https://github.com/stretchr/testify/pull/1812
* CI: test also with Go 1.24 by @alexandear in https://github.com/stretchr/testify/pull/1856
* deps: bump objx to v0.5.3 and remove dependency cycle issue by @ccoVeille in https://github.com/stretchr/testify/pull/1823
* CI: upgrade GitHub Actions and pin hashes by @SuperQ in https://github.com/stretchr/testify/pull/1883
* assert: fix NotSubset error messages using %#v instead of %q (fixes #1800) by @nghiack7 in https://github.com/stretchr/testify/pull/1888
* suite: prevent panic when SetupTest skips with HandleStats by @blackwell-systems in https://github.com/stretchr/testify/pull/1877
* CI: add _readme-gofmt tool to reformat Go code in README by @dolmen in https://github.com/stretchr/testify/pull/1889
* CI: add check of GitHub Action pinned hashes against tag by @dolmen in https://github.com/stretchr/testify/pull/1885
* _codegen: modernize by @dolmen in https://github.com/stretchr/testify/pull/1890
* assert: make *AssertionFunc types just aliases by @dolmen in https://github.com/stretchr/testify/pull/1563
* build(deps): bump actions/checkout from 6.0.2 to 6.0.3 by @dependabot[bot] in https://github.com/stretchr/testify/pull/1906
* mock: Mock.Return does not exist anymore by @Kentzo in https://github.com/stretchr/testify/pull/1905

## New Contributors
* @mutaiib made their first contribution in https://github.com/stretchr/testify/pull/1775
* @vyas-git made their first contribution in https://github.com/stretchr/testify/pull/1665
* @olivergondza made their first contribution in https://github.com/stretchr/testify/pull/1400
* @egawata made their first contribution in https://github.com/stretchr/testify/pull/1792
* @ubunatic made their first contribution in https://github.com/stretchr/testify/pull/1815
* @Baxromumarov made their first contribution in https://github.com/stretchr/testify/pull/1850
* @a2not made their first contribution in https://github.com/stretchr/testify/pull/1821
* @nghiack7 made their first contribution in https://github.com/stretchr/testify/pull/1888
* @blackwell-systems made their first contribution in https://github.com/stretchr/testify/pull/1877
* @Kentzo made their first contribution in https://github.com/stretchr/testify/pull/1905

**Full Changelog**: https://github.com/stretchr/testify/compare/v1.11.0...v1.12.0
v1.11.1
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
* Backport #1786 to release/1.11: mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers by @brackendawson in https://github.com/stretchr/testify/pull/1788


**Full Changelog**: https://github.com/stretchr/testify/compare/v1.11.0...v1.11.1
GitHub Action workflow link
Updatecli logo

Created automatically by Updatecli

Options:

Most of Updatecli configuration is done via its manifest(s).

  • If you close this pull request, Updatecli will automatically reopen it, the next time it runs.
  • If you close this pull request and delete the base branch, Updatecli will automatically recreate it, erasing all previous commits made.

Feel free to report any issues at github.com/updatecli/updatecli.
If you find this tool useful, do not hesitate to star our GitHub repository as a sign of appreciation, and/or to tell us directly on our chat!

@updateclibot updateclibot Bot added the dependencies Pull requests that update a dependency file label Aug 28, 2026
@updateclibot
updateclibot Bot force-pushed the updatecli_main_05ecb4f0d7549f8e61b630db0c180be27116a30767b6f4e2c5b7c1e30bb4f4db branch from 87e9282 to 43ccb59 Compare August 28, 2026 20:35
updatecli added 2 commits August 28, 2026 20:59
Made with ❤️️ by updatecli
@updateclibot
updateclibot Bot force-pushed the updatecli_main_05ecb4f0d7549f8e61b630db0c180be27116a30767b6f4e2c5b7c1e30bb4f4db branch from 43ccb59 to 0b46222 Compare August 28, 2026 21:05
@updateclibot

updateclibot Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor Author

Pull request closed as no changed file detected

@updateclibot updateclibot Bot closed this Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant