summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2022-03-25 14:56:29 -0400
committerGitHub <noreply@github.com>2022-03-25 14:56:29 -0400
commitb4f1a713978f44b6f26721bd4eaa355164e3e6f4 (patch)
tree9e571704c4ce2759c1f29ee8e776a4192f23596d
parentd06d0e79f839a26ab2cf81b00ba2d180623c57a9 (diff)
chore: Bump minimum Go to 1.17 (#4662)
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--README.md2
-rw-r--r--go.mod103
3 files changed, 99 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 894b8ed..424b5dd 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
- go: [ '1.16', '1.17', '1.18' ]
+ go: [ '1.17', '1.18' ]
# Set some variables per OS, usable via ${{ matrix.VAR }}
# CADDY_BIN_PATH: the path to the compiled Caddy binary, for artifact publishing
diff --git a/README.md b/README.md
index 317a3ec..251e54a 100644
--- a/README.md
+++ b/README.md
@@ -75,7 +75,7 @@ For other install options, see https://caddyserver.com/docs/install.
Requirements:
-- [Go 1.16 or newer](https://golang.org/dl/)
+- [Go 1.17 or newer](https://golang.org/dl/)
### For development
diff --git a/go.mod b/go.mod
index eb26a42..63cbcea 100644
--- a/go.mod
+++ b/go.mod
@@ -1,16 +1,13 @@
module github.com/caddyserver/caddy/v2
-go 1.16
+go 1.17
require (
- cloud.google.com/go/kms v1.1.0 // indirect
- github.com/BurntSushi/toml v1.0.0 // indirect
github.com/Masterminds/sprig/v3 v3.2.2
github.com/alecthomas/chroma v0.10.0
github.com/aryann/difflib v0.0.0-20210328193216-ff5ff6dc229b
github.com/caddyserver/certmagic v0.16.0
github.com/dustin/go-humanize v1.0.1-0.20200219035652-afde56e7acac
- github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/go-chi/chi v4.1.2+incompatible
github.com/google/cel-go v0.7.3
github.com/google/uuid v1.3.0
@@ -18,7 +15,6 @@ require (
github.com/klauspost/cpuid/v2 v2.0.11
github.com/lucas-clemente/quic-go v0.26.0
github.com/mholt/acmez v1.0.2
- github.com/naoina/go-stringutil v0.1.0 // indirect
github.com/naoina/toml v0.1.1
github.com/prometheus/client_golang v1.12.1
github.com/smallstep/certificates v0.18.0
@@ -38,8 +34,103 @@ require (
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
google.golang.org/genproto v0.0.0-20220118154757-00ab72f36ad5
google.golang.org/protobuf v1.27.1
- gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/natefinch/lumberjack.v2 v2.0.0
gopkg.in/yaml.v2 v2.4.0
+)
+
+require (
+ cloud.google.com/go/kms v1.1.0 // indirect
+ github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96 // indirect
+ github.com/BurntSushi/toml v1.0.0 // indirect
+ github.com/Masterminds/goutils v1.1.1 // indirect
+ github.com/Masterminds/semver/v3 v3.1.1 // indirect
+ github.com/antlr/antlr4 v0.0.0-20200503195918-621b933c7a7f // indirect
+ github.com/beorn7/perks v1.0.1 // indirect
+ github.com/cenkalti/backoff/v4 v4.1.2 // indirect
+ github.com/cespare/xxhash v1.1.0 // indirect
+ github.com/cespare/xxhash/v2 v2.1.2 // indirect
+ github.com/cheekybits/genny v1.0.0 // indirect
+ github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect
+ github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
+ github.com/dgraph-io/badger v1.6.2 // indirect
+ github.com/dgraph-io/badger/v2 v2.2007.4 // indirect
+ github.com/dgraph-io/ristretto v0.0.4-0.20200906165740-41ebdbffecfd // indirect
+ github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
+ github.com/dlclark/regexp2 v1.4.0 // indirect
+ github.com/felixge/httpsnoop v1.0.2 // indirect
+ github.com/fsnotify/fsnotify v1.5.1 // indirect
+ github.com/go-kit/kit v0.10.0 // indirect
+ github.com/go-logfmt/logfmt v0.5.0 // indirect
+ github.com/go-logr/logr v1.2.2 // indirect
+ github.com/go-logr/stdr v1.2.2 // indirect
+ github.com/go-sql-driver/mysql v1.6.0 // indirect
+ github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect
+ github.com/golang/protobuf v1.5.2 // indirect
+ github.com/golang/snappy v0.0.3 // indirect
+ github.com/googleapis/gax-go/v2 v2.1.1 // indirect
+ github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
+ github.com/huandu/xstrings v1.3.2 // indirect
+ github.com/imdario/mergo v0.3.12 // indirect
+ github.com/jackc/chunkreader/v2 v2.0.1 // indirect
+ github.com/jackc/pgconn v1.10.1 // indirect
+ github.com/jackc/pgio v1.0.0 // indirect
+ github.com/jackc/pgpassfile v1.0.0 // indirect
+ github.com/jackc/pgproto3/v2 v2.2.0 // indirect
+ github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
+ github.com/jackc/pgtype v1.9.0 // indirect
+ github.com/jackc/pgx/v4 v4.14.0 // indirect
+ github.com/libdns/libdns v0.2.1 // indirect
+ github.com/manifoldco/promptui v0.9.0 // indirect
+ github.com/marten-seemann/qpack v0.2.1 // indirect
+ github.com/marten-seemann/qtls-go1-16 v0.1.5 // indirect
+ github.com/marten-seemann/qtls-go1-17 v0.1.1 // indirect
+ github.com/marten-seemann/qtls-go1-18 v0.1.1 // indirect
+ github.com/mattn/go-colorable v0.1.8 // indirect
+ github.com/mattn/go-isatty v0.0.13 // indirect
+ github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
+ github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
+ github.com/micromdm/scep/v2 v2.1.0 // indirect
+ github.com/miekg/dns v1.1.46 // indirect
+ github.com/mitchellh/copystructure v1.2.0 // indirect
+ github.com/mitchellh/go-ps v1.0.0 // indirect
+ github.com/mitchellh/reflectwalk v1.0.2 // indirect
+ github.com/naoina/go-stringutil v0.1.0 // indirect
+ github.com/nxadm/tail v1.4.8 // indirect
+ github.com/onsi/ginkgo v1.16.4 // indirect
+ github.com/pkg/errors v0.9.1 // indirect
+ github.com/prometheus/client_model v0.2.0 // indirect
+ github.com/prometheus/common v0.32.1 // indirect
+ github.com/prometheus/procfs v0.7.3 // indirect
+ github.com/rs/xid v1.2.1 // indirect
+ github.com/russross/blackfriday/v2 v2.0.1 // indirect
+ github.com/shopspring/decimal v1.2.0 // indirect
+ github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
+ github.com/sirupsen/logrus v1.7.0 // indirect
+ github.com/spf13/cast v1.4.1 // indirect
+ github.com/stoewer/go-strcase v1.2.0 // indirect
+ github.com/urfave/cli v1.22.5 // indirect
+ go.etcd.io/bbolt v1.3.6 // indirect
+ go.mozilla.org/pkcs7 v0.0.0-20210826202110-33d05740a352 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.4.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.4.0 // indirect
+ go.opentelemetry.io/otel/internal/metric v0.27.0 // indirect
+ go.opentelemetry.io/otel/metric v0.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.4.0 // indirect
+ go.opentelemetry.io/proto/otlp v0.12.0 // indirect
+ go.step.sm/cli-utils v0.7.0 // indirect
+ go.step.sm/crypto v0.13.0 // indirect
+ go.step.sm/linkedca v0.7.0 // indirect
+ go.uber.org/atomic v1.7.0 // indirect
+ go.uber.org/multierr v1.6.0 // indirect
+ golang.org/x/mod v0.4.2 // indirect
+ golang.org/x/sys v0.0.0-20220114195835-da31bd327af9 // indirect
+ golang.org/x/text v0.3.7 // indirect
+ golang.org/x/tools v0.1.6-0.20210726203631-07bc1bf47fb2 // indirect
+ golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
+ google.golang.org/api v0.58.0 // indirect
+ google.golang.org/grpc v1.44.0 // indirect
+ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
+ gopkg.in/square/go-jose.v2 v2.6.0 // indirect
+ gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
howett.net/plist v1.0.0 // indirect
)