Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 31, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/stretchr/testify v1.11.0 -> v1.11.1 age confidence

Release Notes

stretchr/testify (github.com/stretchr/testify)

v1.11.1

Compare Source

This release fixes #​1785 introduced in v1.11.0 where expected argument values implementing the stringer interface (String() string) with a method which mutates their value, when passed to mock.Mock.On (m.On("Method", <expected>).Return()) or actual argument values passed to mock.Mock.Called may no longer match one another where they previously did match. The behaviour prior to v1.11.0 where the stringer is always called is restored. Future testify releases may not call the stringer method at all in this case.

What's Changed

Full Changelog: stretchr/testify@v1.11.0...v1.11.1


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions
Copy link
Contributor

Renovate PR Review Results

⚖️ Safety Assessment: ✅ Safe

🔍 Release Content Analysis

  • Bug Fix: Resolves regression in mock argument matching behavior introduced in v1.11.0
  • Backward Compatibility: Restores pre-v1.11.0 behavior for mutating Stringer interface implementations
  • No Breaking Changes: Patch release that fixes existing functionality without introducing new APIs
  • No Security Fixes: Release focuses on correcting mock behavior, no security implications

🎯 Impact Scope Investigation

  • Usage Locations: testify is used in 9 test files across the codebase (internal/gat and internal/prettier packages)
  • Primary Usage: Standard assert functions (assert.Equal, assert.NoError, etc.) - not affected by the mock changes
  • Mock Usage: No mock.Mock.On() or mock.Mock.Called() usage found in codebase
  • Dependencies: No transitive dependency conflicts expected

💡 Recommended Actions

  • Immediate Merge: Safe to merge without code modifications
  • No Manual Migration Required: The codebase only uses testify's assert package, not the mock functionality that was fixed
  • Testing: Standard test suite execution will validate compatibility

🔗 Reference Links

Generated by koki-develop/claude-renovate-review

@koki-develop koki-develop merged commit 50b2a27 into main Sep 2, 2025
5 checks passed
@koki-develop koki-develop deleted the renovate/github.com-stretchr-testify-1.x branch September 2, 2025 00:54
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.

2 participants