-
Notifications
You must be signed in to change notification settings - Fork 159
Comparing changes
Open a pull request
base repository: kr/pretty
base: v0.2.1
head repository: kr/pretty
compare: v0.3.1
- 9 commits
- 9 files changed
- 7 contributors
Commits on Aug 10, 2020
-
diff: detect cycles in the values being compared. (#64)
This prevents infinite recursion, similar to the fixes to the formatter in #13. In addition to detecting cycles, we also check that the two values contain the same cyclic structure.
Configuration menu - View commit details
-
Copy full SHA for 4403578 - Browse repository at this point
Copy the full SHA 4403578View commit details -
Configuration menu - View commit details
-
Copy full SHA for 814ac30 - Browse repository at this point
Copy the full SHA 814ac30View commit details
Commits on Aug 21, 2020
-
Use github.com/rogpeppe/go-internal/fmtsort for stable map output (#67)
github.com/rogpeppe/go-internal factors out an opinionated selection of internal packages and functionality from the Go standard library. One such package is fmtsort: Package fmtsort provides a general stable ordering mechanism for maps, on behalf of the fmt and text/template packages. It is not guaranteed to be efficient and works only for types that are valid map keys. Use this package to ensure the Formatter output for maps is stable. Fixes #47
Configuration menu - View commit details
-
Copy full SHA for 3630c7d - Browse repository at this point
Copy the full SHA 3630c7dView commit details
Commits on Aug 31, 2020
-
Print values using the `GoString()` method (from `fmt.GoStringer()`) if implemented.
Configuration menu - View commit details
-
Copy full SHA for 59b4212 - Browse repository at this point
Copy the full SHA 59b4212View commit details
Commits on Nov 24, 2020
-
go.mod: upgrade to github.com/kr/text v0.2.0 (#71)
This new version switches from obsolete github.com/kr/pty to github.com/creak/pty, which has improved platform support.
Configuration menu - View commit details
-
Copy full SHA for a883a84 - Browse repository at this point
Copy the full SHA a883a84View commit details
Commits on Aug 5, 2021
-
This updates github.com/rogpeppe/go-internal from 1.6.1 to 1.8.0 and the github action 'setup-go' from v1 to v2. It also adds a config file for dependabot to automatically check this repo for new dependency versions weekly.
Configuration menu - View commit details
-
Copy full SHA for 0c671bc - Browse repository at this point
Copy the full SHA 0c671bcView commit details
Commits on Mar 8, 2022
-
Bump actions/checkout from 2 to 3 (#84)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d928460 - Browse repository at this point
Copy the full SHA d928460View commit details
Commits on Aug 25, 2022
-
Catch panics when calling GoString like fmt %#v does (#87)
This handles a few cases (similar to how fmt %#v does): - A GoString method on a value receiver, called with a nil pointer - A GoString method on a pointer receiver that doesn't check for nil - A GoString method that panics in some other way Because Go 1.17 added a method Time.GoString with value receiver, this broke structs that had *time.Time fields with nil values (which is common!). Also added a bunch of tests for these cases. Fixes #77 Co-authored-by: Jordan Barrett <jordan.barrett@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for d8c7eb1 - Browse repository at this point
Copy the full SHA d8c7eb1View commit details
Commits on Aug 29, 2022
-
Bump github.com/rogpeppe/go-internal from 1.8.0 to 1.9.0 (#88)
This change bumps github.com/rogpeppe/go-internal from version 1.8.0 to 1.9.0. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3cd153a - Browse repository at this point
Copy the full SHA 3cd153aView commit details
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.2.1...v0.3.1