Releases: umarbutler/orjsonl
Releases · umarbutler/orjsonl
v1.0.0
v0.3.1
Changed
- Added tests for
append()
andextend()
withnewline
set toFalse
to achieve 100% coverage.
v0.3.0
Added
- Added the
extend()
function, which serializes and appends an iterable of Python objects to a UTF-8-encoded jsonl file.
Changed
- Changed the
append()
function to serialize and append a single Python object to a UTF-8-encoded jsonl file.
v0.2.2
Fixed
- Updated the link to the GitHub Actions shield as per badges/shields#8671.
v0.2.1
Added
- Added new keywords to the project metadata.
Changed
- Rephrased and simplifed the README file.
- Changed the order of
stream()
andload()
inorjsonl.py
.
Fixed
- Corrected typos in the README file.
- Corrected typos in the changelog.
- Corrected typos in docstrings.
v0.2.0
Added
- Added support for gzip, bzip2, xz and Zstandard compression to
load()
,stream()
,save()
andappend()
as requested in #1. - Created
py.typed
. - Ensured that
load()
,stream()
,save()
andappend()
are tested with compressed jsonl files.
Changed
- Changed
stream()
to return agenerator
rather than amap
. - Changed
load()
,stream()
,save()
andappend()
to rely onxopen.xopen()
rather thanopen()
. - Updated the package description and README file to reflect the fact that
orjsonl
now supports compression.
Fixed
- Fixed #1 by ensuring that
stream()
closes jsonl files whenever agenerator
has been exhuasted. - Corrected typos in the changelog.
- Corrected typos in docstrings.
- Ensured that optional arguments are type hinted as such.
- Updated dependencies to prevent the use of versions of
orjson
older than 3.7.7.
Removed
- Removed support for integer file descriptors.
v0.1.3
Changed
- Removed unnecessary links to
load()
,stream()
,save()
andappend()
in the README file.
v0.1.2
Added
- Allowed for the
default
andoption
arguments to be passed toorjson.dumps()
throughsave()
andappend()
. - Added 'ndjson' as a keyword in the project metadata.
v0.1.1
Added
- Created a changelog.
- Added 'lines', 'json lines' and 'fast' as keywords in the project metadata.
Changed
- Renamed the 'Bug Tracker' url to 'Issues' in the project metadata.
- Specified orjsonl's license to be the MIT License in the project metadata.
- Fixed typos in the README file.
- Fixed typos in the tests script.
v0.1.0
Added
- Added the
load()
function, which deserializes a UTF-8-encoded jsonl file to a list of Python objects. - Added the
stream()
function, which creates a map object that deserializes a UTF-8-encoded jsonl file to Python objects. - Added the
save()
function, which serializes an iterable of Python objects to a UTF-8-encoded jsonl file. - Added the
append()
function, serializes and appends an iterable of Python objects to a UTF-8-encoded jsonl file.