diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-02-16 16:53:53 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-02-18 22:45:54 -0700 |
commit | 1a5b0561f53441d8a259a5096281699b5af16a6c (patch) | |
tree | aed7ab3089889582d7d817900d0796fb54acb0ab /ReleaseNotes.md | |
parent | dfc67cecbd95344d296c31b537fa3ae8aec8c292 (diff) |
reencode: Add CompactFloats
Diffstat (limited to 'ReleaseNotes.md')
-rw-r--r-- | ReleaseNotes.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ReleaseNotes.md b/ReleaseNotes.md index b1647da..ae147b1 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -4,11 +4,15 @@ User-facing changes: - - General bugfixes: + - General Changes: + Encoder, ReEncoder: Now correctly trims unnecessary the trailing '0's from the fraction-part when compacting numbers. + + ReEncoder: No longer compact floating-point numbers by + default, add a `CompactFloats` ReEncoderConfig option to + control this. + - Compatibility bugfixes: + compat/json.Valid: No longer considers truncated JSON @@ -17,6 +21,9 @@ + compat/json.Compact, compat/json.Indent: Don't write to the destination buffer if there is a syntax error. + + compat/json.Compact, compat/json.Indent: No longer compact + floating-point numbers; as `encoding/json` doesn't. + - Unicode: + Feature: Encoder, ReEncoder: Add an `InvalidUTF8` |