Skip to content

Releases: umarbutler/orjsonl

v1.0.0

09 Nov 02:30
Compare
Choose a tag to compare

Changed

  • Version bump to 1.0.0 to flag that orjsonl is stable.

Fixed

  • Fixed links to version numbers in the changelog.

v0.3.1

08 Oct 09:41
Compare
Choose a tag to compare

Changed

  • Added tests for append() and extend() with newline set to False to achieve 100% coverage.

v0.3.0

08 Oct 04:24
Compare
Choose a tag to compare

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

23 Dec 14:09
Compare
Choose a tag to compare

Fixed

v0.2.1

22 Nov 15:23
Compare
Choose a tag to compare

Added

  • Added new keywords to the project metadata.

Changed

  • Rephrased and simplifed the README file.
  • Changed the order of stream() and load() in orjsonl.py.

Fixed

  • Corrected typos in the README file.
  • Corrected typos in the changelog.
  • Corrected typos in docstrings.

v0.2.0

22 Nov 10:39
Compare
Choose a tag to compare

Added

  • Added support for gzip, bzip2, xz and Zstandard compression to load(), stream(), save() and append() as requested in #1.
  • Created py.typed.
  • Ensured that load(), stream(), save() and append() are tested with compressed jsonl files.

Changed

  • Changed stream() to return a generator rather than a map.
  • Changed load(), stream(), save() and append() to rely on xopen.xopen() rather than open().
  • 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 a generator 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

19 Nov 15:00
Compare
Choose a tag to compare

Changed

  • Removed unnecessary links to load(), stream(), save() and append() in the README file.

v0.1.2

19 Nov 14:53
Compare
Choose a tag to compare

Added

  • Allowed for the default and option arguments to be passed to orjson.dumps() through save() and append().
  • Added 'ndjson' as a keyword in the project metadata.

v0.1.1

19 Nov 05:58
Compare
Choose a tag to compare

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

19 Nov 05:48
Compare
Choose a tag to compare

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.