-
Couldn't load subscription status.
- Fork 218
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: google/go-cmp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.9
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: google/go-cmp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.6.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 6 commits
- 15 files changed
- 5 contributors
Commits on Feb 22, 2023
-
Remove purego fallbacks (#325)
Having go-cmp panic when using the purego build tag makes it hard to use go-cmp for testing packages that themselves have purego fallbacks. Since go-cmp can't implement its functionality without unsafe (the "fallback" panics) and since environments that prohibit unsafe are much less common these days anyway, simply remove purego code entirely. Fixes #283.
Configuration menu - View commit details
-
Copy full SHA for 571a56b - Browse repository at this point
Copy the full SHA 571a56bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bb304a - Browse repository at this point
Copy the full SHA 3bb304aView commit details
Commits on Jun 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8cea5de - Browse repository at this point
Copy the full SHA 8cea5deView commit details -
set workflow permission to read-only (#327)
Co-authored-by: Damien Neil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a3e8dd - Browse repository at this point
Copy the full SHA 8a3e8ddView commit details
Commits on Aug 31, 2023
-
Use of hotlinking of Go identifiers (#337)
GoDoc now supports hot linking to specific Go identifiers. Use that feature to enhance the usability of cmp docs. Since cmp lacks a direct dependency on cmpopts, you are forced to use the fully-qualified import path to references identifiers in the cmpopts package. It can future improvements to the go/doc to handle this case, either by rendering the doc with short form, or by detecting the use of cmpopts from the unit tests as well (since those can break circular dependencies).
Configuration menu - View commit details
-
Copy full SHA for e250a55 - Browse repository at this point
Copy the full SHA e250a55View commit details -
Add cmpopts.EquateComparable (#340)
This helper function makes it easier to specify that comparable types are safe to directly compare with the == operator in Go. The API does not use generics as it follows existing options like cmp.AllowUnexported, cmpopts.IgnoreUnexported, or cmpopts.IgnoreTypes. While generics provides type safety, the user experience is not as nice. Our current API allows multiple types to be specified: cmpopts.EquateComparable(netip.Addr{}, netip.Prefix{}) While generics would not allow variadic arguments: cmpopts.EquateComparable[netip.Addr]() cmpopts.EquateComparable[netip.Prefix]() Bump mininimum supported Go to 1.18 for net/netip type. Start testing on Go 1.21. Fixes #339Configuration menu - View commit details
-
Copy full SHA for c3ad843 - Browse repository at this point
Copy the full SHA c3ad843View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.5.9...v0.6.0