From cf3808ae6537b65fafc056a934e128660353fe5a Mon Sep 17 00:00:00 2001 From: Jamie Tanna Date: Fri, 8 Sep 2023 17:08:16 +0100 Subject: [PATCH] Downgrade Go version requirement to 1.20 (#2197) As part of the upgrade to Go 1.21, the Go toolchain now requires the `go` directive to match the maximum Go version in use in dependencies. This leads to any transitive dependency on this library to result in a requirement of the consuming project moving to Go 1.21. Although in a lot of cases this may not be as problematic, it forces consumers to migrate, which we don't need to do in this case. This also requires we bump jwt and httpexpect dependencies, as they've downgraded, too. --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index a733e558..cbeb4457 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/kataras/iris/v12 -go 1.21 +go 1.20 retract [v12.0.0, v12.1.8] // Retract older versions as only latest is to be depended upon. Please update to @latest