Releases: Antares0982/ssrJSON
Releases · Antares0982/ssrJSON
Release 0.0.16
Release 0.0.14
This is a performance improvement release.
#27 Refactor encoding call args for performance, gives a 7%~60% performance improvement on fast paths
#28 :
- Replace Dragonbox with Żmij (Rust implementation), a faster implementation of writing floats
- Some internal refactors that improve performance
Breaking changes:
Żmij (Rust implementation) output fixed-point notations instead of scientific notations when possible. Before this release ssrJSON (using Dragonbox) outputs a scientific notation.
Release 0.0.13
Support free-threading (Python >= 3.14). Distribute wheel for cp314t (not lock-free).
Bugfix: decoding ref count leak when repeated key appears in the string.
Release 0.0.12
This is a bug fix version.
- Fix memory access violation when calling
loadswithobject_hookin multi-threads. The problem will occur when GIL is released in the hook function in version 0.0.11.
Breaking change:
- Linux: GLIBC version requirement is updated from 2.17 to 2.34. If you use glibc below 2.34, we recommend you to build ssrJSON from source.
Release 0.0.11
Release 0.0.10
- Fix bug that wheels on PyPI for MacOS are not working
- Now you can use
SSRJSON_WRITE_UTF8_CACHEenv variable to control whether to write cache when importing ssrJSON the first time - Keys in the output of
get_current_featuresbecome snake_case now (breaking change)
Release 0.0.9
This is a bugfix version.
Changes:
- For short strings (len < 6), writing cache is disabled even if requested.
Bug fixes:
- Fix raising error when
is_write_cacheis passed todumps_to_bytes. - Fix incorrect error message when unexpected keyword argument is passed.
Release 0.0.8
- #18 Use fastcall protocol to accelerate argument parsing. Small JSON will parse faster than before.
- #19 Support writing and reading UTF-8 cache. Largely improve performance. Add
is_write_cacheargument todumps_to_bytes, andssrjson.write_utf8_cachefunction. They are used for controlling the cache writing behavior. More details can be found in README. - Internal refactors and fixes:
- Use an accurate way to calculate the actual buffer size to reserve.
- Statically assert 64-bits platform and having IEEE754 double.
- Other small changes
Release 0.0.7
- Support MacOS (aarch64)
- Improve performance of
dumps_to_bytesfor ASCII path
No new feature was introduced compared to version 0.0.6