aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2022-08-05 14:29:49 +0200
committerRobin Jarry <robin@jarry.cc>2022-08-05 21:55:26 +0200
commit602a5778e872cf18935433b2916b0e4a54f5fcea (patch)
treee16f177df1c03faebc084000aebe984b0a2752d0
parent6b1afc3ae3d8c4b9fbb46f416edba96b8b4a216f (diff)
downloadaerc-602a5778e872cf18935433b2916b0e4a54f5fcea.tar.gz
go: bumped minimum required version 1.16
Due to github.com/daixiang0/gci requiring io/fs, the minimum required Go version for aerc needs to be bumped to 1.16 Signed-off-by: Moritz Poldrack <git@moritz.sh> Signed-off-by: Robin Jarry <robin@jarry.cc>
-rw-r--r--.builds/alpine-edge.yml4
-rw-r--r--CHANGELOG.md4
-rw-r--r--README.md4
-rw-r--r--go.mod2
4 files changed, 10 insertions, 4 deletions
diff --git a/.builds/alpine-edge.yml b/.builds/alpine-edge.yml
index 85279ef5..074a5e11 100644
--- a/.builds/alpine-edge.yml
+++ b/.builds/alpine-edge.yml
@@ -25,8 +25,8 @@ tasks:
cd aerc
go test ./...
- ancient-go-version: |
- curl -O https://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/go-1.13.13-r0.apk
- sudo apk add ./go-1.13.13-r0.apk
+ curl -O https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/go-1.16.15-r0.apk
+ sudo apk add ./go-1.16.15-r0.apk
cd aerc
make clean
make
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4b46fdc6..735d39e9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -29,6 +29,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Background mail count polling when the default folder is empty on startup.
- Wide character handling in the message list.
+### Deprecated
+
+- Support for go < 1.16.
+
## [0.11.0](https://git.sr.ht/~rjarry/aerc/refs/0.11.0) - 2022-07-11
### Added
diff --git a/README.md b/README.md
index 858f31b1..81dbfc22 100644
--- a/README.md
+++ b/README.md
@@ -64,7 +64,9 @@ And likely other platforms.
Install the dependencies:
-- go (>=1.13)
+- go (>=1.16) *(Go versions are supported until their end-of-life; support for
+ older versions may be dropped at any time due to incompatibilities or newer
+ required language features.)*
- [scdoc](https://git.sr.ht/~sircmpwn/scdoc)
Then compile aerc:
diff --git a/go.mod b/go.mod
index e9863590..9d40a325 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module git.sr.ht/~rjarry/aerc
-go 1.13
+go 1.16
require (
git.sr.ht/~sircmpwn/getopt v1.0.0