Skip to content

Commit 49181d0

Browse files
Update all modules (#2173)
* Run go get -u * Update go-elasticsearch to v8 * Update golang-lru to v2.0.1 * Update NOTICE * fix linter * Update min go version for some linters
1 parent 40af59b commit 49181d0

39 files changed

+3707
-15908
lines changed

.golangci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ linters-settings:
114114

115115
gosimple:
116116
# Select the Go version to target. The default is '1.13'.
117-
go: "1.17"
117+
go: "1.18"
118118

119119
misspell:
120120
# Correct spellings using locale preferences for US or UK.
@@ -149,11 +149,11 @@ linters-settings:
149149

150150
staticcheck:
151151
# Select the Go version to target. The default is '1.13'.
152-
go: "1.17"
152+
go: "1.18"
153153

154154
stylecheck:
155155
# Select the Go version to target. The default is '1.13'.
156-
go: "1.17"
156+
go: "1.18"
157157
initialisms: ["ACL", "API", "ASCII", "CPU", "CSS", "DNS", "EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID", "IP", "JSON", "QPS", "RAM", "RPC", "SLA", "SMTP", "SQL", "SSH", "TCP", "TLS", "TTL", "UDP", "UI", "GID", "UID", "UUID", "URI", "URL", "UTF8", "VM", "XML", "XMPP", "XSRF", "XSS", "ECS"]
158158

159159

@@ -166,4 +166,4 @@ linters-settings:
166166

167167
unused:
168168
# Select the Go version to target. The default is '1.13'.
169-
go: "1.17"
169+
go: "1.18"

NOTICE.txt

+3,537-14,488
Large diffs are not rendered by default.

dev-tools/dependencies-report

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ done
3535
go mod tidy
3636
go mod download
3737
GOPATH=`go env GOPATH`
38-
env GOBIN=$GOPATH/bin/ go install go.elastic.co/go-licence-detector@v0.4.0
38+
env GOBIN=$GOPATH/bin/ go install go.elastic.co/go-licence-detector@latest
3939
go list -m -json all $@ | $GOPATH/bin/go-licence-detector \
4040
-includeIndirect \
4141
-rules "$SRCPATH/notice/rules.json" \

go.mod

+31-30
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,57 @@
11
module github.com/elastic/fleet-server/v7
22

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/Pallinder/go-randomdata v1.2.0
77
github.com/dgraph-io/ristretto v0.1.1
88
github.com/elastic/elastic-agent-client/v7 v7.0.2
99
github.com/elastic/elastic-agent-libs v0.2.15
1010
github.com/elastic/elastic-agent-system-metrics v0.4.4
11-
github.com/elastic/go-elasticsearch/v7 v7.16.0
11+
github.com/elastic/go-elasticsearch/v8 v8.5.0
1212
github.com/elastic/go-ucfg v0.8.6
13-
github.com/gofrs/uuid v4.2.0+incompatible
13+
github.com/gofrs/uuid v4.3.1+incompatible
1414
github.com/google/go-cmp v0.5.9
1515
github.com/hashicorp/go-cleanhttp v0.5.2
16-
github.com/hashicorp/go-version v1.3.0
17-
github.com/hashicorp/golang-lru v0.5.4
16+
github.com/hashicorp/go-version v1.6.0
17+
github.com/hashicorp/golang-lru/v2 v2.0.1
1818
github.com/julienschmidt/httprouter v1.3.0
1919
github.com/mailru/easyjson v0.7.7
2020
github.com/miolini/datacounter v1.0.3
2121
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58
22-
github.com/rs/xid v1.3.0
23-
github.com/rs/zerolog v1.27.0
24-
github.com/spf13/cobra v1.3.0
25-
github.com/stretchr/testify v1.7.0
22+
github.com/rs/xid v1.4.0
23+
github.com/rs/zerolog v1.28.0
24+
github.com/spf13/cobra v1.6.1
25+
github.com/stretchr/testify v1.8.1
2626
go.elastic.co/apm v1.15.0
27-
go.elastic.co/apm/module/apmelasticsearch v1.14.0
28-
go.elastic.co/apm/module/apmhttprouter v1.14.0
27+
go.elastic.co/apm/module/apmelasticsearch v1.15.0
28+
go.elastic.co/apm/module/apmhttprouter v1.15.0
2929
go.elastic.co/ecszerolog v0.1.0
30-
go.uber.org/zap v1.21.0
30+
go.uber.org/zap v1.24.0
3131
golang.org/x/sync v0.1.0
32-
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac
33-
google.golang.org/grpc v1.50.1
32+
golang.org/x/time v0.3.0
33+
google.golang.org/grpc v1.51.0
3434
google.golang.org/protobuf v1.28.1
3535
)
3636

