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