diff --git a/README.md b/README.md index 6a5ba1a..d2643d4 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.22 or higher to build. The only tested compiler is the official Go compiler. +Rest Server requires Go 1.23 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 12d4c8c..3fc399d 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: 22, Patch: 0}, // minimum Go version supported + MinVersion: GoVersion{Major: 1, Minor: 23, Patch: 0}, // minimum Go version supported } // Config configures the build. diff --git a/changelog/unreleased/pull-322 b/changelog/unreleased/pull-322 index 24bc274..ebda376 100644 --- a/changelog/unreleased/pull-322 +++ b/changelog/unreleased/pull-322 @@ -1,9 +1,10 @@ -Change: Update dependencies and require Go 1.22 or newer +Change: Update dependencies and require Go 1.23 or newer -We have updated all dependencies. Since some libraries require newer Go standard -library features, support for Go 1.18 to 1.21 has been dropped, which means -that rest-server now requires at least Go 1.22 to build. +We have updated all dependencies. Rest-server now requires Go 1.23 or newer to build. -This also disables support for TLS versions older than TLS 1.2. +This also disables support for TLS versions older than TLS 1.2. On Windows, +rest-server now requires at least Windows 10 or Windows Server 2016. On macOS, +rest-server now requires at least macOS 11 Big Sur. https://github.com/restic/rest-server/pull/322 +https://github.com/restic/rest-server/pull/338 diff --git a/go.mod b/go.mod index 2840590..12379b1 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/restic/rest-server -go 1.22 +go 1.23.0 require ( github.com/coreos/go-systemd/v22 v22.5.0