Go version upgrade checklist #3242
Labels
enhancement
New feature or request
future
Features that might take a while to be sheduled
meta
Organized lists
Description
Before anyone wonders, I just want to clarify that this ticket is not about saying that we should upgrade the minimum Go versions. Our minimum version supported is still following what is in the latest version of Debian and this issue is not trying change that in any way.
The reason for open it is purely to write down what we can and should improve on when we one day upgrade the minimum Go version. This makes sure that we don't miss anything important. If you notice anything that I have missed, especfially when it comes to using better APIs where available, please update the issue or comment accordingly.
Go 1.15 (removes 10.11 El Capitan support)
go115
fromwork.go
.darwin
operating systems (means dropping iPhone 5 support). See iOS: Opening file dialog crashes on 10.3 #2369 and potentially others.timer.Ticker
to see if we can make use of the.Reset()
method.Go 1.16
install
overget
).io/ioutil
functions and use the new ones inio
andos
instead.filepath.Walk
usages with fasterfilepath.WalkDir
.io/fs
. Tracked in Adapter from Repository to fs.FS #2680.Go 1.17 (removes 10.12 Sierra support)
go mod tidy -go=1.17
.fyne/widget/table.go
Line 16 in be9cd4b
Go 1.18 (removes iOS 11 support, but no model is stuck on iOS 11, see iosref )
interface{}
and template generated code to see if generics make sense.bytes
as well.Go 1.19 (removes FreeBSD 11 support)
execabs
package now that it is fixed in theos/exec
package.unix
build tags.go fix ./...
to clean up old code.interface{}
withany
.Go 1.20
sync.Map
are useful anywhere.Go 1.21 (removes support for Windows < 10 and macOS 10.14 Mojave)
min
andmax
builtins. Deprecate existingMin
andMax
APIs.slices
andmaps
package to clean up some custom code.slices
.clear()
builtin for emptying out slices and maps (look at for-loops withdelete()
in the case of maps).Go 1.22
AppendDecode
andAppendEncode
methods in encoding packages.go/version
package for version handling?slices.Concat
function?TODO: Complete this section
Go 2.23 (removes support for macOS 10.15 Catalina)
Not even close to release yet...
The text was updated successfully, but these errors were encountered: