Changes¶
0.6.0¶
New Features
Internally use the JSONEncoder’s iterencode rather than encode for memory efficiency. This makes little difference for the default built-in json’s JSONEncoder, but a custom JSONEncoder that emits large objects in small output chunks can now pass this memory efficiency all the way through jsonstreams, allowing arbitrarily large elements to be emitted in bounded memory. (This is not yet implemented for pretty=True.)
Deprecation
Type.array and Type.object have deprecated in favor of Type.ARRAY and Type.OBJECT, respectively. The former will be removed in version 1.0
Bug Fixes:
Use the JSONEncoder.*_separator values instead of hard coded values (#35)
0.5.0¶
Bug Fixes:
0.4.3¶
New Features
Add support for Python 3.9
Drop support for python 3.5
0.4.2¶
New Features
Add support for Python 3.7 and 3.8
Drop support for python 3.4
0.4.1¶
New Features
Bump from alpha to beta quailty. The public API will no longer change in a non-backwards compatible way without a very good reason.
Add support for Python 3.6
0.4.0¶
New Features:
Use an enum rather than a string to set the object type in Stream. For python < 3.4 this adds a new requirement on enum34
Bug Fixes:
Fix numerous typos and errors in the sphinx documentation
0.3.2¶
New Features:
Proper documentation via readthedocs
0.3.1¶
New Features:
Add __slots__ to the Writer classes
Bug Fixes:
0.3.0¶
New features:
0.2.1¶
Bug Fixes:
Pass the pretty flag down in the Stream class correctly. This bug was more of an annoyance than anything else. (#7)
0.2.0¶
New features:
Added a pretty printer flag. This allows printing complex object with the expected level of indent, but with added overhead. (#3)
Bug Fixes: