From 201b685b130e89d28edb9c0378d673053e744513 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 3 Mar 2021 15:57:13 +0200 Subject: [PATCH] all: bump minimum supported Go version from 1.13 to 1.14 --- 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/Cluster-VictoriaMetrics.md | 2 +- 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 +- vendor/modules.txt | 37 +++++++++++++++++++++++++++ 17 files changed, 63 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 7aba95a44e..109243d3c9 100644 --- a/README.md +++ b/README.md @@ -646,7 +646,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make victoria-metrics` from the root folder of the repository. It builds `victoria-metrics` binary and puts it into the `bin` folder. @@ -662,7 +662,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make victoria-metrics-arm` or `make victoria-metrics-arm64` from the root folder of the repository. It builds `victoria-metrics-arm` or `victoria-metrics-arm64` binary respectively and puts it into the `bin` folder. @@ -678,7 +678,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b This is an experimental mode, which may result in a lower compression ratio and slower decompression performance. Use it with caution! -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make victoria-metrics-pure` from the root folder of the repository. 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 438649b50e..8bfaf6109f 100644 --- a/app/vmagent/README.md +++ b/app/vmagent/README.md @@ -348,7 +348,7 @@ We recommend using [binary releases](https://github.com/VictoriaMetrics/Victoria ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmagent` from the root folder of the repository. It builds the `vmagent` binary and puts it into the `bin` folder. @@ -377,7 +377,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmagent-arm` or `make vmagent-arm64` from the root folder of the repository. It builds `vmagent-arm` or `vmagent-arm64` binary respectively and puts it into the `bin` folder. diff --git a/app/vmalert/README.md b/app/vmalert/README.md index cc3ef4fbd2..adfed9bf26 100644 --- a/app/vmalert/README.md +++ b/app/vmalert/README.md @@ -391,7 +391,7 @@ It is recommended using #### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmalert` from the root folder of the repository. It builds `vmalert` binary and puts it into the `bin` folder. @@ -408,7 +408,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmalert-arm` or `make vmalert-arm64` from the root folder of the repository. It builds `vmalert-arm` or `vmalert-arm64` binary respectively and puts it into the `bin` folder. diff --git a/app/vmauth/README.md b/app/vmauth/README.md index 41492efd1f..0c241aeb39 100644 --- a/app/vmauth/README.md +++ b/app/vmauth/README.md @@ -110,7 +110,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmauth` from the root folder of the repository. It builds `vmauth` binary and puts it into the `bin` folder. diff --git a/app/vmbackup/README.md b/app/vmbackup/README.md index 37bc102f47..a26357b890 100644 --- a/app/vmbackup/README.md +++ b/app/vmbackup/README.md @@ -235,7 +235,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmbackup` from the root folder of the repository. It builds `vmbackup` binary and puts it into the `bin` folder. diff --git a/app/vmctl/README.md b/app/vmctl/README.md index 549196c53f..8a53d590a4 100644 --- a/app/vmctl/README.md +++ b/app/vmctl/README.md @@ -48,7 +48,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmctl` from the root folder of the repository. It builds `vmctl` binary and puts it into the `bin` folder. @@ -77,7 +77,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmctl-arm` or `make vmctl-arm64` from the root folder of the repository. It builds `vmctl-arm` or `vmctl-arm64` binary respectively and puts it into the `bin` folder. diff --git a/app/vmrestore/README.md b/app/vmrestore/README.md index c12629549a..67127d5be9 100644 --- a/app/vmrestore/README.md +++ b/app/vmrestore/README.md @@ -131,7 +131,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmrestore` from the root folder of the repository. It builds `vmrestore` binary and puts it into the `bin` folder. diff --git a/docs/Cluster-VictoriaMetrics.md b/docs/Cluster-VictoriaMetrics.md index 7e678e1c1f..1fe6914921 100644 --- a/docs/Cluster-VictoriaMetrics.md +++ b/docs/Cluster-VictoriaMetrics.md @@ -96,7 +96,7 @@ vmstorage-prod ### Development Builds -1. [Install go](https://golang.org/doc/install). The minimum supported version is Go 1.13. +1. [Install go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make` from the repository root. It should build `vmstorage`, `vmselect` and `vminsert` binaries and put them into the `bin` folder. diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md index 7aba95a44e..109243d3c9 100644 --- a/docs/Single-server-VictoriaMetrics.md +++ b/docs/Single-server-VictoriaMetrics.md @@ -646,7 +646,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make victoria-metrics` from the root folder of the repository. It builds `victoria-metrics` binary and puts it into the `bin` folder. @@ -662,7 +662,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make victoria-metrics-arm` or `make victoria-metrics-arm64` from the root folder of the repository. It builds `victoria-metrics-arm` or `victoria-metrics-arm64` binary respectively and puts it into the `bin` folder. @@ -678,7 +678,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b This is an experimental mode, which may result in a lower compression ratio and slower decompression performance. Use it with caution! -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make victoria-metrics-pure` from the root folder of the repository. It builds `victoria-metrics-pure` binary and puts it into the `bin` folder. diff --git a/docs/vmagent.md b/docs/vmagent.md index 438649b50e..8bfaf6109f 100644 --- a/docs/vmagent.md +++ b/docs/vmagent.md @@ -348,7 +348,7 @@ We recommend using [binary releases](https://github.com/VictoriaMetrics/Victoria ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmagent` from the root folder of the repository. It builds the `vmagent` binary and puts it into the `bin` folder. @@ -377,7 +377,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmagent-arm` or `make vmagent-arm64` from the root folder of the repository. It builds `vmagent-arm` or `vmagent-arm64` binary respectively and puts it into the `bin` folder. diff --git a/docs/vmalert.md b/docs/vmalert.md index cc3ef4fbd2..adfed9bf26 100644 --- a/docs/vmalert.md +++ b/docs/vmalert.md @@ -391,7 +391,7 @@ It is recommended using #### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmalert` from the root folder of the repository. It builds `vmalert` binary and puts it into the `bin` folder. @@ -408,7 +408,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmalert-arm` or `make vmalert-arm64` from the root folder of the repository. It builds `vmalert-arm` or `vmalert-arm64` binary respectively and puts it into the `bin` folder. diff --git a/docs/vmauth.md b/docs/vmauth.md index 41492efd1f..0c241aeb39 100644 --- a/docs/vmauth.md +++ b/docs/vmauth.md @@ -110,7 +110,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmauth` from the root folder of the repository. It builds `vmauth` binary and puts it into the `bin` folder. diff --git a/docs/vmbackup.md b/docs/vmbackup.md index 37bc102f47..a26357b890 100644 --- a/docs/vmbackup.md +++ b/docs/vmbackup.md @@ -235,7 +235,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmbackup` from the root folder of the repository. It builds `vmbackup` binary and puts it into the `bin` folder. diff --git a/docs/vmctl.md b/docs/vmctl.md index 549196c53f..8a53d590a4 100644 --- a/docs/vmctl.md +++ b/docs/vmctl.md @@ -48,7 +48,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmctl` from the root folder of the repository. It builds `vmctl` binary and puts it into the `bin` folder. @@ -77,7 +77,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmctl-arm` or `make vmctl-arm64` from the root folder of the repository. It builds `vmctl-arm` or `vmctl-arm64` binary respectively and puts it into the `bin` folder. diff --git a/docs/vmrestore.md b/docs/vmrestore.md index c12629549a..67127d5be9 100644 --- a/docs/vmrestore.md +++ b/docs/vmrestore.md @@ -131,7 +131,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.13. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.14. 2. Run `make vmrestore` from the root folder of the repository. It builds `vmrestore` binary and puts it into the `bin` folder. diff --git a/go.mod b/go.mod index 6b20131a26..995af9a833 100644 --- a/go.mod +++ b/go.mod @@ -43,4 +43,4 @@ require ( gopkg.in/yaml.v2 v2.4.0 ) -go 1.13 +go 1.14 diff --git a/vendor/modules.txt b/vendor/modules.txt index c092250109..9d9b60eb31 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,4 +1,5 @@ # cloud.google.com/go v0.78.0 +## explicit cloud.google.com/go cloud.google.com/go/compute/metadata cloud.google.com/go/iam @@ -7,21 +8,27 @@ cloud.google.com/go/internal/optional cloud.google.com/go/internal/trace cloud.google.com/go/internal/version # cloud.google.com/go/storage v1.14.0 +## explicit cloud.google.com/go/storage # github.com/VictoriaMetrics/fastcache v1.5.8 +## explicit github.com/VictoriaMetrics/fastcache # github.com/VictoriaMetrics/fasthttp v1.0.12 +## explicit github.com/VictoriaMetrics/fasthttp github.com/VictoriaMetrics/fasthttp/fasthttputil github.com/VictoriaMetrics/fasthttp/stackless # github.com/VictoriaMetrics/metrics v1.15.2 +## explicit github.com/VictoriaMetrics/metrics # github.com/VictoriaMetrics/metricsql v0.12.0 +## explicit github.com/VictoriaMetrics/metricsql github.com/VictoriaMetrics/metricsql/binaryop # github.com/VividCortex/ewma v1.1.1 github.com/VividCortex/ewma # github.com/aws/aws-sdk-go v1.37.22 +## explicit github.com/aws/aws-sdk-go/aws github.com/aws/aws-sdk-go/aws/arn github.com/aws/aws-sdk-go/aws/awserr @@ -76,13 +83,17 @@ github.com/aws/aws-sdk-go/service/sts/stsiface # github.com/beorn7/perks v1.0.1 github.com/beorn7/perks/quantile # github.com/cespare/xxhash/v2 v2.1.1 +## explicit github.com/cespare/xxhash/v2 # github.com/cheggaaa/pb/v3 v3.0.6 +## explicit github.com/cheggaaa/pb/v3 github.com/cheggaaa/pb/v3/termutil # github.com/cpuguy83/go-md2man/v2 v2.0.0 +## explicit github.com/cpuguy83/go-md2man/v2/md2man # github.com/fatih/color v1.10.0 +## explicit github.com/fatih/color # github.com/go-kit/kit v0.10.0 github.com/go-kit/kit/log @@ -100,10 +111,12 @@ github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/timestamp # github.com/golang/snappy v0.0.3 +## explicit github.com/golang/snappy # github.com/googleapis/gax-go/v2 v2.0.5 github.com/googleapis/gax-go/v2 # github.com/influxdata/influxdb v1.8.4 +## explicit github.com/influxdata/influxdb/client/v2 github.com/influxdata/influxdb/models github.com/influxdata/influxdb/pkg/escape @@ -114,6 +127,7 @@ github.com/jstemmer/go-junit-report github.com/jstemmer/go-junit-report/formatter github.com/jstemmer/go-junit-report/parser # github.com/klauspost/compress v1.11.9 +## explicit github.com/klauspost/compress/flate github.com/klauspost/compress/fse github.com/klauspost/compress/gzip @@ -127,6 +141,7 @@ github.com/mattn/go-colorable # github.com/mattn/go-isatty v0.0.12 github.com/mattn/go-isatty # github.com/mattn/go-runewidth v0.0.10 +## explicit github.com/mattn/go-runewidth # github.com/matttproud/golang_protobuf_extensions v1.0.1 github.com/matttproud/golang_protobuf_extensions/pbutil @@ -135,19 +150,23 @@ github.com/oklog/ulid # github.com/pkg/errors v0.9.1 github.com/pkg/errors # github.com/prometheus/client_golang v1.9.0 +## explicit github.com/prometheus/client_golang/prometheus github.com/prometheus/client_golang/prometheus/internal # github.com/prometheus/client_model v0.2.0 github.com/prometheus/client_model/go # github.com/prometheus/common v0.18.0 +## explicit github.com/prometheus/common/expfmt github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg github.com/prometheus/common/model # github.com/prometheus/procfs v0.6.0 +## explicit github.com/prometheus/procfs github.com/prometheus/procfs/internal/fs github.com/prometheus/procfs/internal/util # github.com/prometheus/prometheus v1.8.2-0.20201119142752-3ad25a6dc3d9 +## explicit github.com/prometheus/prometheus/pkg/labels github.com/prometheus/prometheus/pkg/timestamp github.com/prometheus/prometheus/storage @@ -164,27 +183,37 @@ github.com/prometheus/prometheus/tsdb/tombstones github.com/prometheus/prometheus/tsdb/tsdbutil github.com/prometheus/prometheus/tsdb/wal # github.com/rivo/uniseg v0.2.0 +## explicit github.com/rivo/uniseg # github.com/russross/blackfriday/v2 v2.1.0 +## explicit github.com/russross/blackfriday/v2 # github.com/urfave/cli/v2 v2.3.0 +## explicit github.com/urfave/cli/v2 # github.com/valyala/bytebufferpool v1.0.0 github.com/valyala/bytebufferpool # github.com/valyala/fastjson v1.6.3 +## explicit github.com/valyala/fastjson github.com/valyala/fastjson/fastfloat # github.com/valyala/fastrand v1.0.0 +## explicit github.com/valyala/fastrand # github.com/valyala/fasttemplate v1.2.1 +## explicit github.com/valyala/fasttemplate # github.com/valyala/gozstd v1.9.0 +## explicit github.com/valyala/gozstd # github.com/valyala/histogram v1.1.2 +## explicit github.com/valyala/histogram # github.com/valyala/quicktemplate v1.6.3 +## explicit github.com/valyala/quicktemplate # go.opencensus.io v0.23.0 +## explicit go.opencensus.io go.opencensus.io/internal go.opencensus.io/internal/tagencoding @@ -210,6 +239,7 @@ golang.org/x/lint/golint golang.org/x/mod/module golang.org/x/mod/semver # golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 +## explicit golang.org/x/net/context golang.org/x/net/context/ctxhttp golang.org/x/net/http/httpguts @@ -219,6 +249,7 @@ golang.org/x/net/idna golang.org/x/net/internal/timeseries golang.org/x/net/trace # golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93 +## explicit golang.org/x/oauth2 golang.org/x/oauth2/google golang.org/x/oauth2/google/internal/externalaccount @@ -226,8 +257,10 @@ golang.org/x/oauth2/internal golang.org/x/oauth2/jws golang.org/x/oauth2/jwt # golang.org/x/sync v0.0.0-20210220032951-036812b2e83c +## explicit golang.org/x/sync/errgroup # golang.org/x/sys v0.0.0-20210301091718-77cc2087c03b +## explicit golang.org/x/sys/execabs golang.org/x/sys/internal/unsafeheader golang.org/x/sys/unix @@ -254,6 +287,7 @@ golang.org/x/tools/internal/imports golang.org/x/xerrors golang.org/x/xerrors/internal # google.golang.org/api v0.40.0 +## explicit google.golang.org/api/googleapi google.golang.org/api/googleapi/transport google.golang.org/api/internal @@ -280,12 +314,14 @@ google.golang.org/appengine/internal/remote_api google.golang.org/appengine/internal/urlfetch google.golang.org/appengine/urlfetch # google.golang.org/genproto v0.0.0-20210302174412-5ede27ff9881 +## explicit google.golang.org/genproto/googleapis/api/annotations google.golang.org/genproto/googleapis/iam/v1 google.golang.org/genproto/googleapis/rpc/code google.golang.org/genproto/googleapis/rpc/status google.golang.org/genproto/googleapis/type/expr # google.golang.org/grpc v1.36.0 +## explicit google.golang.org/grpc google.golang.org/grpc/attributes google.golang.org/grpc/backoff @@ -366,4 +402,5 @@ google.golang.org/protobuf/types/known/durationpb google.golang.org/protobuf/types/known/timestamppb google.golang.org/protobuf/types/pluginpb # gopkg.in/yaml.v2 v2.4.0 +## explicit gopkg.in/yaml.v2