From ba1fb50380dd8f75f669a87ec112cb992ab2b538 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 10 Feb 2026 12:54:10 -0800 Subject: [PATCH] build+docs: bump minimum Go version to 1.25.5 With Go 1.26 now released, this bumps the minimum required Go version from 1.24.11 to 1.25.5 across all go.mod files and updates the installation documentation with the correct download links and SHA256 hashes for Go 1.25.5 binaries. The build system (Dockerfiles, Makefile, CI) was already using Go 1.25.5, so this change aligns the go.mod minimum version to match. --- actor/go.mod | 2 +- cert/go.mod | 2 +- clock/go.mod | 2 +- docs/INSTALL.md | 18 +++++++++--------- fn/go.mod | 2 +- go.mod | 2 +- healthcheck/go.mod | 2 +- kvdb/go.mod | 2 +- queue/go.mod | 2 +- sqldb/go.mod | 2 +- ticker/go.mod | 2 +- tlv/go.mod | 2 +- tools/go.mod | 2 +- tools/linters/go.mod | 2 +- tor/go.mod | 2 +- 15 files changed, 23 insertions(+), 23 deletions(-) diff --git a/actor/go.mod b/actor/go.mod index 6bc5cd9e0..77ffce89b 100644 --- a/actor/go.mod +++ b/actor/go.mod @@ -1,6 +1,6 @@ module github.com/lightningnetwork/lnd/actor -go 1.24.9 +go 1.25.5 require ( github.com/btcsuite/btclog/v2 v2.0.1-0.20250602222548-9967d19bb084 diff --git a/cert/go.mod b/cert/go.mod index 4dc5f2a78..13208c3e4 100644 --- a/cert/go.mod +++ b/cert/go.mod @@ -1,6 +1,6 @@ module github.com/lightningnetwork/lnd/cert -go 1.24.11 +go 1.25.5 require github.com/stretchr/testify v1.8.2 diff --git a/clock/go.mod b/clock/go.mod index 1c176ad4a..a81ac570c 100644 --- a/clock/go.mod +++ b/clock/go.mod @@ -1,6 +1,6 @@ module github.com/lightningnetwork/lnd/clock -go 1.24.11 +go 1.25.5 require github.com/stretchr/testify v1.8.2 diff --git a/docs/INSTALL.md b/docs/INSTALL.md index a7714c41b..9c4012f6c 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -93,7 +93,7 @@ following build dependencies are required: ### Installing Go -`lnd` is written in Go, with a minimum version of `1.24.11` (or, in case this +`lnd` is written in Go, with a minimum version of `1.25.5` (or, in case this document gets out of date, whatever the Go version in the main `go.mod` file requires). To install, run one of the following commands for your OS: @@ -101,15 +101,15 @@ requires). To install, run one of the following commands for your OS: Linux (x86-64) ``` - wget https://dl.google.com/go/go1.24.11.linux-amd64.tar.gz - echo "bceca00afaac856bc48b4cc33db7cd9eb383c81811379faed3bdbc80edb0af65 go1.24.11.linux-amd64.tar.gz" | sha256sum --check + wget https://dl.google.com/go/go1.25.5.linux-amd64.tar.gz + echo "9e9b755d63b36acf30c12a9a3fc379243714c1c6d3dd72861da637f336ebb35b go1.25.5.linux-amd64.tar.gz" | sha256sum --check ``` - The command above should output `go1.24.11.linux-amd64.tar.gz: OK`. If it + The command above should output `go1.25.5.linux-amd64.tar.gz: OK`. If it doesn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install this version of Go. If it matches, then proceed to install Go: ``` - sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.24.11.linux-amd64.tar.gz + sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.25.5.linux-amd64.tar.gz export PATH=$PATH:/usr/local/go/bin ``` @@ -118,15 +118,15 @@ requires). To install, run one of the following commands for your OS: Linux (ARMv6) ``` - wget https://dl.google.com/go/go1.24.11.linux-armv6l.tar.gz - echo "24d712a7e8ea2f429c05bc67287249e0291f2fe0ea6d6ff268f11b7343ad0f47 go1.24.11.linux-armv6l.tar.gz" | sha256sum --check + wget https://dl.google.com/go/go1.25.5.linux-armv6l.tar.gz + echo "0b27e3dec8d04899d6941586d2aa2721c3dee67c739c1fc1b528188f3f6e8ab5 go1.25.5.linux-armv6l.tar.gz" | sha256sum --check ``` - The command above should output `go1.24.11.linux-armv6l.tar.gz: OK`. If it + The command above should output `go1.25.5.linux-armv6l.tar.gz: OK`. If it isn't, then the target REPO HAS BEEN MODIFIED, and you shouldn't install this version of Go. If it matches, then proceed to install Go: ``` - sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.24.11.linux-armv6l.tar.gz + sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.25.5.linux-armv6l.tar.gz export PATH=$PATH:/usr/local/go/bin ``` diff --git a/fn/go.mod b/fn/go.mod index adb56f814..41d1a61be 100644 --- a/fn/go.mod +++ b/fn/go.mod @@ -1,6 +1,6 @@ module github.com/lightningnetwork/lnd/fn/v2 -go 1.24.11 +go 1.25.5 require ( github.com/stretchr/testify v1.8.1 diff --git a/go.mod b/go.mod index 46a5a2e12..67c157080 100644 --- a/go.mod +++ b/go.mod @@ -219,6 +219,6 @@ replace google.golang.org/protobuf => github.com/lightninglabs/protobuf-go-hex-d // If you change this please also update docs/INSTALL.md and GO_VERSION in // Makefile (then run `make lint` to see where else it needs to be updated as // well). -go 1.24.11 +go 1.25.5 retract v0.0.2 diff --git a/healthcheck/go.mod b/healthcheck/go.mod index 4c562bdd6..e563bfa31 100644 --- a/healthcheck/go.mod +++ b/healthcheck/go.mod @@ -24,4 +24,4 @@ require ( gopkg.in/yaml.v3 v3.0.1 // indirect ) -go 1.24.11 +go 1.25.5 diff --git a/kvdb/go.mod b/kvdb/go.mod index 33f272218..f0361dde8 100644 --- a/kvdb/go.mod +++ b/kvdb/go.mod @@ -147,4 +147,4 @@ replace github.com/ulikunitz/xz => github.com/ulikunitz/xz v0.5.11 // https://deps.dev/advisory/OSV/GO-2021-0053?from=%2Fgo%2Fgithub.com%252Fgogo%252Fprotobuf%2Fv1.3.1 replace github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2 -go 1.24.11 +go 1.25.5 diff --git a/queue/go.mod b/queue/go.mod index 590bd7d68..672610ad6 100644 --- a/queue/go.mod +++ b/queue/go.mod @@ -4,4 +4,4 @@ require github.com/lightningnetwork/lnd/ticker v1.0.0 replace github.com/lightningnetwork/lnd/ticker v1.0.0 => ../ticker -go 1.24.11 +go 1.25.5 diff --git a/sqldb/go.mod b/sqldb/go.mod index 3173603dc..776776a68 100644 --- a/sqldb/go.mod +++ b/sqldb/go.mod @@ -75,4 +75,4 @@ require ( modernc.org/token v1.1.0 // indirect ) -go 1.24.11 +go 1.25.5 diff --git a/ticker/go.mod b/ticker/go.mod index d78f913a3..868a66c7b 100644 --- a/ticker/go.mod +++ b/ticker/go.mod @@ -1,3 +1,3 @@ module github.com/lightningnetwork/lnd/ticker -go 1.24.11 +go 1.25.5 diff --git a/tlv/go.mod b/tlv/go.mod index dd1302d75..365968f42 100644 --- a/tlv/go.mod +++ b/tlv/go.mod @@ -22,4 +22,4 @@ require ( gopkg.in/yaml.v3 v3.0.1 // indirect ) -go 1.24.11 +go 1.25.5 diff --git a/tools/go.mod b/tools/go.mod index 4af340879..fbd1b80f0 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,6 +1,6 @@ module github.com/lightningnetwork/lnd/tools -go 1.24.11 +go 1.25.5 require ( 4d63.com/gocheckcompilerdirectives v1.3.0 // indirect diff --git a/tools/linters/go.mod b/tools/linters/go.mod index 3ee38851f..76add991c 100644 --- a/tools/linters/go.mod +++ b/tools/linters/go.mod @@ -1,6 +1,6 @@ module github.com/lightningnetwork/lnd/tools/linters -go 1.24.11 +go 1.25.5 require ( github.com/golangci/plugin-module-register v0.1.1 diff --git a/tor/go.mod b/tor/go.mod index a67c3ed79..1af867f5b 100644 --- a/tor/go.mod +++ b/tor/go.mod @@ -23,4 +23,4 @@ require ( gopkg.in/yaml.v3 v3.0.1 // indirect ) -go 1.24.11 +go 1.25.5