stretchr / testify

A toolkit with common assertions and mocks that plays nicely with the standard library
MIT License
22.5k stars 1.56k forks source link

Update minimum required go version in README.md #1602

Closed lord63 closed 1 month ago

lord63 commented 1 month ago

Summary

Update the minimum required go version in readme. Since the go.mod and the ci says the minimum version should be 1.17.

Changes

No other changes, just update the readme.

Motivation

Update and clarify the minimum required go version, so 1.17 and 1.18 go version users will have a try.

Related issues

None

brackendawson commented 1 month ago

The supported version is the standard we hold ourselves to providing support for. We deliberately leave the go directive set to a correct value though, which lags behind, in order for it to be correct (the source code itself really does "target" that release), and going forward past 1.20 to not flatly break the people we don't support.

dolmen commented 4 weeks ago

While we still aim to support Go from 1.17, this is a best effort and we don't want our users to rely to much on this as time passes.

So I'm fine with the README mentioning a more recent version than what is in go.mod. Go 1.19 is already quite old.