Skip to content

Commit 016608f

Browse files
authored
Update all dependencies, golang version (#32)
* bump all deps * add basic dev container
1 parent 0671397 commit 016608f

6 files changed

Lines changed: 177 additions & 913 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/go
3+
{
4+
"name": "Go",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/go:1-1.21-bullseye"
7+
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
// "features": {},
10+
11+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12+
// "forwardPorts": [],
13+
14+
// Use 'postCreateCommand' to run commands after the container is created.
15+
// "postCreateCommand": "go version",
16+
17+
// Configure tool-specific properties.
18+
// "customizations": {},
19+
20+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
21+
// "remoteUser": "root"
22+
}

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ Template:
1212
### Fixed
1313
```
1414

15+
## v0.5.3 - 20 November 2023
16+
### Changed
17+
- Bump grpc lib, thanks to @matthewhudsonedb
18+
- Bump all project libs
19+
1520
## v0.5.2 - 25 August 2023
1621
### Changed
1722
- Bump promhttp lib to fix resource overrun security issue, thanks to @matthewhudsonedb

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ trigger:
77
- master
88

99
variables:
10-
GOVERSION: '1.19.10'
10+
GOVERSION: '1.21.4'
1111
LDFLAGS: "-w -s -X main.Version=$(Build.SourceBranchName) -X main.Commit=$(Build.SourceVersion) -X main.Build=$(Build.BuildNumber)"
1212

1313
jobs:

go.mod

Lines changed: 52 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,91 @@
11
module github.com/bryanklewis/prometheus-eventhubs-adapter
22

3-
go 1.19
3+
go 1.21
44

55
require (
6-
github.com/Azure/azure-amqp-common-go/v3 v3.2.2
7-
github.com/Azure/azure-event-hubs-go/v3 v3.3.16
8-
github.com/Azure/go-autorest/autorest v0.11.22
6+
github.com/Azure/azure-amqp-common-go/v3 v3.2.3
7+
github.com/Azure/azure-amqp-common-go/v4 v4.2.0
8+
github.com/Azure/azure-event-hubs-go/v3 v3.6.1
9+
github.com/Azure/go-autorest/autorest v0.11.29
910
github.com/gin-gonic/gin v1.9.1
1011
github.com/gogo/protobuf v1.3.2
1112
github.com/golang/snappy v0.0.4
12-
github.com/linkedin/goavro/v2 v2.10.1
13-
github.com/prometheus/client_golang v1.11.1
14-
github.com/prometheus/common v0.32.1
15-
github.com/prometheus/prometheus v2.5.0+incompatible
16-
github.com/rs/zerolog v1.26.0
13+
github.com/linkedin/goavro/v2 v2.12.0
14+
github.com/prometheus/client_golang v1.17.0
15+
github.com/prometheus/common v0.45.0
16+
github.com/prometheus/prometheus v0.48.0
17+
github.com/rs/zerolog v1.31.0
1718
github.com/spf13/pflag v1.0.5
18-
github.com/spf13/viper v1.9.0
19+
github.com/spf13/viper v1.17.0
1920
)
2021

2122
require (
22-
github.com/Azure/azure-sdk-for-go v51.1.0+incompatible // indirect
23-
github.com/Azure/go-amqp v0.16.0 // indirect
23+
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible // indirect
24+
github.com/Azure/go-amqp v1.0.2 // indirect
2425
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
25-
github.com/Azure/go-autorest/autorest/adal v0.9.14 // indirect
26+
github.com/Azure/go-autorest/autorest/adal v0.9.23 // indirect
2627
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
2728
github.com/Azure/go-autorest/autorest/to v0.4.0 // indirect
2829
github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect
2930
github.com/Azure/go-autorest/logger v0.2.1 // indirect
3031
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
3132
github.com/beorn7/perks v1.0.1 // indirect
32-
github.com/bytedance/sonic v1.9.1 // indirect
33+
github.com/bytedance/sonic v1.10.2 // indirect
3334
github.com/cespare/xxhash/v2 v2.2.0 // indirect
34-
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
35+
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
36+
github.com/chenzhuoyu/iasm v0.9.1 // indirect
3537
github.com/devigned/tab v0.1.1 // indirect
36-
github.com/form3tech-oss/jwt-go v3.2.2+incompatible // indirect
37-
github.com/fsnotify/fsnotify v1.5.1 // indirect
38-
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
38+
github.com/form3tech-oss/jwt-go v3.2.5+incompatible // indirect
39+
github.com/fsnotify/fsnotify v1.7.0 // indirect
40+
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
3941
github.com/gin-contrib/sse v0.1.0 // indirect
4042
github.com/go-playground/locales v0.14.1 // indirect
4143
github.com/go-playground/universal-translator v0.18.1 // indirect
42-
github.com/go-playground/validator/v10 v10.14.0 // indirect
44+
github.com/go-playground/validator/v10 v10.16.0 // indirect
4345
github.com/goccy/go-json v0.10.2 // indirect
46+
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
4447
github.com/golang/protobuf v1.5.3 // indirect
4548
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
4649
github.com/hashicorp/hcl v1.0.0 // indirect
4750
github.com/jpillora/backoff v1.0.0 // indirect
4851
github.com/json-iterator/go v1.1.12 // indirect
49-
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
52+
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
5053
github.com/leodido/go-urn v1.2.4 // indirect
51-
github.com/magiconair/properties v1.8.5 // indirect
52-
github.com/mattn/go-isatty v0.0.19 // indirect
53-
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
54-
github.com/mitchellh/mapstructure v1.4.2 // indirect
54+
github.com/magiconair/properties v1.8.7 // indirect
55+
github.com/mattn/go-colorable v0.1.13 // indirect
56+
github.com/mattn/go-isatty v0.0.20 // indirect
57+
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
58+
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
59+
github.com/mitchellh/mapstructure v1.5.0 // indirect
5560
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
5661
github.com/modern-go/reflect2 v1.0.2 // indirect
57-
github.com/pelletier/go-toml v1.9.4 // indirect
58-
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
59-
github.com/prometheus/client_model v0.2.0 // indirect
60-
github.com/prometheus/procfs v0.6.0 // indirect
61-
github.com/spf13/afero v1.6.0 // indirect
62-
github.com/spf13/cast v1.4.1 // indirect
62+
github.com/pelletier/go-toml v1.9.5 // indirect
63+
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
64+
github.com/prometheus/client_model v0.5.0 // indirect
65+
github.com/prometheus/procfs v0.12.0 // indirect
66+
github.com/sagikazarmark/locafero v0.3.0 // indirect
67+
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
68+
github.com/sourcegraph/conc v0.3.0 // indirect
69+
github.com/spf13/afero v1.10.0 // indirect
70+
github.com/spf13/cast v1.5.1 // indirect
6371
github.com/spf13/jwalterweatherman v1.1.0 // indirect
64-
github.com/subosito/gotenv v1.2.0 // indirect
72+
github.com/subosito/gotenv v1.6.0 // indirect
6573
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
6674
github.com/ugorji/go/codec v1.2.11 // indirect
67-
golang.org/x/arch v0.3.0 // indirect
68-
golang.org/x/crypto v0.11.0 // indirect
69-
golang.org/x/net v0.12.0 // indirect
70-
golang.org/x/sys v0.10.0 // indirect
71-
golang.org/x/text v0.11.0 // indirect
72-
google.golang.org/genproto v0.0.0-20230711160842-782d3b101e98 // indirect
73-
google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98 // indirect
74-
google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect
75-
google.golang.org/grpc v1.58.3 // indirect
75+
go.uber.org/atomic v1.11.0 // indirect
76+
go.uber.org/multierr v1.11.0 // indirect
77+
golang.org/x/arch v0.6.0 // indirect
78+
golang.org/x/crypto v0.15.0 // indirect
79+
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect
80+
golang.org/x/net v0.18.0 // indirect
81+
golang.org/x/sys v0.14.0 // indirect
82+
golang.org/x/text v0.14.0 // indirect
83+
google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f // indirect
84+
google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f // indirect
85+
google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f // indirect
86+
google.golang.org/grpc v1.59.0 // indirect
7687
google.golang.org/protobuf v1.31.0 // indirect
77-
gopkg.in/ini.v1 v1.63.2 // indirect
88+
gopkg.in/ini.v1 v1.67.0 // indirect
7889
gopkg.in/yaml.v2 v2.4.0 // indirect
7990
gopkg.in/yaml.v3 v3.0.1 // indirect
8091
)

0 commit comments

Comments
 (0)