Skip to content

Commit 88e87e0

Browse files
committed
Pull request #426: ADG-11715-all-update-skel
Merge in GO/dnsproxy from ADG-11715-all-update-skel to master Squashed commit of the following: commit db7d0c9 Author: Maksim Kazantsev <m.kazantsev@adguard.com> Date: Wed Mar 18 15:43:13 2026 +0300 all: bump makefile and dockerfile version; commit 44b5b77 Author: Maksim Kazantsev <m.kazantsev@adguard.com> Date: Fri Mar 13 18:13:17 2026 +0300 all: upd deps; commit 4d08924 Author: Maksim Kazantsev <m.kazantsev@adguard.com> Date: Fri Mar 13 18:10:22 2026 +0300 all: upd go version; upd deps; impl hooks; upd scripts; upd dockerfile, makefile;
1 parent 62d5234 commit 88e87e0

18 files changed

Lines changed: 341 additions & 286 deletions

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Build
22

33
'env':
4-
'GO_VERSION': '1.25.5'
4+
'GO_VERSION': '1.26.1'
55

66
'on':
77
'push':

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'name': Docker
22

33
'env':
4-
'GO_VERSION': '1.25.5'
4+
'GO_VERSION': '1.26.1'
55

66
'on':
77
'push':

.github/workflows/lint.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'name': 'lint'
22

33
'env':
4-
'GO_VERSION': '1.25.5'
4+
'GO_VERSION': '1.26.1'
55

66
'on':
77
'push':
@@ -22,11 +22,10 @@
2222
'go-version': '${{ env.GO_VERSION }}'
2323
- 'name': 'run-lint'
2424
'run': >
25-
make go-deps go-tools go-lint
25+
make go-deps go-lint
2626
2727
'notify':
2828
'needs':
29-
- 'go-lint'
3029
# Secrets are not passed to workflows that are triggered by a pull request
3130
# from a fork.
3231
#

Makefile

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# This comment is used to simplify checking local copies of the Makefile. Bump
88
# this number every time a significant change is made to this Makefile.
99
#
10-
# AdGuard-Project-Version: 11
10+
# AdGuard-Project-Version: 13
1111

1212
# Don't name these macros "GO" etc., because GNU Make apparently makes them
1313
# exported environment variables with the literal value of "${GO:-go}" and so
@@ -24,31 +24,31 @@ GOAMD64 = v1
2424
GOPROXY = https://proxy.golang.org|direct
2525
GOTELEMETRY = off
2626
OUT = dnsproxy
27-
GOTOOLCHAIN = go1.25.5
27+
GOTOOLCHAIN = go1.26.1
2828
RACE = 0
2929
REVISION = $${REVISION:-$$(git rev-parse --short HEAD)}
3030
VERSION = 0
3131

32-
ENV = env\
33-
BRANCH="$(BRANCH)"\
34-
DIST_DIR='$(DIST_DIR)'\
35-
GO="$(GO.MACRO)"\
36-
GOAMD64='$(GOAMD64)'\
37-
GOPROXY='$(GOPROXY)'\
38-
GOTELEMETRY='$(GOTELEMETRY)'\
39-
OUT='$(OUT)'\
40-
GOTOOLCHAIN='$(GOTOOLCHAIN)'\
41-
PATH="$${PWD}/bin:$$("$(GO.MACRO)" env GOPATH)/bin:$${PATH}"\
42-
RACE='$(RACE)'\
43-
REVISION="$(REVISION)"\
44-
VERBOSE="$(VERBOSE.MACRO)"\
45-
VERSION="$(VERSION)"\
32+
ENV = env \
33+
BRANCH="$(BRANCH)" \
34+
DIST_DIR='$(DIST_DIR)' \
35+
GO="$(GO.MACRO)" \
36+
GOAMD64='$(GOAMD64)' \
37+
GOPROXY='$(GOPROXY)' \
38+
GOTELEMETRY='$(GOTELEMETRY)' \
39+
OUT='$(OUT)' \
40+
GOTOOLCHAIN='$(GOTOOLCHAIN)' \
41+
PATH="$${PWD}/bin:$$("$(GO.MACRO)" env GOPATH)/bin:$${PATH}" \
42+
RACE='$(RACE)' \
43+
REVISION="$(REVISION)" \
44+
VERBOSE="$(VERBOSE.MACRO)" \
45+
VERSION="$(VERSION)" \
4646

4747
# Keep the line above blank.
4848

49-
ENV_MISC = env\
50-
PATH="$${PWD}/bin:$$("$(GO.MACRO)" env GOPATH)/bin:$${PATH}"\
51-
VERBOSE="$(VERBOSE.MACRO)"\
49+
ENV_MISC = env \
50+
PATH="$${PWD}/bin:$$("$(GO.MACRO)" env GOPATH)/bin:$${PATH}" \
51+
VERBOSE="$(VERBOSE.MACRO)" \
5252

5353
# Keep the line above blank.
5454

@@ -62,17 +62,16 @@ init: ; git config core.hooksPath ./scripts/hooks
6262
.PHONY: test
6363
test: go-test
6464

