Skip to content

v0.12.4: Merge pull request #182 from saschagrunert/fix/agent-shared-options

Latest

Choose a tag to compare

@saschagrunert saschagrunert released this 31 Mar 08:43
c5ec679

Changes by Kind

Bug

  • Fix shared default options mutation across http agents. NewAgent() previously returned agents all pointing to the same options struct, so calling any With*() method on one agent would mutate all agents. (#182, @saschagrunert) [SIG Release]

Feature

  • The http.Agent now supports setting custom clients with WithClient() (#169, @puerco) [SIG Release]

Other (Cleanup or Flake)

  • Bump cosign and golangci-lint (#179, @cpanato) [SIG Release]

Dependencies

Added

  • github.com/cespare/xxhash/v2: v2.3.0

Changed

Removed

Nothing has changed.