Unidiff

Latest version: v0.7.5

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.6.0

----------------

* Updated PatchSet constructor to accept an optional (default to False)
metadata_only parameter to only keep diff metadata information without
the diff text data (better performance).
* Identify and track changed binary files.
* Added support for git rename syntax.

0.5.5

------------------

* Updated PatchSet constructor to accept string data.
* Added support to parse extended patch info.

0.5.4

------------------

* Added PatchSet.from_string helper.
* Do not install tests as top-level package.

0.5.3

------------------

* Re-released 0.5.2 as 0.5.3 because of issues with PyPI.

0.5.2

------------------

* Added diff line number to Line metadata.
* Optimizations for large hunks.
* Fix for git empty new lines.
* Added (optional) errors parameter to PatchSet.from_filename,
to specify how to handle encoding errors.

0.5.1

------------------

* Added (optional) encoding parameter to PatchSet.
* Added support to get any iterable as PatchSet diff argument.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.