github.com/stretchr/testify breaking changes
github.com/stretchr/testify v1.12.0 (June 10, 2026) is its newest release with breaking changes, 8 of them. The first: Signature changed github.com/stretchr/testify/assert.BoolAssertionFunc. Every breaking API change we have recorded in github.com/stretchr/testify on Go modules: 8 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v1.12.1, released August 17, 2026. Source repository
Packages on Go modules run on Go. Go end of life dates.
github.com/stretchr/testify v1.12.0 breaking changes
- Signature changed
github.com/stretchr/testify/assert.BoolAssertionFunc
Was type BoolAssertionFunc func(TestingT, bool, ...interface{}) bool; now type BoolAssertionFunc = func(TestingT, bool, ...interface{}) bool. pkg.go.dev - Signature changed
github.com/stretchr/testify/assert.ComparisonAssertionFunc
Was type ComparisonAssertionFunc func(TestingT, interface{}, interface{}, ...interface{}) bool; now type ComparisonAssertionFunc = func(TestingT, interface{}, interface{}, ...interface{}) bool. pkg.go.dev - Signature changed
github.com/stretchr/testify/assert.ErrorAssertionFunc
Was type ErrorAssertionFunc func(TestingT, error, ...interface{}) bool; now type ErrorAssertionFunc = func(TestingT, error, ...interface{}) bool. pkg.go.dev - Signature changed
github.com/stretchr/testify/assert.ValueAssertionFunc
Was type ValueAssertionFunc func(TestingT, interface{}, ...interface{}) bool; now type ValueAssertionFunc = func(TestingT, interface{}, ...interface{}) bool. pkg.go.dev - Signature changed
github.com/stretchr/testify/require.BoolAssertionFunc
Was type BoolAssertionFunc func(TestingT, bool, ...interface{}); now type BoolAssertionFunc = func(TestingT, bool, ...interface{}). pkg.go.dev - Signature changed
github.com/stretchr/testify/require.ComparisonAssertionFunc
Was type ComparisonAssertionFunc func(TestingT, interface{}, interface{}, ...interface{}); now type ComparisonAssertionFunc = func(TestingT, interface{}, interface{}, ...interface{}). pkg.go.dev - Signature changed
github.com/stretchr/testify/require.ErrorAssertionFunc
Was type ErrorAssertionFunc func(TestingT, error, ...interface{}); now type ErrorAssertionFunc = func(TestingT, error, ...interface{}). pkg.go.dev - Signature changed
github.com/stretchr/testify/require.ValueAssertionFunc
Was type ValueAssertionFunc func(TestingT, interface{}, ...interface{}); now type ValueAssertionFunc = func(TestingT, interface{}, ...interface{}). pkg.go.dev
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.