diff --git a/Makefile b/Makefile index 9f256ae6a..8b2dd3344 100644 --- a/Makefile +++ b/Makefile @@ -437,7 +437,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 9d98932a3..6b326ab8a 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 28eb5ff7f..b42da7c25 100644 --- a/app/vmagent/README.md +++ b/app/vmagent/README.md @@ -1138,7 +1138,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. @@ -1167,7 +1167,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 255067484..295125472 100644 --- a/app/vmalert/README.md +++ b/app/vmalert/README.md @@ -1501,7 +1501,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. @@ -1517,7 +1517,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 152911932..2e4de4cea 100644 --- a/app/vmauth/README.md +++ b/app/vmauth/README.md @@ -287,7 +287,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 00d68f575..186c0ed48 100644 --- a/app/vmbackup/README.md +++ b/app/vmbackup/README.md @@ -318,7 +318,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 beba31a67..8535d9e34 100644 --- a/app/vmctl/README.md +++ b/app/vmctl/README.md @@ -1068,7 +1068,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. @@ -1097,7 +1097,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 5b6304a33..733dd8d00 100644 --- a/app/vmrestore/README.md +++ b/app/vmrestore/README.md @@ -201,7 +201,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 8f46ea417..45821ffc3 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 0e23a5ec6..074c8e3f8 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 6e06d0358..1a5d026d1 100644 --- a/docs/vmagent.md +++ b/docs/vmagent.md @@ -1149,7 +1149,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. @@ -1178,7 +1178,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 7fe44f893..7a1d9112b 100644 --- a/docs/vmalert.md +++ b/docs/vmalert.md @@ -1512,7 +1512,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. @@ -1528,7 +1528,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 9c9f6453c..9b16022be 100644 --- a/docs/vmauth.md +++ b/docs/vmauth.md @@ -298,7 +298,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 058aa74e6..1dfef5563 100644 --- a/docs/vmbackup.md +++ b/docs/vmbackup.md @@ -329,7 +329,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 9e71165b8..d01953dd4 100644 --- a/docs/vmctl.md +++ b/docs/vmctl.md @@ -1079,7 +1079,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. @@ -1108,7 +1108,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 a4a38f160..a84c76852 100644 --- a/docs/vmrestore.md +++ b/docs/vmrestore.md @@ -212,7 +212,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 4b4181414..df86d5317 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/VictoriaMetrics/VictoriaMetrics -go 1.19 +go 1.20 require ( cloud.google.com/go/storage v1.32.0