./textproc/py-ujson, Ultra fast JSON encoder and decoder for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.9.0, Package name: py311-ujson-5.9.0, Maintainer: pkgsrc-users

UltraJSON is an ultra fast JSON encoder and decoder written in pure C with
bindings for Python 2.5+ and 3.


Required to run:
[lang/python310]

Master sites:

Filesize: 6986.537 KB

Version history: (Expand)


CVS history: (Expand)


   2023-12-11 17:57:49 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-ujson: updated to 5.9.0

5.9.0

Added

Deploy to PyPI using trusted publishing
Replace PyPy3.8 wheel with PyPy3.10

Changed

Speed-up and cleanup objToJSON
Use lowercase strings for bool dict keys

Fixed

Fix typos found by codespell
Fix undefined behavior in Buffer_AppendLongUnchecked
   2023-06-12 12:09:34 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ujson: updated to 5.8.0

5.8.0

Added

Build wheel for Python 3.12 beta (built against 3.12.0b2)

Changed

Drop support for Python 3.7

Fixed

Include BSD-3-Clause and TCL license text
   2023-01-11 13:05:24 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ujson: updated to 5.7.0

5.7.0

Added

Support ujson.loads(bytearray(...)) and other bytes-like objects.
   2022-12-06 09:12:11 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ujson: updated to 5.6.0

5.6.0

Added

Update vendored double-conversion to 3.2.1

Fixed

Fix len integer overflow issue
   2022-09-19 09:57:43 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ujson: updated to 5.5.0

5.5.0

Added

Add support for Python 3.11 and PyPy3.9
Add separators encoding parameter

Fixed

Fix encoding of infinity
   2022-07-02 09:57:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ujson: updated to 5.4.0

5.4.0

Added

Add support for arbitrary size integers

Fixed

CVE-2022-31116:
Replace wchar_t string decoding implementation with a uint32_t-based one
Fix handling of surrogates on decoding
CVE-2022-31117: Potential double free of buffer during string decoding \ 
@JustAnotherArchivist
Fix memory leak on encoding errors when the buffer was resized
Integer parsing: always detect overflows
Fix handling of surrogates on encoding
   2022-05-18 23:52:40 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-ujson: update to 5.3.0.

Fix test target.

Changes:

Added

    Test Python 3.11 beta (#539) @hugovk

Changed

    Benchmark refactor - argparse CLI (#533) @Erotemic

Fixed

    Fix segmentation faults when errors occur while handling unserialisable \ 
objects (#531) @JustAnotherArchivist
    Fix segmentation fault when an exception is raised while converting a dict \ 
key to a string (#526) @JustAnotherArchivist
    Fix memory leak dumping on non-string dict keys (#521) @JustAnotherArchivist
    Fix ref counting on repeated default function calls (#524) @JustAnotherArchivist
    Remove redundant wheel dependency from pyproject.toml (#535) @hugovk
   2022-04-06 11:24:43 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ujson: updated to 5.2.0

5.2.0

Added

Support parsing NaN, Infinity and -Infinity
Support dynamically linking against system double-conversion library
Add env var to control stripping debug info
Add JSONDecodeError

Fixed

Fix buffer overflows (CVE-2021-45958)
Upgrade Black to fix Click
simplify exception handling on integer overflow
Remove dead code that used to handle the separate int type in Python 2
Fix exceptions on encoding list or dict elements and non-overflow errors on int \ 
handling getting silenced