Skip to content

Update module github.com/google/go-cmp to v0.7.0 #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 22, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 21, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/google/go-cmp v0.6.0 -> v0.7.0 age adoption passing confidence

Release Notes

google/go-cmp (github.com/google/go-cmp)

v0.7.0

Compare Source

New API:

  • (#​367) Support compare functions with SortSlices and SortMaps

Panic messaging:

  • (#​370) Detect proto.Message types when failing to export a field

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.

Copy link

Automatic Review

The changes made in the go.mod file involve updating the version of the github.com/google/go-cmp dependency from v0.6.0 to v0.7.0. This change raises the following points for consideration:

  • Completeness: It is crucial to evaluate whether the newer dependency version (v0.7.0) is compatible with existing code. Upgrading to a newer version can introduce breaking changes. Ensure that the changes in v0.7.0 have been reviewed and verified against your codebase.

  • Testing: After updating the dependency, it's essential to run your existing unit tests to check for regressions or failures caused by the change in the dependency version. If tests do not exist to cover the functionalities impacted by this library, consider adding them. It ensures stability when changing third-party dependencies.

For example:

// Ensure to add tests if existing ones don't cover the library's usages.
// Run your tests after the upgrade.
if err := runTests(); err != nil {
    log.Fatalf("Tests failed after updating go-cmp: %v", err)
}

To summarize, ensure that a thorough compatibility check is conducted on the upgraded library version and that tests are executed to confirm no existing functionality has been adversely affected.

@catatsuy catatsuy merged commit 6c627ef into main Feb 22, 2025
6 checks passed
@catatsuy catatsuy deleted the renovate/github.com-google-go-cmp-0.x branch February 22, 2025 06:29
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