Skip to content
Permalink

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: denniszag/errors
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: cockroachdb/errors
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 13 commits
  • 7 files changed
  • 6 contributors

Commits on Apr 22, 2026

  1. 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]>
    dhartunian and roachdev-claude committed Apr 22, 2026
    Configuration menu
    Copy the full SHA
    8d8efb9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d948846 View commit details
    Browse the repository at this point in the history
  3. 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
    dhartunian authored Apr 22, 2026
    Configuration menu
    Copy the full SHA
    3c36bbd View commit details
    Browse the repository at this point in the history
  4. 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]>
    dhartunian and roachdev-claude committed Apr 22, 2026
    Configuration menu
    Copy the full SHA
    3533d59 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2026

  1. 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
    denniszag committed Apr 25, 2026
    Configuration menu
    Copy the full SHA
    ad7454c View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2026

  1. 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)
    dhartunian authored Apr 27, 2026
    Configuration menu
    Copy the full SHA
    fc93249 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2026

  1. Configuration menu
    Copy the full SHA
    83ea25b View commit details
    Browse the repository at this point in the history
  2. 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]>
    dhartunian and roachdev-claude committed Jun 18, 2026
    Configuration menu
    Copy the full SHA
    e013f71 View commit details
    Browse the repository at this point in the history
  3. 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
    dhartunian authored Jun 18, 2026
    Configuration menu
    Copy the full SHA
    d643ae2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    41eb805 View commit details
    Browse the repository at this point in the history
  5. Merge pull request cockroachdb#161 from cockroachdb/davidh/add-erruns…

    …upported
    
    errors: re-export ErrUnsupported from stdlib
    dhartunian authored Jun 18, 2026
    Configuration menu
    Copy the full SHA
    4fc17f8 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2026

  1. 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]>
    rharding6373 and claude committed Sep 23, 2026
    Configuration menu
    Copy the full SHA
    3a55cfa View commit details
    Browse the repository at this point in the history
  2. Merge pull request cockroachdb#168 from cockroachdb/rharding6373/bump…

    …-x-text-0.41.0
    
    deps: bump golang.org/x/text to v0.41.0
    rharding6373 authored Sep 23, 2026
    Configuration menu
    Copy the full SHA
    b63dfdf View commit details
    Browse the repository at this point in the history
Loading