From eea354f5bb85ba5c830601b939ba2bb4f3d01f1a Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 7 Sep 2023 12:13:03 +0200 Subject: [PATCH] go.mod: increase the minimum supported Go version from Go1.19 to Go1.20 --- Makefile | 2 +- README.md | 6 +++--- app/vmagent/README.md | 4 ++-- app/vmalert/README.md | 4 ++-- app/vmauth/README.md | 2 +- app/vmbackup/README.md | 2 +- app/vmctl/README.md | 4 ++-- app/vmrestore/README.md | 2 +- docs/README.md | 6 +++--- docs/Single-server-VictoriaMetrics.md | 6 +++--- docs/vmagent.md | 4 ++-- docs/vmalert.md | 4 ++-- docs/vmauth.md | 2 +- docs/vmbackup.md | 2 +- docs/vmctl.md | 4 ++-- docs/vmrestore.md | 2 +- go.mod | 2 +- 17 files changed, 29 insertions(+), 29 deletions(-) diff --git a/Makefile b/Makefile index cf402cdf46..623529912d 100644 --- a/Makefile +++ b/Makefile @@ -436,7 +436,7 @@ benchmark-pure: vendor-update: go get -u -d ./lib/... go get -u -d ./app/... - go mod tidy -compat=1.19 + go mod tidy -compat=1.20 go mod vendor app-local: diff --git a/README.md b/README.md index f595126dad..e1ae2ab87e 100644 --- a/README.md +++ b/README.md @@ -915,7 +915,7 @@ to your needs or when testing bugfixes. ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make victoria-metrics` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics` binary and puts it into the `bin` folder. @@ -931,7 +931,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b ### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make victoria-metrics-linux-arm` or `make victoria-metrics-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics-linux-arm` or `victoria-metrics-linux-arm64` binary respectively and puts it into the `bin` folder. @@ -945,7 +945,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b `Pure Go` mode builds only Go code without [cgo](https://golang.org/cmd/cgo/) dependencies. -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make victoria-metrics-pure` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics-pure` binary and puts it into the `bin` folder. diff --git a/app/vmagent/README.md b/app/vmagent/README.md index 3a821927dd..e574715895 100644 --- a/app/vmagent/README.md +++ b/app/vmagent/README.md @@ -1130,7 +1130,7 @@ It may be needed to build `vmagent` from source code when developing or testing ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmagent` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds the `vmagent` binary and puts it into the `bin` folder. @@ -1159,7 +1159,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b ### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmagent-linux-arm` or `make vmagent-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics) It builds `vmagent-linux-arm` or `vmagent-linux-arm64` binary respectively and puts it into the `bin` folder. diff --git a/app/vmalert/README.md b/app/vmalert/README.md index e435809f42..3c38f2df0f 100644 --- a/app/vmalert/README.md +++ b/app/vmalert/README.md @@ -1515,7 +1515,7 @@ spec: ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmalert` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmalert` binary and puts it into the `bin` folder. @@ -1531,7 +1531,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b ### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmalert-linux-arm` or `make vmalert-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmalert-linux-arm` or `vmalert-linux-arm64` binary respectively and puts it into the `bin` folder. diff --git a/app/vmauth/README.md b/app/vmauth/README.md index 840acf6226..357dfc2e40 100644 --- a/app/vmauth/README.md +++ b/app/vmauth/README.md @@ -283,7 +283,7 @@ It is recommended using [binary releases](https://github.com/VictoriaMetrics/Vic ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmauth` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmauth` binary and puts it into the `bin` folder. diff --git a/app/vmbackup/README.md b/app/vmbackup/README.md index 50954107d8..8b90c6872b 100644 --- a/app/vmbackup/README.md +++ b/app/vmbackup/README.md @@ -303,7 +303,7 @@ It is recommended using [binary releases](https://github.com/VictoriaMetrics/Vic ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmbackup` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmbackup` binary and puts it into the `bin` folder. diff --git a/app/vmctl/README.md b/app/vmctl/README.md index 50d11161ee..c4c5d676a7 100644 --- a/app/vmctl/README.md +++ b/app/vmctl/README.md @@ -1023,7 +1023,7 @@ It is recommended using [binary releases](https://github.com/VictoriaMetrics/Vic ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmctl` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmctl` binary and puts it into the `bin` folder. @@ -1052,7 +1052,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b #### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmctl-linux-arm` or `make vmctl-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmctl-linux-arm` or `vmctl-linux-arm64` binary respectively and puts it into the `bin` folder. diff --git a/app/vmrestore/README.md b/app/vmrestore/README.md index cc4c646fb6..dd6d231d3e 100644 --- a/app/vmrestore/README.md +++ b/app/vmrestore/README.md @@ -203,7 +203,7 @@ It is recommended using [binary releases](https://github.com/VictoriaMetrics/Vic ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmrestore` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmrestore` binary and puts it into the `bin` folder. diff --git a/docs/README.md b/docs/README.md index a9b11f4f09..f5ae09d644 100644 --- a/docs/README.md +++ b/docs/README.md @@ -918,7 +918,7 @@ to your needs or when testing bugfixes. ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make victoria-metrics` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics` binary and puts it into the `bin` folder. @@ -934,7 +934,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b ### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make victoria-metrics-linux-arm` or `make victoria-metrics-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics-linux-arm` or `victoria-metrics-linux-arm64` binary respectively and puts it into the `bin` folder. @@ -948,7 +948,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b `Pure Go` mode builds only Go code without [cgo](https://golang.org/cmd/cgo/) dependencies. -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make victoria-metrics-pure` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics-pure` binary and puts it into the `bin` folder. diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md index 0d30135c36..2189822e4b 100644 --- a/docs/Single-server-VictoriaMetrics.md +++ b/docs/Single-server-VictoriaMetrics.md @@ -926,7 +926,7 @@ to your needs or when testing bugfixes. ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make victoria-metrics` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics` binary and puts it into the `bin` folder. @@ -942,7 +942,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b ### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make victoria-metrics-linux-arm` or `make victoria-metrics-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics-linux-arm` or `victoria-metrics-linux-arm64` binary respectively and puts it into the `bin` folder. @@ -956,7 +956,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b `Pure Go` mode builds only Go code without [cgo](https://golang.org/cmd/cgo/) dependencies. -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make victoria-metrics-pure` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics-pure` binary and puts it into the `bin` folder. diff --git a/docs/vmagent.md b/docs/vmagent.md index 30f05360c1..a38d65e2e2 100644 --- a/docs/vmagent.md +++ b/docs/vmagent.md @@ -1141,7 +1141,7 @@ It may be needed to build `vmagent` from source code when developing or testing ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmagent` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds the `vmagent` binary and puts it into the `bin` folder. @@ -1170,7 +1170,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b ### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmagent-linux-arm` or `make vmagent-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics) It builds `vmagent-linux-arm` or `vmagent-linux-arm64` binary respectively and puts it into the `bin` folder. diff --git a/docs/vmalert.md b/docs/vmalert.md index 5a06c4cf8c..d9bef373a4 100644 --- a/docs/vmalert.md +++ b/docs/vmalert.md @@ -1526,7 +1526,7 @@ spec: ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmalert` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmalert` binary and puts it into the `bin` folder. @@ -1542,7 +1542,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b ### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmalert-linux-arm` or `make vmalert-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmalert-linux-arm` or `vmalert-linux-arm64` binary respectively and puts it into the `bin` folder. diff --git a/docs/vmauth.md b/docs/vmauth.md index fa54c63741..2fd7cb1697 100644 --- a/docs/vmauth.md +++ b/docs/vmauth.md @@ -294,7 +294,7 @@ It is recommended using [binary releases](https://github.com/VictoriaMetrics/Vic ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmauth` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmauth` binary and puts it into the `bin` folder. diff --git a/docs/vmbackup.md b/docs/vmbackup.md index cb44bb8776..65783a0012 100644 --- a/docs/vmbackup.md +++ b/docs/vmbackup.md @@ -314,7 +314,7 @@ It is recommended using [binary releases](https://github.com/VictoriaMetrics/Vic ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmbackup` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmbackup` binary and puts it into the `bin` folder. diff --git a/docs/vmctl.md b/docs/vmctl.md index 88e5b10a65..be070615cf 100644 --- a/docs/vmctl.md +++ b/docs/vmctl.md @@ -1034,7 +1034,7 @@ It is recommended using [binary releases](https://github.com/VictoriaMetrics/Vic ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmctl` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmctl` binary and puts it into the `bin` folder. @@ -1063,7 +1063,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b #### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmctl-linux-arm` or `make vmctl-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmctl-linux-arm` or `vmctl-linux-arm64` binary respectively and puts it into the `bin` folder. diff --git a/docs/vmrestore.md b/docs/vmrestore.md index a56cc7ef10..1b45cacdeb 100644 --- a/docs/vmrestore.md +++ b/docs/vmrestore.md @@ -214,7 +214,7 @@ It is recommended using [binary releases](https://github.com/VictoriaMetrics/Vic ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.20. 1. Run `make vmrestore` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmrestore` binary and puts it into the `bin` folder. diff --git a/go.mod b/go.mod index 42d6a5f9c6..a30d80d93a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/VictoriaMetrics/VictoriaMetrics -go 1.19 +go 1.20 // Newer versions of this package break vmctl build replace golang.org/x/exp => golang.org/x/exp v0.0.0-20230713183714-613f0c0eb8a1