diff --git a/README.md b/README.md index 247de18..cbcfa41 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Rest Server is a high performance HTTP server that implements restic's [REST bac ## Requirements -Rest Server requires Go 1.24 or higher to build. The only tested compiler is the official Go compiler. +Rest Server requires Go 1.26 or higher to build. The only tested compiler is the official Go compiler. The required version of restic backup client to use with `rest-server` is [v0.7.1](https://github.com/restic/restic/releases/tag/v0.7.1) or higher. diff --git a/build.go b/build.go index 205cad7..df94f44 100644 --- a/build.go +++ b/build.go @@ -58,7 +58,7 @@ var config = Config{ Namespace: "github.com/restic/rest-server", // subdir of GOPATH, e.g. "github.com/foo/bar" Main: "github.com/restic/rest-server/cmd/rest-server", // package name for the main package Tests: []string{"./..."}, // tests to run - MinVersion: GoVersion{Major: 1, Minor: 24, Patch: 0}, // minimum Go version supported + MinVersion: GoVersion{Major: 1, Minor: 26, Patch: 0}, // minimum Go version supported } // Config configures the build. diff --git a/changelog/unreleased/pull-373 b/changelog/unreleased/pull-373 index 8275d5b..b378d0c 100644 --- a/changelog/unreleased/pull-373 +++ b/changelog/unreleased/pull-373 @@ -1,6 +1,6 @@ -Change: Update dependencies and require Go 1.24 or newer +Change: Update dependencies and require Go 1.26 or newer -All dependencies have been updated. Rest-server now requires Go 1.24 or newer +All dependencies have been updated. Rest-server now requires Go 1.26 or newer to build. https://github.com/restic/rest-server/pull/373 diff --git a/go.mod b/go.mod index 6776a06..51c2620 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/restic/rest-server -go 1.24.0 +go 1.26.0 require ( github.com/coreos/go-systemd/v22 v22.6.0