diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-02-10 14:13:21 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-02-10 14:13:21 -0700 |
commit | 7a5a0e821693364156c1de8f7bd87286b0eed98b (patch) | |
tree | ee5fcacbba4d4eb7c44e4cb1f35fb950f11aee1d /ReleaseNotes.md | |
parent | 480ccfd05a13ac36516c536a71203280a31b4d28 (diff) | |
parent | 483bbdc970b26d774ace39edfde8420aba53b742 (diff) |
Merge branch 'lukeshu/go1.20'
Diffstat (limited to 'ReleaseNotes.md')
-rw-r--r-- | ReleaseNotes.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ReleaseNotes.md b/ReleaseNotes.md index f71967c..493252a 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -9,6 +9,15 @@ poisons future Decodes. This is something that `encoding/json` supports. + - Encoder: Fixes a bug where if an encode error is encountered, all + future Encode calls will fail. Reusing an Encoder is something + that `encoding/json` supports. + + - compat/json.Encoder: Now buffers the output, to avoid partial + writes if an encode error is encountered. This matches the + behavior of `encoding/json`. For memory consumption reasons, the + native lowmemjson Encoder still does not buffer. + # v0.3.4 (2023-02-05) Theme: Fix compilation with Go 1.20 |