Changelogs » Srsly

PyUp Safety actively tracks 232,000 Python packages for vulnerabilities and notifies you when to upgrade.

Srsly

2.2.0

* Remove unsafe YAML implementations, raising if called (see 28)

2.1.0

* Include vendorized [`ruamel.yaml`](https://github.com/pycontribs/ruamel-yaml).
  * Add YAML API for saving and loading YAML.

2.0.1

* Support `cupy.ndarray` in `msgpack_numpy`.
  * Make `msgpack` raise correct errors for unserializable objects if `numpy` is not installed.

2.0.0

* Port over esnme/ultrajson323 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.

1.0.2

* Support `cupy.ndarray` in `msgpack_numpy`.
  * Make `msgpack` raise correct errors for unserializable objects if `numpy` is not installed.

1.0.1

* Fix source distribution.

1.0.0

- Add official support for Python 3.8.
  - Fix typo in `README.md`.
  
  Thanks to pfvosi for the pull request!

0.2.0

* 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!

0.1.0

* Add `read_gzip_json` and `write_gzip_json` for working with compressed JSON.
  
  Thanks to polm for the pull request!

0.0.7

* Fix issue 6: Don't write to JSONL as `"a"` (append) by default.

0.0.6

* Fix issue 4: Fix memory leak.
  
  Thanks to sadovnychyi for the pull request and to Adriandorr for the fix.

0.0.5

* Fix length limits on `msgpack` serialization.

0.0.4

* 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.

0.0.3

* Expose `json_dumps` and `json_loads` helpers.
  * Add support for `sort_keys` via `json`.

0.0.2

* Fix tests across Python versions and platforms.
  * Improve file path handling.

0.0.1