Pull request 2147: all: upd deps, go, scripts

Squashed commit of the following:

commit 425f1bd28074d22890629d06f43257e0353ce3d5
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Thu Feb 8 20:15:58 2024 +0300

    all: upd deps, go, scripts
This commit is contained in:
Ainar Garipov
2024-02-08 20:39:18 +03:00
parent 02ea4a362c
commit 332621f268
62 changed files with 249 additions and 174 deletions

View File

@@ -23,12 +23,46 @@ See also the [v0.107.45 GitHub milestone][ms-v0.107.45].
NOTE: Add new changes BELOW THIS COMMENT.
-->
### Added
### Security
- Context menu item in the Query Log to add a Client to the Persistent client list ([#6679]).
- Go version has been updated to prevent the possibility of exploiting the Go
vulnerabilities fixed in Go 1.21.6 and Go 1.21.7.
### Added
- Context menu item in the Query Log to add a Client to the Persistent client
list ([#6679]).
### Changed
- Starting with this release our scripts are using Go's [forward compatibility
mechanism][go-toolchain] for updating the Go version.
**Important note for porters:** This change means that if your `go` version
is 1.21+ but is different from the one required by AdGuard Home, the `go` tool
will automatically download the required version.
If you want to use the version installed on your builder, run:
```sh
go get go@$YOUR_VERSION
go mod tidy
```
and call `make` with `GOTOOLCHAIN=local`.
### Deprecated
- Go 1.21 support. Future versions will require at least Go 1.22 to build.
### Removed
- Go 1.20 support, as it has reached end of life.
[#6679]: https://github.com/AdguardTeam/AdGuardHome/issues/6679
[go-toolchain]: https://go.dev/blog/toolchain
<!--
NOTE: Add new changes ABOVE THIS COMMENT.
-->