Skip to content

Releases: mangiucugna/json_repair

Release 0.20.1

26 May 14:49
Compare
Choose a tag to compare

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

25 May 08:28
Compare
Choose a tag to compare

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

21 May 04:32
Compare
Choose a tag to compare

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

13 May 19:16
Compare
Choose a tag to compare

Fixed

  • Fix #44, a better way to deal with escaping sequences in python and that is hopefully the last time I fix this. Thanks to @mlxyz for reporting the issue

Release 0.19.0

12 May 14:59
Compare
Choose a tag to compare

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

09 May 06:45
Compare
Choose a tag to compare

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

07 May 18:36
Compare
Choose a tag to compare

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

07 May 11:00
Compare
Choose a tag to compare

Fixed

  • Fix #40, in some cases a \ would send the library in an infinite loop. Thanks to @dhrbobluo for reporting!

Release 0.17.1

06 May 11:56
Compare
Choose a tag to compare

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

03 May 15:18
Compare
Choose a tag to compare

Added

  • Improve load() to avoid loading the file in memory but stream it byte by byte. This brings the method on parity with json.load() and allows large stream of data to be processed