summaryrefslogtreecommitdiff
path: root/ReleaseNotes.md
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-30 14:50:47 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-02-10 21:55:49 -0700
commit276ab5935873edc05e1882c06fc527a14babd27c (patch)
treeba9ec20307b4200f1010bc291d78c3786b57e326 /ReleaseNotes.md
parentc604347f1950e3dfbef2f524da8a63692848da27 (diff)
encoder, reencoder: Distinguish between syntax errors and I/O errors
Diffstat (limited to 'ReleaseNotes.md')
-rw-r--r--ReleaseNotes.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/ReleaseNotes.md b/ReleaseNotes.md
index 9974f0e..e00bf10 100644
--- a/ReleaseNotes.md
+++ b/ReleaseNotes.md
@@ -8,6 +8,13 @@
a user of lowmemjson's native APIs does not need to import
`encoding/json` or compat/json in order to use them.
+ - Encoder, ReEncoder: If there was an error writing to the output
+ stream, it may have returned a `*ReEncodeSyntaxError` even though
+ it's not a syntax issue, or may have returned the underlying
+ error without wrapping it. If there is an error writing to the
+ output, Encoder and ReEncoder now return `*EncodeWriteError` and
+ `*ReEncodeWriteError` respectively.
+
# v0.3.5 (2023-02-10)
Theme: Compatibility bugfixes