3737
require (
38-
github.com/Microsoft/go-winio v0.5.2 // indirect
38+
github.com/Microsoft/go-winio v0.6.0 // indirect
3939
github.com/armon/go-radix v1.0.0 // indirect
40-
github.com/cespare/xxhash/v2 v2.1.2 // indirect
40+
github.com/cespare/xxhash/v2 v2.2.0 // indirect
4141
github.com/davecgh/go-spew v1.1.1 // indirect
4242
github.com/dustin/go-humanize v1.0.0 // indirect
43+
github.com/elastic/elastic-transport-go/v8 v8.0.0-20211216131617-bbee439d559c // indirect
4344
github.com/elastic/go-licenser v0.4.1 // indirect
4445
github.com/elastic/go-structform v0.0.10 // indirect
45-
github.com/elastic/go-sysinfo v1.8.1 // indirect
46+
github.com/elastic/go-sysinfo v1.9.0 // indirect
4647
github.com/elastic/go-windows v1.0.1 // indirect
4748
github.com/elastic/gosigar v0.14.2 // indirect
4849
github.com/fatih/color v1.13.0 // indirect
49-
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect
50+
github.com/golang/glog v1.0.0 // indirect
5051
github.com/golang/protobuf v1.5.2 // indirect
5152
github.com/hashicorp/errwrap v1.1.0 // indirect
5253
github.com/hashicorp/go-multierror v1.1.1 // indirect
53-
github.com/inconshreveable/mousetrap v1.0.1 // indirect
54+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
5455
github.com/jcchavezs/porto v0.4.0 // indirect
5556
github.com/joeshaw/multierror v0.0.0-20140124173710-69b34d4ec901 // indirect
5657
github.com/josharian/intern v1.0.0 // indirect
@@ -60,24 +61,24 @@ require (
6061
github.com/mattn/go-isatty v0.0.16 // indirect
6162
github.com/pkg/errors v0.9.1 // indirect
6263
github.com/pmezard/go-difflib v1.0.0 // indirect
63-
github.com/prometheus/procfs v0.7.3 // indirect
64+
github.com/prometheus/procfs v0.8.0 // indirect
6465
github.com/santhosh-tekuri/jsonschema v1.2.4 // indirect
6566
github.com/spf13/pflag v1.0.5 // indirect
66-
github.com/stretchr/objx v0.2.0 // indirect
67+
github.com/stretchr/objx v0.5.0 // indirect
6768
go.elastic.co/apm/module/apmhttp v1.15.0 // indirect
68-
go.elastic.co/apm/module/apmhttp/v2 v2.0.0 // indirect
69-
go.elastic.co/apm/v2 v2.0.0 // indirect
69+
go.elastic.co/apm/module/apmhttp/v2 v2.2.0 // indirect
70+
go.elastic.co/apm/v2 v2.2.0 // indirect
7071
go.elastic.co/ecszap v1.0.1 // indirect
7172
go.elastic.co/fastjson v1.1.0 // indirect
72-
go.uber.org/atomic v1.9.0 // indirect
73+
go.uber.org/atomic v1.10.0 // indirect
7374
go.uber.org/multierr v1.8.0 // indirect
7475
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect
75-
golang.org/x/mod v0.6.0 // indirect
76-
golang.org/x/net v0.1.0 // indirect
77-
golang.org/x/sys v0.1.0 // indirect
78-
golang.org/x/text v0.4.0 // indirect
79-
golang.org/x/tools v0.1.12 // indirect
80-
google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6 // indirect
76+
golang.org/x/mod v0.7.0 // indirect
77+
golang.org/x/net v0.4.0 // indirect
78+
golang.org/x/sys v0.3.0 // indirect
79+
golang.org/x/text v0.5.0 // indirect
80+
golang.org/x/tools v0.4.0 // indirect
81+
google.golang.org/genproto v0.0.0-20221207170731-23e4bf6bdc37 // indirect
8182
gopkg.in/yaml.v2 v2.4.0 // indirect
8283
gopkg.in/yaml.v3 v3.0.1 // indirect
8384
howett.net/plist v1.0.0 // indirect

0 commit comments

Comments
 (0)