Changelog¶
jsonyx uses a [major].[feature].[fix] versioning scheme, where:
The major version increments for foundational changes or major overhauls,
The feature version increments for new features or enhancements, and
The fix version increments for bug or security fixes.
Warning
Breaking changes can occur in major and feature versions, so read the changelog before updating.
jsonyx 2.3.0 (Apr 30, 2025)¶
- Changes:
Speed up string encoding
jsonyx 2.2.1 (Apr 21, 2025)¶
jsonyx 2.2.0 (Mar 31, 2025)¶
- New Features:
Added
cache_keystojsonyx.Decoder,jsonyx.load(),jsonyx.loads()andjsonyx.read()
- Breaking Changes:
Disabled caching keys by default for
jsonyx.Decoder,jsonyx.load(),jsonyx.loads()andjsonyx.read()
jsonyx 2.1.0 (Mar 30, 2025)¶
- New Features:
Added
check_circular,hookandskipkeystojsonyx.Encoder,jsonyx.dump(),jsonyx.dumps()andjsonyx.write()
jsonyx 2.0.0 (Mar 27, 2025)¶
- New Features:
Added the
jsonyxapplicationAdded
commas,indent_leaves,max_indent_level,quoted_keysandtypestojsonyx.Encoder,jsonyx.dump(),jsonyx.dumps()andjsonyx.write()Added
encodingtojsonyx.write()andjsonyx.Encoder.write()Added
python -m jsonyx diffAdded
python -m jsonyx patchAdded
--no-indent-leaves(alias-l) topython -m jsonyx formatAdded
--max-indent-level(alias-L) topython -m jsonyx formatAdded
--unquoted-keys(alias-q) topython -m jsonyx formatAdded
--version(alias-v) topython -m jsonyxAdded
jsonyx.apply_filter()Added
jsonyx.apply_patch()Added
jsonyx.make_patch()Added
jsonyx.paste_values()Added
jsonyx.select_nodes()Added
jsonyx.Manipulator
- Breaking Changes:
Made
tupleserializable by default instead ofenum.Enumanddecimal.DecimalRemoved
jsonyx.allow.DUPLICATE_KEYSRemoved
jsonyx.DuplicateKeyRemoved
jsonyx.toolRenamed
python -m jsonyxtopython -m jsonyx formatReplaced
item_separatorandkey_separatorwithseparatorsforjsonyx.Encoder,jsonyx.dump(),jsonyx.dumps()andjsonyx.write()Replaced
use_decimalwithhooksforjsonyx.Decoder,jsonyx.load(),jsonyx.loads()andjsonyx.read()
- Other Changes:
Added support for Python 3.8 and Python 3.9
Improved documentation
Improved error messages
Use cache for indentations in the JSON encoder
- Bug Fixes:
Fixed #32: Line comments continue until the end of file
Fixed python/cpython#125660: Python implementation of
jsonyx.loads()accepts invalid unicode escapesFixed python/cpython#125682: Python implementation of
jsonyx.loads()accepts non-ascii digits
jsonyx 1.2.1 (Aug 3, 2024)¶
- Changes:
First conda release.
- Bug Fixes:
Fixed #2: Middle of error context is truncated incorrectly
jsonyx 1.2.0 (Aug 3, 2024)¶
- New Features:
Added
output_filenameAdded
-aas an alias to--ensure-asciiAdded
-cas an alias to--compactAdded
-Cas an alias to--no-commasAdded
-das an alias to--use-decimalAdded
-ias an alias to--indentAdded
-sas an alias to--sort-keysAdded
-Sas an alias to--nonstrictAdded
-tas an alias to--trailing-commaAdded
-Tas an alias to--indent-tab
- Other Changes:
Renamed
filenametoinput_filename
jsonyx 1.1.0 (Aug 3, 2024)¶
- Breaking Changes:
Renamed
python -m jsonyx.tooltopython -m jsonyx