Releases: ultrajson/ultrajson
Releases · ultrajson/ultrajson
5.12.1
Fixed
- Fix encoding ref leak with non-English character (#714) @nhancdt2602
- Fix memory leak when
ujson.dump()is unable to write to its file (0bf630a) @bwoodsend
Note that pre-built wheels for graalpy on macOS have been omitted from this release due to infrastructural issues building them (#731).
5.12.0
Added
- Update license field (#693) @wagenrace
- Build wheels for GraalPy (#685) @timfel
Changed
Fixed
- Fix memory leak parsing large integers (4baeb95) @bwoodsend
- Fix buffer overflow/infinite loop from indent handling (#709) @bwoodsend
- Remove upper bound of setuptools for PyPy (#704) @hugovk
5.11.0
Added
- Inline type stubs (#674) @MarcoGorelli
- Add support for Python 3.14 (#680) @hugovk
- Add support for PyPy3.11 (#658) @hugovk
- Add Windows ARM64 wheels (#663) @tonybaloney
Changed
- Migrate to
src/layout (#664) @hugovk - Build aarch64 wheels using native runners (#652) @hugovk
- Drop support for EOL Python 3.8 (#645) @hugovk
- Drop support for EOL PyPy3.8-PyPy3.10 (#639, #682) @hugovk
Fixed
5.10.0
5.9.0
Breaking
- Raise TypeError if toDict() returns a non-dict instead of silently converting it to null (#615) @eltoder
- Use lowercase strings for bool dict keys (#614) @eltoder
Added
- Deploy to PyPI using trusted publishing (#603) @hugovk
- Replace PyPy3.8 wheel with PyPy3.10 (#602) @hugovk
Changed
- Speed-up and cleanup objToJSON (#615) @eltoder
- Use lowercase strings for bool dict keys (#614) @eltoder
Fixed
- Fix typos found by codespell (#610) @DimitriPapadopoulos
- Fix undefined behavior in Buffer_AppendLongUnchecked (#606) @WillAyd
5.8.0
5.7.0
Added
- Support ujson.loads(bytearray(...)) and other bytes-like objects. (#573) @bwoodsend
5.6.0
5.5.0
Added
- Add support for Python 3.11 and PyPy3.9 (#564) @hugovk
- Add separators encoding parameter (#557) @JustAnotherArchivist
Fixed
- Fix encoding of infinity (#80). (#562) @bwoodsend
5.4.0
Added
- Add support for arbitrary size integers (#548) @JustAnotherArchivist
Fixed
- CVE-2022-31116:
- Replace
wchar_tstring decoding implementation with auint32_t-based one (#555) @JustAnotherArchivist - Fix handling of surrogates on decoding (#550) @JustAnotherArchivist
- Replace
- CVE-2022-31117: Potential double free of buffer during string decoding @JustAnotherArchivist
- Fix memory leak on encoding errors when the buffer was resized (#549) @JustAnotherArchivist
- Integer parsing: always detect overflows (#544) @NaN-git
- Fix handling of surrogates on encoding (#530) @JustAnotherArchivist