65-
.PHONY: go-build go-deps go-env go-lint go-test go-tools go-upd-tools
65+
.PHONY: go-build go-deps go-env go-lint go-test go-upd-tools
6666
go-build: ; $(ENV) "$(SHELL)" ./scripts/make/go-build.sh
6767
go-deps: ; $(ENV) "$(SHELL)" ./scripts/make/go-deps.sh
6868
go-env: ; $(ENV) "$(GO.MACRO)" env
6969
go-lint: ; $(ENV) "$(SHELL)" ./scripts/make/go-lint.sh
7070
go-test: ; $(ENV) RACE='1' "$(SHELL)" ./scripts/make/go-test.sh
71-
go-tools: ; $(ENV) "$(SHELL)" ./scripts/make/go-tools.sh
7271
go-upd-tools: ; $(ENV) "$(SHELL)" ./scripts/make/go-upd-tools.sh
7372

7473
.PHONY: go-check
75-
go-check: go-tools go-lint go-test
74+
go-check: go-lint go-test
7675

7776
# A quick check to make sure that all operating systems relevant to the
7877
# development of the project can be typechecked and built successfully.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ There are several options how to install `dnsproxy`.
3737

3838
## How to build
3939

40-
You will need Go 1.25 or later.
40+
You will need Go 1.26 or later.
4141

