Releases: matiasb/python-unidiff
Releases · matiasb/python-unidiff
v0.7.5
- Fixed issue with spaces in filename when using custom git prefix.
- Support binary patch format.
v0.7.4
- Fixed git diff parsing issues (filename with spaces, only one added/deleted file).
v0.7.3
- Fixed RE_BINARY_DIFF regex to make it a raw string.
v0.7.2
- Fixed issue when parsing git diff header generated with
--no-prefix
.
v0.7.1
- Improved git added/deleted file detection.
- Added
newline
optional param when parsing from_filename
.
v0.7.0
- Fixed issues handling multiple git renames.
- Renamed files return target filename as
PatchedFile.path
.
- Fixed error when first change is a binary file.
- Added source code type hints.
v0.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.
v0.5.5
- Updated PatchSet constructor to accept string data.
- Added support to parse extended patch info.
v0.5.4
- Added PatchSet.from_string helper.
- Do not install tests as top-level package.
v0.5.3
- Re-released as 0.5.3 because of issues with PyPI.