Pull request 2330: Upd Go

Merge in DNS/adguard-home from upd-go to master

Squashed commit of the following:

commit 58aad666b56d7100c7b5291fb8a100fe635e6d62
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Fri Jan 17 19:02:06 2025 +0300

    all: upd go
This commit is contained in:
Eugene Burkov 2025-01-17 19:24:56 +03:00
parent 446f21a511
commit 8f75c6ac9d
8 changed files with 16 additions and 10 deletions

View File

@ -1,7 +1,7 @@
'name': 'build'
'env':
'GO_VERSION': '1.23.4'
'GO_VERSION': '1.23.5'
'NODE_VERSION': '16'
'on':

View File

@ -1,7 +1,7 @@
'name': 'lint'
'env':
'GO_VERSION': '1.23.4'
'GO_VERSION': '1.23.5'
'on':
'push':

View File

@ -18,6 +18,10 @@ See also the [v0.107.56 GitHub milestone][ms-v0.107.56].
NOTE: Add new changes BELOW THIS COMMENT.
-->
### Security
- Go version has been updated to prevent the possibility of exploiting the Go vulnerabilities fixed in [1.23.5][go-1.23.5].
### Added
- The new HTTP API `POST /clients/search` that finds clients by their IP addresses, CIDRs, MAC addresses, or ClientIDs. See `openapi/openapi.yaml` for the full description.
@ -35,6 +39,8 @@ NOTE: Add new changes BELOW THIS COMMENT.
[#7513]: https://github.com/AdguardTeam/AdGuardHome/issues/7513
[#7329]: https://github.com/AdguardTeam/AdGuardHome/issues/7329
[go-1.23.5]: https://groups.google.com/g/golang-announce/c/sSaUhLA-2SI
<!--
NOTE: Add new changes ABOVE THIS COMMENT.
-->

View File

@ -27,7 +27,7 @@ DIST_DIR = dist
GOAMD64 = v1
GOPROXY = https://proxy.golang.org|direct
GOTELEMETRY = off
GOTOOLCHAIN = go1.23.4
GOTOOLCHAIN = go1.23.5
GPG_KEY = devteam@adguard.com
GPG_KEY_PASSPHRASE = not-a-real-password
NPM = npm

View File

@ -8,7 +8,7 @@
'variables':
'channel': 'edge'
'dockerFrontend': 'adguard/home-js-builder:2.0'
'dockerGo': 'adguard/go-builder:1.23.4--1'
'dockerGo': 'adguard/go-builder:1.23.5--1'
'stages':
- 'Build frontend':
@ -278,7 +278,7 @@
'variables':
'channel': 'beta'
'dockerFrontend': 'adguard/home-js-builder:2.0'
'dockerGo': 'adguard/go-builder:1.23.4--1'
'dockerGo': 'adguard/go-builder:1.23.5--1'
# release-vX.Y.Z branches are the branches from which the actual final
# release is built.
- '^release-v[0-9]+\.[0-9]+\.[0-9]+':
@ -294,4 +294,4 @@
'variables':
'channel': 'release'
'dockerFrontend': 'adguard/home-js-builder:2.0'
'dockerGo': 'adguard/go-builder:1.23.4--1'
'dockerGo': 'adguard/go-builder:1.23.5--1'

View File

@ -6,7 +6,7 @@
'name': 'AdGuard Home - Build and run tests'
'variables':
'dockerFrontend': 'adguard/home-js-builder:2.0'
'dockerGo': 'adguard/go-builder:1.23.4--1'
'dockerGo': 'adguard/go-builder:1.23.5--1'
'channel': 'development'
'stages':
@ -196,5 +196,5 @@
# may need to build a few of these.
'variables':
'dockerFrontend': 'adguard/home-js-builder:2.0'
'dockerGo': 'adguard/go-builder:1.23.4--1'
'dockerGo': 'adguard/go-builder:1.23.5--1'
'channel': 'candidate'

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/AdguardTeam/AdGuardHome
go 1.23.4
go 1.23.5
require (
github.com/AdguardTeam/dnsproxy v0.73.5

View File

@ -1,6 +1,6 @@
module github.com/AdguardTeam/AdGuardHome/internal/tools
go 1.23.4
go 1.23.5
require (
github.com/fzipp/gocyclo v0.6.0