4242
```shell
4343
make build

bamboo-specs/bamboo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# exact patch version as opposed to a minor one to make sure that this exact
1414
# version is actually used and not whatever the docker daemon on the CI has
1515
# cached a few months ago.
16-
'dockerGo': 'adguard/go-builder:1.25.5--1'
16+
'dockerGo': 'adguard/go-builder:1.26.1--1'
1717
'maintainer': 'Adguard Go Team'
1818
'name': 'dnsproxy'
1919

docker/ci.Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# This comment is used to simplify checking local copies of the Dockerfile.
44
# Bump this number every time a significant change is made to this Dockerfile.
55
#
6-
# AdGuard-Project-Version: 10
6+
# AdGuard-Project-Version: 11
77

88
# Dockerfile guidelines:
99
#
@@ -28,7 +28,7 @@
2828
# needed. Keep it in sync with bamboo-specs/bamboo.yaml.
2929

3030
# NOTE: Keep in sync with bamboo-specs/bamboo.yaml.
31-
ARG BASE_IMAGE=adguard/go-builder:1.25.5--1
31+
ARG BASE_IMAGE=adguard/go-builder:1.26.1--1
3232

3333
# The dependencies stage is needed to install packages and tool dependencies.
3434
# This is also where binaries like osslsigncode, which may be required for tests
@@ -53,7 +53,6 @@ make \
5353
VERBOSE=1 \
5454
go-env \
5555
go-deps \
56-
go-tools \
5756
;
5857
EOF
5958

go.mod

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,83 @@
11
module github.com/AdguardTeam/dnsproxy
22

3-
go 1.25.5
3+
go 1.26.1
44

55
require (
6-
github.com/AdguardTeam/golibs v0.35.2
6+
github.com/AdguardTeam/golibs v0.35.10
77
github.com/ameshkov/dnscrypt/v2 v2.4.0
88
github.com/ameshkov/dnsstamps v1.0.3
99
github.com/beefsack/go-rate v0.0.0-20220214233405-116f4ca011a0
1010
github.com/bluele/gcache v0.0.2
11-
github.com/miekg/dns v1.1.68
11+
github.com/miekg/dns v1.1.72
1212
github.com/patrickmn/go-cache v2.1.0+incompatible
1313
// TODO(s.chzhen): Update after investigation of the 0-RTT bug/behavior
1414
// when TestUpstreamDoH_serverRestart/http3/second_try keeps failing.
15-
github.com/quic-go/quic-go v0.56.0
15+
github.com/quic-go/quic-go v0.59.0
1616
github.com/stretchr/testify v1.11.1
17-
golang.org/x/exp v0.0.0-20251113190631-e25ba8c21ef6 // indirect
18-
golang.org/x/net v0.47.0
19-
golang.org/x/sys v0.38.0
20-
gonum.org/v1/gonum v0.16.0
17+
golang.org/x/exp v0.0.0-20260312153236-7ab1446f8b90 // indirect
18+
golang.org/x/net v0.52.0
19+
golang.org/x/sys v0.42.0
20+
gonum.org/v1/gonum v0.17.0
2121
gopkg.in/yaml.v3 v3.0.1
2222
)
2323

2424
require (
2525
cloud.google.com/go v0.123.0 // indirect
26-
cloud.google.com/go/auth v0.17.0 // indirect
26+
cloud.google.com/go/auth v0.18.1 // indirect
2727
cloud.google.com/go/compute/metadata v0.9.0 // indirect
28-
github.com/BurntSushi/toml v1.5.0 // indirect
28+
github.com/BurntSushi/toml v1.6.0 // indirect
2929
github.com/anthropics/anthropic-sdk-go v1.19.0 // indirect
3030
github.com/ccojocar/zxcvbn-go v1.0.4 // indirect
31+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
3132
github.com/davecgh/go-spew v1.1.1 // indirect
3233
github.com/felixge/httpsnoop v1.0.4 // indirect
3334
github.com/fzipp/gocyclo v0.6.0 // indirect
3435
github.com/go-logr/logr v1.4.3 // indirect
3536
github.com/go-logr/stdr v1.2.2 // indirect
3637
github.com/golangci/misspell v0.7.0 // indirect
3738
github.com/google/go-cmp v0.7.0 // indirect
38-
github.com/google/renameio/v2 v2.0.1 // indirect
39+
github.com/google/renameio/v2 v2.0.2 // indirect
3940
github.com/google/s2a-go v0.1.9 // indirect
4041
github.com/google/uuid v1.6.0 // indirect
41-
github.com/googleapis/enterprise-certificate-proxy v0.3.7 // indirect
42-
github.com/googleapis/gax-go/v2 v2.15.0 // indirect
42+
github.com/googleapis/enterprise-certificate-proxy v0.3.11 // indirect
43+
github.com/googleapis/gax-go/v2 v2.16.0 // indirect
4344
github.com/gookit/color v1.6.0 // indirect
4445
github.com/gordonklaus/ineffassign v0.2.0 // indirect
4546
github.com/gorilla/websocket v1.5.3 // indirect
4647
github.com/jstemmer/go-junit-report/v2 v2.1.0 // indirect
4748
github.com/kisielk/errcheck v1.9.0 // indirect
49+
github.com/openai/openai-go/v3 v3.17.0 // indirect
4850
github.com/pmezard/go-difflib v1.0.0 // indirect
49-
github.com/quic-go/qpack v0.5.1 // indirect
51+
github.com/quic-go/qpack v0.6.0 // indirect
5052
github.com/robfig/cron/v3 v3.0.1 // indirect
5153
github.com/rogpeppe/go-internal v1.14.1 // indirect
52-
github.com/securego/gosec/v2 v2.22.10 // indirect
54+
github.com/securego/gosec/v2 v2.22.12-0.20260119173857-b579523bf6db // indirect
5355
github.com/tidwall/gjson v1.18.0 // indirect
5456
github.com/tidwall/match v1.2.0 // indirect
5557
github.com/tidwall/pretty v1.2.1 // indirect
5658
github.com/tidwall/sjson v1.2.5 // indirect
5759
github.com/uudashr/gocognit v1.2.0 // indirect
5860
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
5961
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
60-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 // indirect
61-
go.opentelemetry.io/otel v1.38.0 // indirect
62-
go.opentelemetry.io/otel/metric v1.38.0 // indirect
63-
go.opentelemetry.io/otel/trace v1.38.0 // indirect
62+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.64.0 // indirect
63+
go.opentelemetry.io/otel v1.40.0 // indirect
64+
go.opentelemetry.io/otel/metric v1.40.0 // indirect
65+
go.opentelemetry.io/otel/trace v1.40.0 // indirect
6466
go.uber.org/mock v0.6.0 // indirect
65-
golang.org/x/crypto v0.45.0 // indirect
66-
golang.org/x/exp/typeparams v0.0.0-20251125195548-87e1e737ad39 // indirect
67-
golang.org/x/mod v0.30.0 // indirect
68-
golang.org/x/sync v0.18.0 // indirect
69-
golang.org/x/telemetry v0.0.0-20251203150158-8fff8a5912fc // indirect
70-
golang.org/x/term v0.37.0 // indirect
71-
golang.org/x/text v0.31.0 // indirect
72-
golang.org/x/tools v0.39.0 // indirect
67+
go.yaml.in/yaml/v3 v3.0.4 // indirect
68+
golang.org/x/crypto v0.49.0 // indirect
69+
golang.org/x/exp/typeparams v0.0.0-20260112195511-716be5621a96 // indirect
70+
golang.org/x/mod v0.34.0 // indirect
71+
golang.org/x/sync v0.20.0 // indirect
72+
golang.org/x/telemetry v0.0.0-20260311193753-579e4da9a98c // indirect
73+
golang.org/x/term v0.41.0 // indirect
74+
golang.org/x/text v0.35.0 // indirect
75+
golang.org/x/tools v0.43.0 // indirect
7376
golang.org/x/vuln v1.1.4 // indirect
74-
google.golang.org/genai v1.37.0 // indirect
75-
google.golang.org/genproto/googleapis/rpc v0.0.0-20251202230838-ff82c1b0f217 // indirect
76-
google.golang.org/grpc v1.77.0 // indirect
77-
google.golang.org/protobuf v1.36.10 // indirect
77+
google.golang.org/genai v1.43.0 // indirect
78+
google.golang.org/genproto/googleapis/rpc v0.0.0-20260128011058-8636f8732409 // indirect
79+
google.golang.org/grpc v1.78.0 // indirect
80+
google.golang.org/protobuf v1.36.11 // indirect
7881
honnef.co/go/tools v0.6.1 // indirect
7982
mvdan.cc/editorconfig v0.3.0 // indirect
8083
mvdan.cc/gofumpt v0.9.2 // indirect

0 commit comments

Comments
 (0)