Skip to content

fix(deps): update dependency unidiff to v1 - #417

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/unidiff-1.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/unidiff-1.x

Conversation

@renovate

@renovate renovate Bot commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
unidiff 0.7.5 → 1.0.1 age confidence

Release Notes

matiasb/python-unidiff (unidiff)

v1.0.1

Compare Source

  • Exposed git submodule (gitlink) entries through the file mode and the new
    PatchedFile.is_submodule property (#​147).
  • Fixed parsing of patches that add multiple files in a row sharing the
    /dev/null source, such as quilt-generated patches (#​143).
  • Fixed metadata_only parsing of empty (including DOS "\r\n") context lines.
  • Fixed an UnboundLocalError on malformed patches with a target file header
    and no preceding source header; UnidiffParseError is now raised (#​148).
  • Fixed a TypeError on binary diffs without a target filename, such as
    Mercurial's "Binary file X has changed".

v1.0.0

Compare Source

  • Dropped Python 2 support; the minimum supported version is now Python 3.9.
  • Converted to real PEP 484 type annotations and generic containers, and
    shipped a py.typed marker (#​117).
  • Migrated packaging to pyproject.toml; the sdist now includes the tests
    (#​99), and the unidiff command is also runnable as python -m unidiff.
  • Replaced Travis CI with GitHub Actions (tests + mypy).
  • Exposed git file modes via PatchedFile.source_mode / target_mode and an
    is_symlink property (#​125).
  • Added support for git mnemonic source/target prefixes (i/ w/ c/ o/ and
    1/ 2/), which also fixes git diff --cached paths (#​81, #​27).
  • Exposed PatchedFile.diff_line_no to locate hunkless (e.g. binary) file
    entries in the diff (#​122).
  • PatchSet and PatchSet.from_string now accept bytes input directly,
    decoding with the given encoding (default UTF-8) (#​43).
  • PatchSet.from_filename and PatchSet.from_string now accept the
    metadata_only argument.
  • Parse diffs with empty filenames, e.g. difflib.unified_diff output (#​115).
  • Fixed a trailing-newline parse error on hunkless files in git
    format-patch output (#​73, #​74).
  • Documented parsing of content with embedded carriage returns / control
    characters (#​120).
  • Rewrote the README in Markdown.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/unidiff-1.x branch from 99f5f7f to c0deaf0 Compare September 15, 2026 02:15
@renovate
renovate Bot force-pushed the renovate/unidiff-1.x branch from c0deaf0 to 202324f Compare October 2, 2026 03:04
@renovate
renovate Bot force-pushed the renovate/unidiff-1.x branch from 202324f to dd90a74 Compare November 3, 2026 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants