Skip to content

Commit 8ad7cfa

Browse files
bump minimum go version to 1.23
1 parent f053e33 commit 8ad7cfa

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Rest Server is a high performance HTTP server that implements restic's [REST bac
1111

1212
## Requirements
1313

14-
Rest Server requires Go 1.22 or higher to build. The only tested compiler is the official Go compiler.
14+
Rest Server requires Go 1.23 or higher to build. The only tested compiler is the official Go compiler.
1515

1616
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.
1717

build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ var config = Config{
5858
Namespace: "github.com/restic/rest-server", // subdir of GOPATH, e.g. "github.com/foo/bar"
5959
Main: "github.com/restic/rest-server/cmd/rest-server", // package name for the main package
6060
Tests: []string{"./..."}, // tests to run
61-
MinVersion: GoVersion{Major: 1, Minor: 22, Patch: 0}, // minimum Go version supported
61+
MinVersion: GoVersion{Major: 1, Minor: 23, Patch: 0}, // minimum Go version supported
6262
}
6363

6464
// Config configures the build.

changelog/unreleased/pull-322

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
Change: Update dependencies and require Go 1.22 or newer
1+
Change: Update dependencies and require Go 1.23 or newer
22

3-
We have updated all dependencies. Since some libraries require newer Go standard
4-
library features, support for Go 1.18 to 1.21 has been dropped, which means
5-
that rest-server now requires at least Go 1.22 to build.
3+
We have updated all dependencies. Rest-server now requires Go 1.23 or newer to build.
64

7-
This also disables support for TLS versions older than TLS 1.2.
5+
This also disables support for TLS versions older than TLS 1.2. On Windows,
6+
rest-server now requires at least Windows 10 or Windows Server 2016. On macOS,
7+
rest-server now requires at least macOS 11 Big Sur.
88

99
https://github.com/restic/rest-server/pull/322
10+
https://github.com/restic/rest-server/pull/338

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/restic/rest-server
22

3-
go 1.22
3+
go 1.23.0
44

55
require (
66
github.com/coreos/go-systemd/v22 v22.5.0

0 commit comments

Comments
 (0)