Skip to content

chore(deps): bump testify to v1.12.1 - #3166

Open
hoangtaiki wants to merge 1 commit into
labstack:masterfrom
hoangtaiki:chore/bump-testify-1.12.1
Open

hoangtaiki wants to merge 1 commit into
labstack:masterfrom
hoangtaiki:chore/bump-testify-1.12.1

Conversation

@hoangtaiki

@hoangtaiki hoangtaiki commented Oct 8, 2026 •

Copy link
Copy Markdown

Summary

Bump github.com/stretchr/testify from v1.11.1 to v1.12.1.

github.com/pmezard/go-difflib is no longer maintained (last release v1.0.0, January 2016). Echo does not import it directly. It came in through testify/assert, which uses it to print the diff when assert.Equal, EqualValues or Exactly fail.

testify v1.12.0 dropped go-difflib and go-spew. v1.12.1 also moved YAML support from the unmaintained gopkg.in/yaml.v3 to go.yaml.in/yaml/v3.

Changes

Only go.mod and go.sum change.

  • Removed (indirect): github.com/pmezard/go-difflib, github.com/davecgh/go-spew, gopkg.in/yaml.v3
  • Added (indirect): go.yaml.in/yaml/v3 v3.0.5

Risk

Low. testify is only used in _test.go files, so there is no runtime or public API change. The testify v1.12.x releases have no breaking API changes and no Go version bump. Consumers of echo/v5 will see testify v1.12.1 as the minimum testify version in their module graph.

Testing

  • go build ./...
  • go vet ./...
  • go test -race ./... (root, echotest, middleware) all pass
  • go mod verify
  • go mod graph no longer lists go-difflib, go-spew or gopkg.in/yaml.v3

testify v1.12.0 dropped github.com/pmezard/go-difflib and
github.com/davecgh/go-spew (both unmaintained), and v1.12.1 moved
YAML support from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3.

Echo only uses testify in tests, so there is no runtime change. After
this bump go-difflib, go-spew and gopkg.in/yaml.v3 are no longer in
the module graph.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant