Skip to content

Releases: explosion/srsly

v2.0.0

02 Jan 13:58
Compare
Choose a tag to compare
  • Port over ultrajson/ultrajson#323 by @timdawborn.
  • Drop support for Python 2.7 and 3.5.
  • Tidy up code and remove compatibility helpers.
  • Add type hints.
  • Improve setup and compilation.

v1.0.0

02 Jan 11:52
Compare
Choose a tag to compare
  • Add official support for Python 3.8.
  • Fix typo in README.md.

Thanks to @pfvosi for the pull request!

v0.2.0

28 Oct 16:50
Compare
Choose a tag to compare
  • Fix issue #10: Update cloudpickle to 1.2.2 to support Python 3.8.
  • Fix issue #13: Add append_new_line option to write_jsonl to control whether newline is appended.

Thanks to @nyejon for the pull request!

v0.1.0

18 Aug 13:22
Compare
Choose a tag to compare
  • Add read_gzip_json and write_gzip_json for working with compressed JSON.

Thanks to @polm for the pull request!

v0.0.7

13 Jun 09:33
Compare
Choose a tag to compare
v0.0.7 Pre-release
Pre-release
  • Fix issue #6: Don't write to JSONL as "a" (append) by default.

v0.0.6

07 Jun 09:00
Compare
Choose a tag to compare
v0.0.6 Pre-release
Pre-release
  • Fix issue #4: Fix memory leak.

Thanks to @sadovnychyi for the pull request and to @Adriandorr for the fix.

v0.0.5

02 Dec 21:55
Compare
Choose a tag to compare
v0.0.5 Pre-release
Pre-release
  • Fix length limits on msgpack serialization.

v0.0.4

02 Dec 18:05
Compare
Choose a tag to compare
v0.0.4 Pre-release
Pre-release
  • Move ujson to srsly.ujson for API consistency.
  • Add pickle utilities: pickle_loads and pickle_dumps.
  • Add msgpack utilities: msgpack_loads, msgpack_dumps, write_msgpack, read_msgpack.
  • Improve test suite.

v0.0.3

02 Dec 03:52
Compare
Choose a tag to compare
v0.0.3 Pre-release
Pre-release
  • Expose json_dumps and json_loads helpers.
  • Add support for sort_keys via json.

v0.0.2

02 Dec 02:47
Compare
Choose a tag to compare
v0.0.2 Pre-release
Pre-release
  • Fix tests across Python versions and platforms.
  • Improve file path handling.