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: cenkalti/backoff
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.0.1
Choose a base ref
...
head repository: cenkalti/backoff
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.0.2
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Feb 9, 2025

  1. updates Retry to use context.Cause

    This diff updates `Retry` to propagate errors using `context.Cause`
    instead of `Context.Err`. `context.Cause` was added in go 1.20 and allows
    users to propagate a specific error when cancelling a context. It is
    backwards compatible with `Context.Error`.
    
    * https://pkg.go.dev/context#Cause
    * https://pkg.go.dev/context#WithCancelCause
    sgg authored and cenkalti committed Feb 9, 2025
    Configuration menu
    Copy the full SHA
    432d4c1 View commit details
    Browse the repository at this point in the history
  2. ci: updates go version to 1.23

    sgg authored and cenkalti committed Feb 9, 2025
    Configuration menu
    Copy the full SHA
    a52b527 View commit details
    Browse the repository at this point in the history
Loading