Repository navigation
Comparing changes
Open a pull request
base repository: denniszag/errors
base: master
head repository: cockroachdb/errors
compare: master
- 13 commits
- 7 files changed
- 6 contributors
Commits on Apr 22, 2026
-
build: bump min Go version to 1.25, add 1.26 to CI matrix
Also fix a non-constant format string in fmttests that the Go 1.26 vet checker now flags. Co-Authored-By: roachdev-claude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d8efb9 - Browse repository at this point
Copy the full SHA 8d8efb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d948846 - Browse repository at this point
Copy the full SHA d948846View commit details -
Merge pull request cockroachdb#160 from cockroachdb/davidh/bump-go-1.25
build: bump min Go version to 1.25, add 1.26 to CI
Configuration menu - View commit details
-
Copy full SHA for 3c36bbd - Browse repository at this point
Copy the full SHA 3c36bbdView commit details -
errors: re-export ErrUnsupported from stdlib
The standard library added errors.ErrUnsupported in Go 1.21. Re-export it from this package for drop-in compatibility. Co-Authored-By: roachdev-claude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3533d59 - Browse repository at this point
Copy the full SHA 3533d59View commit details
Commits on Apr 25, 2026
-
report: migrate Event.Extra to Event.Contexts (sentry-go v0.46+ compat)
sentry-go v0.46.0 removed the Extra field from sentry.Event (see getsentry/sentry-go#1274). ReportError merged its extraDetails map into event.Extra, which now fails to compile against sentry-go >= v0.46.0. Because report_api.go in the root errors package imports the report sub-package, the typecheck failure blocks the entire module for every downstream consumer -- not just callers of the Sentry reporting code. Switches the per-key merge to event.Contexts, which is the documented replacement. Each extra is stored under sentry.Context{"value": v} to conform to the Context schema (map[string]interface{}). Along the way: - Adds the new Close() and FlushWithContext(ctx) methods required by the v0.46.0 sentry.Transport interface on the test-only interceptingTransport in report/report_test.go and fmttests/datadriven_test.go. - In the fmttests printer, filters to only Contexts entries that carry our "value" sub-key, so Sentry's built-in default contexts (device/os/runtime/trace) emitted by sentry.NewEvent() do not leak into fixtures. Preserves the "== Extra" label -- net fixture diff is empty. - Fixes a pre-existing non-constant-format-string call in fmttests/datadriven_test.go flagged by the stricter go vet in the Go toolchain now required by sentry-go v0.46.0. - Bumps the go directive to 1.25.0 (drops the no-longer-needed toolchain line) because sentry-go v0.46.0 itself declares go 1.25.0. Fixes cockroachdb#158
Configuration menu - View commit details
-
Copy full SHA for ad7454c - Browse repository at this point
Copy the full SHA ad7454cView commit details
Commits on Apr 27, 2026
-
Merge pull request cockroachdb#159 from denniszag/fix/sentry-go-v0.46…
…-compat report: migrate Event.Extra to Event.Contexts (sentry-go v0.46+ compat)
Configuration menu - View commit details
-
Copy full SHA for fc93249 - Browse repository at this point
Copy the full SHA fc93249View commit details
Commits on Jun 18, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 83ea25b - Browse repository at this point
Copy the full SHA 83ea25bView commit details -
Bump google.golang.org/grpc from 1.56.3 to 1.79.3
Bumps google.golang.org/grpc from 1.56.3 to 1.79.3, addressing the critical security advisory. Rebased onto current master (go 1.25.0): the go directive and CI matrix from the original dependabot PR were stale, so this re-applies only the dependency upgrade on top of master. go mod tidy pulls the required transitive bumps (protobuf 1.36.10, golang/protobuf 1.5.4, x/net 0.48.0, x/sys 0.39.0, x/text 0.32.0). Co-Authored-By: roachdev-claude <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e013f71 - Browse repository at this point
Copy the full SHA e013f71View commit details -
Merge pull request cockroachdb#157 from cockroachdb/dependabot/go_mod…
…ules/google.golang.org/grpc-1.79.3 Bump google.golang.org/grpc from 1.56.3 to 1.79.3
Configuration menu - View commit details
-
Copy full SHA for d643ae2 - Browse repository at this point
Copy the full SHA d643ae2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41eb805 - Browse repository at this point
Copy the full SHA 41eb805View commit details -
Merge pull request cockroachdb#161 from cockroachdb/davidh/add-erruns…
…upported errors: re-export ErrUnsupported from stdlib
Configuration menu - View commit details
-
Copy full SHA for 4fc17f8 - Browse repository at this point
Copy the full SHA 4fc17f8View commit details
Commits on Sep 23, 2026
-
deps: bump golang.org/x/text to v0.41.0
Bumps the indirect dependency golang.org/x/text from v0.32.0 to v0.41.0 to satisfy the requirement of >= v0.39.0. v0.41.0 is the highest release that still requires only go 1.25, matching this module's current go directive. v0.42.0 was intentionally avoided because it raises its minimum to go 1.26.0, which would force the same bump on this module and on every downstream consumer of cockroachdb/errors. x/text is a transitive dependency only (pulled in via golang.org/x/net and grpc); no package in this module imports it directly, so there are no API changes to accommodate. `go build`, `go vet`, and the full test suite pass. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a55cfa - Browse repository at this point
Copy the full SHA 3a55cfaView commit details -
Merge pull request cockroachdb#168 from cockroachdb/rharding6373/bump…
…-x-text-0.41.0 deps: bump golang.org/x/text to v0.41.0
Configuration menu - View commit details
-
Copy full SHA for b63dfdf - Browse repository at this point
Copy the full SHA b63dfdfView 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 master...master