Releases: mangiucugna/json_repair
v0.54.2
Fixed
- Fix #170, do not return empty elements in case of multiple elements detected in the same invalid json string
Think about sponsoring this library!
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.54.1
Fixed
- Fix #169, respect python style number notation.
Think about sponsoring this library!
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.54.0
Added
- Fix #162, added a new feature in beta mode:
strict=Truewill limit the amount of repairs that the parser can do and will return an exception if it attempts to do a repair that is not allowed. Please refer to the docs for an example.
Fixed
- Fix #165, sometimes multi-byte unicode characters would be broken when passing a file.
Think about sponsoring this library!
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.53.1
Fixed
- Fix #168, sometimes an empty array was incorrectly parsed when in object context.
Think about sponsoring this library!
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.53.0
Added
Fix #159, sometimes LLMs might insert a ```json .. ``` block in the middle of a normal json string. Try to manage this edge case and normalize the json.
Think about sponsoring this library!
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.52.5
Fixed
Fixed #160, sometimes very long json could lead to a max recursion depth exception. Fixed now.
Sponsors
This release is sponsored by @kojoopuni. Thank you very much for your generous 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.52.4
Fixed
Fixed #158, in some cases the library could return an IndexError. Added checks to prevent that.
Think about sponsoring this library!
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.52.3
Fixed
Fixed #156, the parser did not reset context when it detected the potential for multiple jsons in the same string, leading to all kind of possible issues.
Think about sponsoring this library!
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.52.2
Fixed
Fixed #155, handle an edge case in which an object ends without a proper delimiter first and the LLM adds a code fence at the end
Think about sponsoring this library!
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.52.1
Fixed
Fixed #154, sometimes when repairing a confusing delimiter the poor closing brace was involved. Try not do that anymore
Think about sponsoring this library!
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