cockroachdb / errors

Go error library with error portability over the network
Apache License 2.0
2.04k stars 66 forks source link

Downgrade go version requirement to 1.19 #127

Closed dhartunian closed 11 months ago

dhartunian commented 11 months ago

Previously, we had upgraded this library to be compatible with a number of features introduced in go 1.20. Our compatibility with the multi-cause errors does not depend on those features being available in the stdlib so the requirement in go.mod is being downgraded to 1.19.

This removes the need for an older compatibility branch released as version 1.10.1 of this library.

Go 1.20 features are only necessary to run tests. GitHub actions are adjusted to additionally test for a successful build on 1.19.


This change is Reviewable