Skip to content

Releases: matiasb/python-unidiff

v0.7.5

02 Jun 00:36
Compare
Choose a tag to compare
  • Fixed issue with spaces in filename when using custom git prefix.
  • Support binary patch format.

v0.7.4

26 Jun 20:12
3de381b
Compare
Choose a tag to compare
  • Fixed git diff parsing issues (filename with spaces, only one added/deleted file).

v0.7.3

06 Feb 19:03
5294ed1
Compare
Choose a tag to compare
  • Fixed RE_BINARY_DIFF regex to make it a raw string.

v0.7.2

28 Jan 16:01
Compare
Choose a tag to compare
  • Fixed issue when parsing git diff header generated with --no-prefix.

v0.7.1

27 Jan 18:47
3b5cf9a
Compare
Choose a tag to compare
  • Improved git added/deleted file detection.
  • Added newline optional param when parsing from_filename.

v0.7.0

15 Aug 19:02
3353080
Compare
Choose a tag to compare
  • 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

07 May 22:32
286826e
Compare
Choose a tag to compare
  • 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

03 Jan 21:19
4ed24ae
Compare
Choose a tag to compare
  • Updated PatchSet constructor to accept string data.
  • Added support to parse extended patch info.

v0.5.4

26 May 23:51
Compare
Choose a tag to compare
  • Added PatchSet.from_string helper.
  • Do not install tests as top-level package.

v0.5.3

20 May 16:12
Compare
Choose a tag to compare
  • Re-released as 0.5.3 because of issues with PyPI.