From bee7e08fd30c4af9b1ff902eb555e07fe6ba2cef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E6=B3=BD=E8=BD=A9?= Date: Thu, 26 Sep 2024 18:53:10 +0800 Subject: [PATCH] contrib: switch the minimal go version to a more stable version (#36263) Signed-off-by: spacewander Commit Message: contrib: switch the minimal go version to a more stable version Additional Description: It's too risky to use a version which is just released for a month as the minimal Go version requirement. That previous change hurts the adoption of Envoy Golang filter as it forced users to use the latest version as the minimal required version. Risk Level: Low Testing: Docs Changes: Release Notes: Platform Specific Features: [Optional Runtime guard:] Fixes #36246 [Optional Fixes commit #PR or SHA] [Optional Deprecated:] [Optional [API Considerations](https://github.com/envoyproxy/envoy/blob/main/api/review_checklist.md):] --- contrib/golang/filters/http/test/test_data/access_log/go.mod | 2 +- contrib/golang/filters/http/test/test_data/action/go.mod | 2 +- contrib/golang/filters/http/test/test_data/basic/go.mod | 2 +- contrib/golang/filters/http/test/test_data/buffer/go.mod | 2 +- contrib/golang/filters/http/test/test_data/dummy/go.mod | 2 +- contrib/golang/filters/http/test/test_data/echo/go.mod | 2 +- contrib/golang/filters/http/test/test_data/metric/go.mod | 2 +- contrib/golang/filters/http/test/test_data/passthrough/go.mod | 2 +- contrib/golang/filters/http/test/test_data/property/go.mod | 2 +- contrib/golang/filters/http/test/test_data/routeconfig/go.mod | 2 +- contrib/golang/filters/http/test/test_data/websocket/go.mod | 2 +- contrib/golang/filters/network/test/test_data/go.mod | 2 +- .../router/cluster_specifier/test/test_data/simple/go.mod | 2 +- go.mod | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/contrib/golang/filters/http/test/test_data/access_log/go.mod b/contrib/golang/filters/http/test/test_data/access_log/go.mod index a019ffa88202..b1e07cfaf97d 100644 --- a/contrib/golang/filters/http/test/test_data/access_log/go.mod +++ b/contrib/golang/filters/http/test/test_data/access_log/go.mod @@ -1,6 +1,6 @@ module example.com/access_log -go 1.23 +go 1.22 require github.com/envoyproxy/envoy v1.24.0 diff --git a/contrib/golang/filters/http/test/test_data/action/go.mod b/contrib/golang/filters/http/test/test_data/action/go.mod index 0c6cbba1b5b4..2e75a107b1c5 100644 --- a/contrib/golang/filters/http/test/test_data/action/go.mod +++ b/contrib/golang/filters/http/test/test_data/action/go.mod @@ -1,6 +1,6 @@ module example.com/action -go 1.23 +go 1.22 require github.com/envoyproxy/envoy v1.24.0 diff --git a/contrib/golang/filters/http/test/test_data/basic/go.mod b/contrib/golang/filters/http/test/test_data/basic/go.mod index 12f18783fe1b..ef1378b50ca2 100644 --- a/contrib/golang/filters/http/test/test_data/basic/go.mod +++ b/contrib/golang/filters/http/test/test_data/basic/go.mod @@ -1,6 +1,6 @@ module example.com/basic -go 1.23 +go 1.22 require github.com/envoyproxy/envoy v1.24.0 diff --git a/contrib/golang/filters/http/test/test_data/buffer/go.mod b/contrib/golang/filters/http/test/test_data/buffer/go.mod index 2f4c5c44b8f9..a1f71d51601d 100644 --- a/contrib/golang/filters/http/test/test_data/buffer/go.mod +++ b/contrib/golang/filters/http/test/test_data/buffer/go.mod @@ -1,6 +1,6 @@ module example.com/buffer -go 1.23 +go 1.22 require ( github.com/envoyproxy/envoy v1.24.0 diff --git a/contrib/golang/filters/http/test/test_data/dummy/go.mod b/contrib/golang/filters/http/test/test_data/dummy/go.mod index e8c9ba548edc..1355c37b7682 100644 --- a/contrib/golang/filters/http/test/test_data/dummy/go.mod +++ b/contrib/golang/filters/http/test/test_data/dummy/go.mod @@ -1,6 +1,6 @@ module example.com/dummy -go 1.23 +go 1.22 require github.com/envoyproxy/envoy v1.24.0 diff --git a/contrib/golang/filters/http/test/test_data/echo/go.mod b/contrib/golang/filters/http/test/test_data/echo/go.mod index 3647faba9124..d77fa5a01c18 100644 --- a/contrib/golang/filters/http/test/test_data/echo/go.mod +++ b/contrib/golang/filters/http/test/test_data/echo/go.mod @@ -1,6 +1,6 @@ module example.com/echo -go 1.23 +go 1.22 require ( github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa diff --git a/contrib/golang/filters/http/test/test_data/metric/go.mod b/contrib/golang/filters/http/test/test_data/metric/go.mod index f35013f02580..470e4da15e39 100644 --- a/contrib/golang/filters/http/test/test_data/metric/go.mod +++ b/contrib/golang/filters/http/test/test_data/metric/go.mod @@ -1,6 +1,6 @@ module example.com/basic -go 1.23 +go 1.22 require github.com/envoyproxy/envoy v1.24.0 diff --git a/contrib/golang/filters/http/test/test_data/passthrough/go.mod b/contrib/golang/filters/http/test/test_data/passthrough/go.mod index bf3abff8c594..7900685fdc15 100644 --- a/contrib/golang/filters/http/test/test_data/passthrough/go.mod +++ b/contrib/golang/filters/http/test/test_data/passthrough/go.mod @@ -1,6 +1,6 @@ module example.com/passthrough -go 1.23 +go 1.22 require github.com/envoyproxy/envoy v1.24.0 diff --git a/contrib/golang/filters/http/test/test_data/property/go.mod b/contrib/golang/filters/http/test/test_data/property/go.mod index 830e11ad8071..2dbd5e7ef8a3 100644 --- a/contrib/golang/filters/http/test/test_data/property/go.mod +++ b/contrib/golang/filters/http/test/test_data/property/go.mod @@ -1,6 +1,6 @@ module example.com/property -go 1.23 +go 1.22 require ( github.com/envoyproxy/envoy v1.24.0 diff --git a/contrib/golang/filters/http/test/test_data/routeconfig/go.mod b/contrib/golang/filters/http/test/test_data/routeconfig/go.mod index 6359d3e96b0d..7e51fdbaf5a0 100644 --- a/contrib/golang/filters/http/test/test_data/routeconfig/go.mod +++ b/contrib/golang/filters/http/test/test_data/routeconfig/go.mod @@ -1,6 +1,6 @@ module example.com/routeconfig -go 1.23 +go 1.22 require ( github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa diff --git a/contrib/golang/filters/http/test/test_data/websocket/go.mod b/contrib/golang/filters/http/test/test_data/websocket/go.mod index 15446803fe0b..d05aa1beec5c 100644 --- a/contrib/golang/filters/http/test/test_data/websocket/go.mod +++ b/contrib/golang/filters/http/test/test_data/websocket/go.mod @@ -1,6 +1,6 @@ module example.com/websocket -go 1.23 +go 1.22 require github.com/envoyproxy/envoy v1.24.0 diff --git a/contrib/golang/filters/network/test/test_data/go.mod b/contrib/golang/filters/network/test/test_data/go.mod index 6e19aa70b3c0..bd17fec1b477 100644 --- a/contrib/golang/filters/network/test/test_data/go.mod +++ b/contrib/golang/filters/network/test/test_data/go.mod @@ -1,6 +1,6 @@ module github.com/envoyproxy/envoy/contrib/golang/filters/network/test/test_data -go 1.23 +go 1.22 require github.com/envoyproxy/envoy v1.24.0 diff --git a/contrib/golang/router/cluster_specifier/test/test_data/simple/go.mod b/contrib/golang/router/cluster_specifier/test/test_data/simple/go.mod index 20bada9d81a7..82f1b15caf80 100644 --- a/contrib/golang/router/cluster_specifier/test/test_data/simple/go.mod +++ b/contrib/golang/router/cluster_specifier/test/test_data/simple/go.mod @@ -1,6 +1,6 @@ module example.com/routeconfig -go 1.23 +go 1.22 require ( github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa diff --git a/go.mod b/go.mod index ecd12d00ece4..396033361adc 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/envoyproxy/envoy -go 1.23 +go 1.22 require google.golang.org/protobuf v1.34.2