Sourced from github.com/stretchr/testify's releases.
v1.12.0
What's Changed
Functional Changes
- assert: make *AssertionFunc types just aliases by
@dolmenin stretchr/testify#1563Fixes
- mock: avoid panic when expected type is nil in Arguments.Diff by
@mutaiibin stretchr/testify#1775- mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers by
@brackendawsonin stretchr/testify#1786- suite: validate method signatures and continue execution for valid tests by
@vyas-gitin stretchr/testify#1665- assert.PanicsWithError: report error message by
@olivergondzain stretchr/testify#1400- assert: IsIncreasing et al can return false w/out failing by
@brackendawsonin stretchr/testify#1787- add type to error message of assert.Same by
@egawatain stretchr/testify#1792- mock.AssertExpectationsForObjects fix panic with wrong testObject type. by
@brackendawsonin stretchr/testify#1795- assert: truncate very long objects in test failure messages by
@brackendawsonin stretchr/testify#1646- assert: fix NotSubset error messages using %#v instead of %q (fixes #1800) by
@nghiack7in stretchr/testify#1888- suite: prevent panic when SetupTest skips with HandleStats by
@blackwell-systemsin stretchr/testify#1877Documentation, Build & CI
- CI: test also with Go 1.23 by
@dolmenin stretchr/testify#1783- Vendor unmaintained github.com/pmezard/go-difflib by
@brackendawsonin stretchr/testify#1708- Promote ccoVeille to maintainer by
@brackendawsonin stretchr/testify#1784- build(deps): bump actions/setup-go from 5 to 6 by
@dependabot[bot] in stretchr/testify#1790- assert.YAMLEq: Document mutlidoc behavior by
@brackendawsonin stretchr/testify#1791- _codegen: copy dependency github.com/ernesto-jimenez/gogen/imports by
@dolmenin stretchr/testify#1782- doc: remove ineffective inline code blocks by
@brackendawsonin stretchr/testify#1714- Tag generated assertions as non-generated in new .gitattributes by
@ubunaticin stretchr/testify#1815- chore: vendor go-spew from https://github.com/davecgh/go-spew by
@ccoVeillein stretchr/testify#1827- require: fix godoc generation for assertions returning a bool by
@Baxromumarovin stretchr/testify#1850- docs(require): correct example usage to use assert.CollectT (require.CollectT does not exist) by
@a2notin stretchr/testify#1821- docs: Fix EventuallyWithTf documentation with proper placement of formatting arguments by
@a2notin stretchr/testify#1842- EMERITUS.md: add
@tylerbby@dolmenin stretchr/testify#1812- CI: test also with Go 1.24 by
@alexandearin stretchr/testify#1856- deps: bump objx to v0.5.3 and remove dependency cycle issue by
@ccoVeillein stretchr/testify#1823- CI: upgrade GitHub Actions and pin hashes by
@SuperQin stretchr/testify#1883- CI: add _readme-gofmt tool to reformat Go code in README by
@dolmenin stretchr/testify#1889- CI: add check of GitHub Action pinned hashes against tag by
@dolmenin stretchr/testify#1885- _codegen: modernize by
@dolmenin stretchr/testify#1890- build(deps): bump actions/checkout from 6.0.2 to 6.0.3 by
@dependabot[bot] in stretchr/testify#1906- mock: Mock.Return does not exist anymore by
@Kentzoin stretchr/testify#1905New Contributors
@mutaiibmade their first contribution in stretchr/testify#1775@vyas-gitmade their first contribution in stretchr/testify#1665@olivergondzamade their first contribution in stretchr/testify#1400@egawatamade their first contribution in stretchr/testify#1792@ubunaticmade their first contribution in stretchr/testify#1815@Baxromumarovmade their first contribution in stretchr/testify#1850@a2notmade their first contribution in stretchr/testify#1821
... (truncated)
001eb79
Merge pull request #1905
from Kentzo/patch-1ad40f38
Merge pull request #1906
from stretchr/dependabot/github_actions/actions/chec...3bae017
build(deps): bump actions/checkout from 6.0.2 to 6.0.3f8c01f3
mock: Mock.Return does not exist anymore12f8b56
Merge pull request #1563
from stretchr/make-AssertionFunc-types-aliasesa11649e
assert: make *AssertionFunc type just aliasesdc20f41
Merge pull request #1890
from stretchr/dolmen/codegen-modernize098f8d7
_codegen: use strings.Builderd2699be
_codegen: modernizea463c8c
Merge pull request #1885
from stretchr/dolmen/ci-check-ghactions-hashes