Releases: mangiucugna/json_repair
Releases · mangiucugna/json_repair
Release 0.20.1
Fixed
- Fix #47, a stupid regression due to missing tests in the last refactor was messing up a complex json. In particular how the word "false"was managed in array context
Release 0.20.0
Added
- Fix #46, add the support for a new edge case: in case we have non escaped quotes in an object value and a comma is present, don't automatically truncate but try more heuristics first. Thanks to @bwest2397 for reporting
Release 0.19.2
Fixed
- There was an edge case in which a stray comment inside an object that looked like a boolean would be repaired as a key
- Various improvements to performance and code readability
- Reorganized tests to improve maintenance load
Release 0.19.1
Release 0.19.0
Added
- PR #43, sometimes LLMs will be "lazy" and add an ellipsis in arrays to mean "etc.." like
[1, 2, ..., 10]
or[1, 2, 3, ...]
. Previously the ellipsis was converted to string as it was not a targeted use case, now it is ignored. Thanks to @mlxyz for pushing this change.
Sponsors
This release is sponsored by @haydenth. Thank you very much for your donation!
This library is free for everyone and it's maintained and developed as a side project so, if you find this library useful for your work, consider offering me a beer via this link: https://github.com/sponsors/mangiucugna
Release 0.18.0
Added
- Fix #42, add support for currency-like numbers. Thanks to @GeraldWu23 for reporting
Fixed
- PR #41, remove garbage output in import (sorry folks!). Thanks to @MatthieuSarter for pushing the fix swiftly
Release 0.17.3
Fixed
- Fix #34, sometimes llms spit weird thoughts and comments in the middle of objects, improve how we handle that. Thanks to @ArslanKAS for reporting
Release 0.17.2
Fixed
- Fix #40, in some cases a \ would send the library in an infinite loop. Thanks to @dhrbobluo for reporting!
Release 0.17.1
Fixed
- Fix #39, a regression after the large refactor of the string function (done to support new use cases) introduced a bug in which the library would fail in a specific corner case. Thanks to @werpachowski-msft for reporting!
Release 0.17.0
Added
- Improve
load()
to avoid loading the file in memory but stream it byte by byte. This brings the method on parity withjson.load()
and allows large stream of data to be processed