From 87013d526ea1b0647ef6e08758fe587cee11d854 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 5 Feb 2023 18:35:45 -0700 Subject: Fix compilation with Go 1.20 --- ReleaseNotes.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ReleaseNotes.md') diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 608038e..5d85254 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,3 +1,17 @@ +# v0.3.4 (2023-02-05) + + Theme: Fix compilation with Go 1.20 + + lowmemjson uses git.lukeshu.com/go/typedsync.CacheMap (since + lowmemjson v0.3.1), which when compiled with Go 1.20 makes use of Go + 1.20 language features. However, because lowmemjson's `go.mod` said + `go 1.18`, those language features are disabled and compilation + fails (see [go#58342][]). To work around this, lowmemjson's + `go.mod` now says `go 1.20`. Despite this, lowmemjson still works + fine with Go 1.18. + + [go#58342]: https://github.com/golang/go/issues/58342 + # v0.3.3 (2023-02-04) Theme: Bugfix -- cgit v1.2.3-54-g00ecf