Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-ujson
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-ujson: updated to 6.1.0 6.1.0 No functional changes, only in binary wheels released to PyPI
py-ujson: updated to 6.0.0 6.0.0 Changed Assorted cleanup refactors Removed Reduce bytes-like support to only bytes and bytearray Fixed Allow default handler to handle bytes Update build dependencies to avoid warning about missing [tool.setuptools_scm] section Tighten UTF-8 validation for ujson.loads()-ing strings from bytes Fix memory leak when the default() handler returns non-serialisable objects until its recursion limit is hit
py-ujson: update to 5.13.0.
Security fix release.
Added
Create manylinux2014 wheels (#745) @hugovk
Add support for Python 3.15 (#742) @hugovk
Disable global interpreter lock for freethreading (#737) @bwoodsend
Re-enable building GraalPy wheels on macOS arm64 (#733) @timfel
Changed
Move metadata from setup.cfg to pyproject.toml (#736) @hugovk
Fixed
Tighten UTF-8 validation for ujson.dumps(b"...", reject_bytes=False) (169eaf3) @bwoodsend
Replace generated version.h with macro (#735) @hugovk
py-ujson: updated to 5.12.1 5.12.1 Fixed Fix encoding ref leak with non-English character Fix memory leak when ujson.dump() is unable to write to its file
py-ujson: do not install weird file out of package specific PYSITELIB
py-ujson: updated to 5.12.0 5.12.0 Added Update license field Build wheels for GraalPy Changed Drop support for Python 3.9 Fixed Fix buffer overflow/infinite loop from indent handling Remove upper bound of setuptools for PyPy
py-ujson: updated to 5.11.0 5.11.0 Added Inline type stubs Add support for Python 3.14 Add support for PyPy3.11 Add Windows ARM64 wheels Changed Migrate to src/ layout Build aarch64 wheels using native runners Drop support for EOL Python 3.8 Drop support for EOL PyPy3.8-PyPy3.10 Fixed fix(ujson.loads): raises a JSONDecodeError instead of SystemError when parsing a nested json string Pin setuptools < 72.2 to fix build on PyPy Update README.md example to match actual output
py-ujson: fix for setuptools>=78
lang/python and a number of python packages: re-do atomic64.mk issue. Evidently, python 3.13 brought in the need to support 64-bit atomics. This means that python extension packages built with C needs to use mk/atomic64.mk to make -latomic available on the required 32-bit ports. Sadly, there is no reliable way to detect in the .mk files whether the package is using C (or C++), so this change adds an unconditional include of mk/atomic64.mk when the python version is equal to or larger than 3.13 for packages using egg.mk or wheel.mk. This undoes the individual package Makefile inclusions of mk/atomic64.mk that I've added over the last few days.
textproc/py-ujson: use atomic64.mk to fix build on macppc w/python3.13.
py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays
py-ujson: updated to 5.10.0 5.10.0 Added Add support for Python 3.13
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
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
py-ujson: updated to 5.7.0 5.7.0 Added Support ujson.loads(bytearray(...)) and other bytes-like objects.
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
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
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
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
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
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
py-ujson: updated to 5.1.0 5.1.0 Changed Strip debugging symbols from Linux binaries 5.0.0 Added Use cibuildwheel to build wheels Removed Drop support for soon-EOL Python 3.6 Fixed Install Twine to upload to PyPI
py-ujson: updated to 4.3.0 4.3.0: Added Enable Windows on ARM64 target
py-ujson: updated to 4.2.0 4.2.0 Added Add a default keyword argument to dumps Add support for Python 3.10 Build 32-bit wheels for Windows Build PyPy3 wheels for manylinux Build wheels for musl aarch64 (aka ARM) Linux (musllinux_1_1_aarch64) Build wheels for musl Linux (musllinux_1_1_x86_64) Changed Use declarative setup metadata Wheel building updates Rename master to main Replace README.rst with Markdown
py-ujson: updated to 4.1.0 4.1.0 Added Add gcov coverage testing for C code Test Python 3.10-dev Changed Remove unused variable Remove explicit handling of manylinux platform tag Fixed dconv no longer uses global instances of StringToDoubleConverter and Switch shebang for the manylinux-wheels script Fix typos in error message
py-ujson: updated to 4.0.2 4.0.2 Changed Travis CI: Test on 3.9 final, remove 3.8 Toward matching Python standard library output for float Fixed Fix errors on reading long decimal floats Fix 429: Make empty dict/list indented serialization match stdlib json Fix dealing with None types
Mark packages that fail with Python 2.7
py-ujson: update to 4.0.1.
4.0.1
Fixed
Fix UnicodeDecodeError on arm64/aarch64 (#435) @hugovk
4.0.0
Added
Add support for Python 3.9 (#430) @hugovk
Build wheels for Python 3.9 (#431) @hugovk
Removed
Drop support for EOL Python 3.5 (#424) @hugovk
Fixed
Fix indent and add test case (#426) @chenhan1218
Update code samples in README (#427) @verhovsky
3.2.0
Added
Make PEP 384 compliant (#417) @tekknolagi
Build and deploy aarch64 wheels (#422) @geoffreyblake
3.1.0
Added
PEP 489 Multi Phase Init support (#418) @WillAyd
Fixed
PyPy3 test fixes (#413) @mgorny
py-ujson: updated to 2.0.3 2.0.3: Changed Drop legacy distutils in setup.py Update benchmarking Fixed Decrease dict key reference Remove double_precision and precise_float from help text
py-ujson: updated to 2.0.2 2.0.2: Fix "�� is not JSON serializable" on Python 3
py-ujson: updated to 2.0.1 2.0.1 Fixed Fix Windows build and test Python 3.5-3.8 on Windows 2.0.0 Added Include license file in manifest added "static" to C functions, where possible bring back benchmark introduction Add syntax highlighting to README Test on new Travis CPUs Test on GitHub Actions Test on Python 3.9-dev to avoid surprises Use Release Drafter to draft releases Deploy from GitHub Actions instead of Travis CI Autodeploy to PyPI from Travis CI Lint with pre-commit: Black, isort, Flake8 Changed Use Google's double-conversion lib to fix floating-point precision when converting doubles to and from strings, improves double encoding by 4-5x Reduce default buffer on stack size Update ultrajsondec.c Indent dict values Test with pytest Less Travis Update links Tests: Remove unused, unmaintained blist Only deploy sdist from Travis CI Removed Drop EOL Python 2.5-2.6, 3.2-3.4 and add 3.7-3.8 Remove serialization of date/datetime objects Remove double_precision encoding option and precise_float decoding option Remove generic serialization of objects/iterables Remove support for __json__ method on str Remove blist tests Fixed Fix for sort_keys bug and a typo Fix for overflowing long causing invalid JSON Following std JSON handling of None dict key Fix for incorrect order when using OrderedDict Fix reference counting bug for dict values Fix a couple of memory leaks. Correct JSON decoding implementation to die on trailing commas in Objects fixup dconv_wrapper linkage Fix Warning: 'classifiers' should be a list, got type 'filter' Remove redundant license parameter do not forcefully remove the build directory manually Merged pull request to fix memory leak. http -> https
UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3.