---
title: "github.com/stretchr/testify v1.12.0 Breaking Changes"
description: "What each github.com/stretchr/testify release removed, renamed or changed: 8 breaking changes in 1 version on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/stretchr/testify
last_updated: 2026-12-04
---

# 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

Latest version `v1.12.1`, released August 17, 2026. [Source repository](https://github.com/stretchr/testify)

Packages on Go modules run on Go. [Go end of life dates](https://since.dev/calendar/go.md).

## github.com/stretchr/testify v1.12.0 breaking changes

github.com/stretchr/testify v1.12.0, released June 10, 2026: 8 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](https://pkg.go.dev/github.com/stretchr/testify@v1.12.0)
- **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](https://pkg.go.dev/github.com/stretchr/testify@v1.12.0)
- **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](https://pkg.go.dev/github.com/stretchr/testify@v1.12.0)
- **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](https://pkg.go.dev/github.com/stretchr/testify@v1.12.0)
- **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](https://pkg.go.dev/github.com/stretchr/testify@v1.12.0)
- **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](https://pkg.go.dev/github.com/stretchr/testify@v1.12.0)
- **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](https://pkg.go.dev/github.com/stretchr/testify@v1.12.0)
- **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](https://pkg.go.dev/github.com/stretchr/testify@v1.12.0)

## Related packages

- [github.com/stretchr/objx](https://since.dev/packages/go/github.com/stretchr/objx.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
