All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2023-11-09
- Fixed links to version numbers in this changelog.
- Version bump to 1.0.0 to flag that
orjsonl
is stable.
0.3.1 - 2023-10-08
- Added tests for
append()
andextend()
withnewline
set toFalse
to achieve 100% coverage.
0.3.0 - 2023-10-08
- Added the
extend()
function, which serializes and appends an iterable of Python objects to a UTF-8-encoded jsonl file.
- Changed the
append()
function to serialize and append a single Python object to a UTF-8-encoded jsonl file.
0.2.2 - 2022-12-24
- Updated the link to the GitHub Actions shield as per badges/shields#8671.
0.2.1 - 2022-11-23
- Added new keywords to the project metadata.
- Rephrased and simplifed the README file.
- Changed the order of
stream()
andload()
inorjsonl.py
.
- Corrected typos in the README file.
- Corrected typos in the changelog.
- Corrected typos in docstrings.
0.2.0 - 2022-11-22
- 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
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 #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 support for integer file descriptors.
0.1.3 - 2022-11-20
- Removed unnecessary links to
load()
,stream()
,save()
andappend()
in the README file.
0.1.2 - 2022-11-20
- Allowed for the
default
andoption
arguments to be passed toorjson.dumps()
throughsave()
andappend()
. - Added 'ndjson' as a keyword in the project metadata.
0.1.1 - 2022-11-19
- Created a changelog.
- Added 'lines', 'json lines' and 'fast' as keywords in the project metadata.
- 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.
0.1.0 - 2022-11-18
- 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, which serializes and appends an iterable of Python objects to a UTF-8-encoded jsonl file.