·
14 commits
to master
since this release
CHANGES:
2025-05-29
Changed
- Floats are now always output to JSON in a standard-conformant way or not at
all (raising an exception). This makes thestdvariants of functions
identical to the non-stdvariants and thestdarguments have no effect.
Users are encouraged to switch to the non-stdaffixed variants, the others
will be deprecated in the future. (#184, @Leonidas-from-XIV) - Bumped the minimum required version of OCaml for the main package to 4.08
since the CI dropped the support. This however allows removing the dependency
on theseqlibrary, so the depencency cone becomes slightly smaller. (#194,
@Leonidas-from-XIV)
Fixed
- Fixed handling of escape sequences in JSON5. Known escapes like \b will be
properly unescaped and undefined escape sequences will unescape to the
character itself as per spec (#187, @david-maison-TrustInSoft) - Fixed tests failing on Windows due to disagreements with the length of an
input channel and the text mode conversion (#192, @Leonidas-from-XIV)
Removed
- Removed support for Tuple and Variant in JSON. It was a non-standard
extension that was rarely used, so this simplifies the Yojson types and the
parser more standard-conforming (#105, #158, #185 @Leonidas-from-XIV)