Shopify / toxiproxy

:alarm_clock: :fire: A TCP proxy to simulate network and system conditions for chaos and resiliency testing
https://github.com/shopify/toxiproxy
MIT License
10.85k stars 452 forks source link

Do not pin minimum patch version in module #595

Closed jaimem88 closed 1 month ago

jaimem88 commented 1 month ago

Specifying the patch version in the Go module means that any other modules using this need to comply. This has caused our go.mod file to change. While is not necessarily bad, we only use this library for testing so it feels wrong to have to pin our own version to match this module.

By only specifying the major+minor version in the go.mod file, we let the Go toolchain pick the appropriate version that is available when building the binary but requiring at least the 1.22 version.

abecevello commented 1 month ago

@jaimem88 Thanks for catching this mistake. I'll merge this PR and get a new version released.