Skip to content

Releases: mangiucugna/json_repair

v0.54.2

25 Nov 19:30
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

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

19 Nov 14:54
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

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

18 Nov 14:21
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

Added

  • Fix #162, added a new feature in beta mode: strict=True will 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

18 Nov 11:22
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

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

08 Nov 13:44
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

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

06 Nov 16:09
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

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

01 Nov 09:02
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

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

22 Oct 04:37
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

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

20 Oct 07:23
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

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

18 Oct 04:53
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

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