From e36d48b66f9793cdd8b974d25d37663b48fb7a32 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Fri, 9 Oct 2026 08:23:35 -0700 Subject: [PATCH 1/3] chore(build): move to Go 1.27.2 for its security fixes Go 1.27.2 (2026-10-08) carries security fixes to crypto/tls, net/http, net/textproto, html/template, os and the go command. Fanout serves HTTP and makes outbound TLS calls, so the go.mod pin, the release workflow and the Docker build image move together. The image digest is the official multi-platform golang:1.27.2-bookworm index. --- .github/workflows/release.yml | 2 +- CONTRIBUTING.md | 2 +- Dockerfile | 2 +- README.md | 2 +- go.mod | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a863195a8..df81aa959 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ permissions: contents: read env: - GO_VERSION: "1.27.1" + GO_VERSION: "1.27.2" IMAGE: ghcr.io/labstack/fanout DOCKERHUB_IMAGE: docker.io/labstack/fanout MCP_PUBLISHER_VERSION: "1.8.1" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d32d49304..e86e737d7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,7 +10,7 @@ just build # browser assets, then the binaries just check # the full gate ``` -You need Go 1.27.1 and a C/C++ toolchain on native Linux or macOS (amd64 or arm64), +You need Go 1.27.2 and a C/C++ toolchain on native Linux or macOS (amd64 or arm64), [Bun](https://bun.sh), [just](https://just.systems), [golangci-lint](https://golangci-lint.run/), and [Lefthook](https://github.com/evilmartians/lefthook). Running in local auth mode diff --git a/Dockerfile b/Dockerfile index a4fccdb5d..0bf924a7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ RUN cd ui/host && bun run build # is no cross toolchain here. `--platform=$BUILDPLATFORM` is therefore only # correct while TARGETPLATFORM equals BUILDPLATFORM. Adding an architecture to # the CI matrix means either a native runner for it or QEMU, not a GOARCH flag. -FROM --platform=$BUILDPLATFORM golang:1.27.1-bookworm@sha256:69a7b9788769bec032d238959b61854e9ae87f57be9029ec04e9885fabf99195 AS build +FROM --platform=$BUILDPLATFORM golang:1.27.2-bookworm@sha256:5cf287a799e6b94384bad13d16b14904c531f51ba65792237e122ce42b392f61 AS build ARG TARGETOS ARG TARGETARCH ARG VERSION=dev diff --git a/README.md b/README.md index d39e92115..b33a725b4 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ Fanout. ## Requirements -- **Go 1.27.1 and a C/C++ toolchain** on native Linux or macOS, amd64 or arm64. +- **Go 1.27.2 and a C/C++ toolchain** on native Linux or macOS, amd64 or arm64. Build with `just build` or `bash scripts/with-duckdb.sh go build ./cmd/fanout`; the wrapper supplies DuckDB's pinned headers, static libraries, and CGO flags. The first build needs network access to download the checksum-verified engine. diff --git a/go.mod b/go.mod index 61efae0e5..2c66510de 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/labstack/fanout -go 1.27.1 +go 1.27.2 require ( cel.dev/cel-go v0.32.0 From fd61d351de7d47ebcdae8fb06ca4ffa332e77f6d Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Fri, 9 Oct 2026 11:52:57 -0700 Subject: [PATCH 2/3] ci: pin golangci-lint v2.14.0 for Go 1.27.2 v2.13.1 cannot read Go 1.27.2's export data ("export data version 5 is greater than maximum supported version 4"), so the gate's lint step failed. v2.14.0 is the version used locally and lints the module cleanly. --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6b665c10..c7c09e703 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,7 +74,7 @@ jobs: # the real thing, so local and CI share one invocation. - uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0 with: - version: v2.13.1 + version: v2.14.0 args: --help - name: just ui-deps diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df81aa959..0295c5913 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,7 +55,7 @@ jobs: bun-version: 1.4.2 - uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0 with: - version: v2.13.1 + version: v2.14.0 args: --help - run: just ui-deps - run: just check From 1a9fe9c53baa7eb96e1e261f4bfb340170b46c20 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Fri, 9 Oct 2026 12:50:47 -0700 Subject: [PATCH 3/3] fix(deps): move golang.org/x/net to v0.60.0 for CVE-2026-78669 The container scan reported the HTTP/2 vulnerability fixed in v0.60.0. --- THIRD_PARTY_NOTICES | 4 ++-- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/THIRD_PARTY_NOTICES b/THIRD_PARTY_NOTICES index db9eaa75f..2f5ca5f1b 100644 --- a/THIRD_PARTY_NOTICES +++ b/THIRD_PARTY_NOTICES @@ -67,7 +67,7 @@ COMPONENT INVENTORY - Go: go.yaml.in/yaml/v3 v3.0.5 - Go: golang.org/x/crypto v0.57.0 - Go: golang.org/x/exp v0.0.0-20260908205506-85c1c2202aba -- Go: golang.org/x/net v0.59.0 +- Go: golang.org/x/net v0.60.0 - Go: golang.org/x/oauth2 v0.37.0 - Go: golang.org/x/sync v0.23.0 - Go: golang.org/x/sys v0.48.0 @@ -2933,7 +2933,7 @@ limitations under the License. --- Applies to ------------------------------------------------------------- - Go: golang.org/x/crypto v0.57.0 / LICENSE - Go: golang.org/x/exp v0.0.0-20260908205506-85c1c2202aba / LICENSE -- Go: golang.org/x/net v0.59.0 / LICENSE +- Go: golang.org/x/net v0.60.0 / LICENSE - Go: golang.org/x/oauth2 v0.37.0 / LICENSE - Go: golang.org/x/sync v0.23.0 / LICENSE - Go: golang.org/x/sys v0.48.0 / LICENSE diff --git a/go.mod b/go.mod index 2c66510de..4dca3dc31 100644 --- a/go.mod +++ b/go.mod @@ -81,7 +81,7 @@ require ( go.yaml.in/yaml/v3 v3.0.5 // indirect golang.org/x/crypto v0.57.0 // indirect golang.org/x/exp v0.0.0-20260908205506-85c1c2202aba // indirect - golang.org/x/net v0.59.0 // indirect + golang.org/x/net v0.60.0 // indirect golang.org/x/text v0.42.0 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20260928230214-8a89bd6388cc // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc // indirect diff --git a/go.sum b/go.sum index 4a76e83b3..6e0c1a4f4 100644 --- a/go.sum +++ b/go.sum @@ -177,8 +177,8 @@ golang.org/x/exp v0.0.0-20260908205506-85c1c2202aba h1:Ck8QetSgk912qxWLMCKxd0in+ golang.org/x/exp v0.0.0-20260908205506-85c1c2202aba/go.mod h1:50RgIsmK7OwqzTTeqcSXQW8SswW0o8fRcDxmqGluJ8E= golang.org/x/mod v0.41.0 h1:qJmnOUb4YB+FsEuM3HcWucdZASCPGhsX6uljO6pog0c= golang.org/x/mod v0.41.0/go.mod h1:Ek9pY8RKWXwsWvd3rQiHYtMqkjSUV+s1Rj7j4H5Ur6o= -golang.org/x/net v0.59.0 h1:5zfYln+w5XCxwrnMMJPufRgNoXEaGxl0wo5GqPXyues= -golang.org/x/net v0.59.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= +golang.org/x/net v0.60.0 h1:79p50tfZlm0J9YfoDsSi639qSXNGVwEzOPLCxM2FsYU= +golang.org/x/net v0.60.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= golang.org/x/oauth2 v0.37.0 h1:JUlcxA8oAtauLfiH8FX2/FkAWHAdi0QtGCGc+hofE98= golang.org/x/oauth2 v0.37.0/go.mod h1:IxwZNxUULJmpBFf9K/9NTMSIfZZuvuTy1gGxhigP/58= golang.org/x/sync v0.23.0 h1:KameEIfc1IkluZyXWLn39Wd4tURc6GbCiISGiZm2bQk=