Recent Releases of py3-ujson
py3-ujson - 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
- C++
Published by github-actions[bot] about 2 years ago
py3-ujson - 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
- C++
Published by github-actions[bot] over 3 years ago
py3-ujson - 5.3.0
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
wheeldependency frompyproject.toml(#535) @hugovk
- C++
Published by github-actions[bot] almost 4 years ago
py3-ujson - 5.2.0
Added
- Support parsing NaN, Infinity and -Infinity (#514) @Erotemic
- Support dynamically linking against system double-conversion library (#508) @musicinmybrain
- Add env var to control stripping debug info (#507) @musicinmybrain
- Add
JSONDecodeError(#498) @JustAnotherArchivist
Fixed
- Fix buffer overflows (CVE-2021-45958) (#519) @JustAnotherArchivist
- Upgrade Black to fix Click (#515) @hugovk
- simplify exception handling on integer overflow (#510) @RouquinBlanc
- Remove dead code that used to handle the separate int type in Python 2 (#509) @JustAnotherArchivist
- Fix exceptions on encoding list or dict elements and non-overflow errors on int handling getting silenced (#505) @JustAnotherArchivist
- C++
Published by github-actions[bot] almost 4 years ago
py3-ujson - 4.2.0
Added
- Add a default keyword argument to dumps (#470) @garenchan
- Add support for Python 3.10 (#472) @hugovk
- Build 32-bit wheels for Windows (#481) @hugovk
- Build PyPy3 wheels for manylinux (#475) @hugovk
- Build wheels for musl aarch64 (aka ARM) Linux (musllinux11_aarch64) (#478) @bwoodsend
- Build wheels for musl Linux (musllinux11x8664) (#476) @bwoodsend
Changed
- Use declarative setup metadata (#477) @hugovk
- Wheel building updates (#473) @hugovk
- Rename master to main (#471) @hugovk
- Replace README.rst with Markdown (#479) @hugovk
- C++
Published by github-actions[bot] over 4 years ago
py3-ujson - 4.1.0
Added
- Add gcov coverage testing for C code (#457) @bwoodsend
- Test Python 3.10-dev (#454) @hugovk
Changed
- Remove unused variable (#459) @hugovk
- Remove explicit handling of manylinux platform tag (#452) @bwoodsend
Fixed
- dconv no longer uses global instances of StringToDoubleConverter and (#469) @das-intensity
- Switch shebang for the manylinux-wheels script (#465) @bwoodsend
- Fix typos in error message (#449) @filipsalomonsson
- C++
Published by github-actions[bot] over 4 years ago
py3-ujson - 4.0.2
Changed
- Travis CI: Test on 3.9 final, remove 3.8 (#438) @CozyDoomer
- Toward matching Python standard library output for float (#443) @dwhswenson
Fixed
- Fix errors on reading long decimal floats (#442) @dwhswenson
- Fix #429: Make empty dict/list indented serialization match stdlib json (#441) @gsnedders
- Fix dealing with None types (#439) @mbish
- C++
Published by github-actions[bot] about 5 years ago
py3-ujson - 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
- C++
Published by github-actions[bot] over 5 years ago
py3-ujson - 3.0.0
Added
- Build Windows, macOS and manylinux wheels on CI and deploy to PyPI (#405, #406) @bwoodsend
Changed
- Breaking change: New
reject_bytesoption to raise on bytes, defaults toTrueto align withjsonlibrary. Set toFalsefor old behaviour (#266) @elelay - Breaking change: Add an
allow_nankeyword argument to dumps, defaults toTrueto align withjsonlibrary. Set toFalsefor old behaviour (#327) @segfault - Specify setuptools_scm config in pyproject.toml (#399) @BenjaminSchubert
Removed
- Drop support for EOL Python 2.7 (#404) @hugovk
- C++
Published by github-actions[bot] over 5 years ago
py3-ujson - 2.0.2
Fixed
- Fix "�� is not JSON serializable" on Python 3 (#382) @hugovk
- Follow up of: Removed generic serialization of objects/iterables https://github.com/ultrajson/ultrajson/commit/53f85b1bd6e4f27a3e4cdc605518c48a6c7e7e9e (UltraJSON 2.0.0)
- C++
Published by github-actions[bot] almost 6 years ago
py3-ujson - 2.0.0
Added
- Include license file in manifest (#288) @kszucs
- added "static" to C functions, where possible (#238) @WGH-
- bring back benchmark introduction (#234) @rdpate
- Add syntax highlighting to README (#255) @adamchainz
- Test on new Travis CPUs (#350) @hugovk
- Test on GitHub Actions (#348) @hugovk
- Test on Python 3.9-dev to avoid surprises (#349) @hugovk
- Use Release Drafter to draft releases (#365) @hugovk
- Deploy from GitHub Actions instead of Travis CI (#364) @hugovk
- Autodeploy to PyPI from Travis CI (#357) @hugovk
- Lint with pre-commit: Black, isort, Flake8 (#354) @hugovk
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 (https://github.com/ultrajson/ultrajson/commit/eb7d894f225bb89d269188ba6ec559b914a71b8a) @Jahaja
- Reduce default buffer on stack size (#281) @ncopa
- Update ultrajsondec.c (#260) @markpiekarz
- Indent dict values (#217) @orivej
- Test with pytest (#363) @hugovk
- Less Travis (#361) @hugovk
- Update links (#356) @hugovk
- Tests: Remove unused, unmaintained blist (#362) @hugovk
- Only deploy sdist from Travis CI (#359) @hugovk
Removed
- Drop EOL Python 2.5-2.6, 3.2-3.4 and add 3.7-3.8 (#298) @hugovk
- Remove serialization of date/datetime objects (https://github.com/ultrajson/ultrajson/commit/50181f060f0c653594698133a33bcb731e47d2e4) @Jahaja
- Remove
double_precisionencoding option andprecise_floatdecoding option (https://github.com/ultrajson/ultrajson/commit/eb7d894f225bb89d269188ba6ec559b914a71b8a) @Jahaja - Remove generic serialization of objects/iterables (https://github.com/ultrajson/ultrajson/commit/53f85b1bd6e4f27a3e4cdc605518c48a6c7e7e9e) @Jahaja
- Remove support for
__json__method on str (https://github.com/ultrajson/ultrajson/commit/5f98f010956fc8f6495883b1a68b1f56fe720202) @Jahaja - Remove blist tests (https://github.com/ultrajson/ultrajson/commit/3a6ba52366329ed6d78ec4abbfab9080f1fd4aed) @Jahaja
Fixed
- Fix for
sort_keysbug and a typo (https://github.com/ultrajson/ultrajson/commit/870ee48fe109c289033cd0b7543b6f5ea4e6f128) @Jahaja - Fix for overflowing long causing invalid JSON (https://github.com/ultrajson/ultrajson/commit/409c6d4006fdea27e746ea397124f98c92a41a92) @Jahaja
- Following std JSON handling of
Nonedict key (https://github.com/ultrajson/ultrajson/commit/ac4637fbc4e72bd59f221d9bba19127820d21023) - Fix for incorrect order when using
OrderedDict(https://github.com/ultrajson/ultrajson/commit/c9f8318bd823ae9d44797b6b881a2b3e22cdbade) @Jahaja - Fix reference counting bug for dict values (#353) @richafrank
- Fix a couple of memory leaks. (#257) @borman
- Correct JSON decoding implementation to die on trailing commas in Objects (#323) @timdawborn
- fixup dconv_wrapper linkage (#312) @tclh123
- Fix Warning: 'classifiers' should be a list, got type 'filter' (#351) @hugovk
- Remove redundant license parameter (#341) @blag
- do not forcefully remove the build directory manually (fix #179) (#207) @anthraxx
- Merged pull request to fix memory leak. (#1) @Adriandorr
- http -> https (#299) @hugovk
- C++
Published by github-actions[bot] almost 6 years ago