Skip to content

build(deps): bump unidiff from 0.7.5 to 1.0.0 - #6556

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/uv/unidiff-1.0.0
Open

build(deps): bump unidiff from 0.7.5 to 1.0.0#6556
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/uv/unidiff-1.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 10, 2026

Copy link
Copy Markdown
Contributor

Bumps unidiff from 0.7.5 to 1.0.0.

Release notes

Sourced from unidiff's releases.

v1.0.0

Major modernization: Python 2 is dropped, the code is fully type-annotated, packaging moves to pyproject.toml, and several long-standing parser issues are fixed.

⚠️ Breaking

  • Minimum supported Python is now 3.9 (Python 2 dropped).
  • PatchedFile.path now also strips git mnemonic prefixes (c/ i/ o/ w/ and 1/ 2/), so git diff --cached paths resolve to the plain filename (c/README.mdREADME.md). Standard a//b/ diffs are unaffected. (#81, #27)

Highlights

  • File modes via source_mode/target_mode + an is_symlink property. (#125)
  • PatchedFile.diff_line_no to locate hunkless/binary entries. (#122)
  • Accept bytes input directly (decoded with the given encoding, default UTF-8). (#43)
  • Real PEP 484 type annotations + generics (typed iteration) and a py.typed marker. (#117)
  • Parse difflib empty-filename output (#115) and fix a trailing-newline error on hunkless git format-patch files (#73, #74); includes the quoted-filename fix missing from 0.7.5 (#113).
  • from_filename/from_string gain metadata_only; python -m unidiff works; packaging on pyproject.toml with GitHub Actions CI.

Thanks to @​danwald, @​cpina, @​tovrstra and @​huichen-cs.

Full changelog: matiasb/python-unidiff@v0.7.5...v1.0.0

Changelog

Sourced from unidiff's changelog.

1.0.0 - 2026-07-25

  • 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.
Commits
  • 5ff054b Merge pull request #139 from matiasb/release-1.0.0
  • 3182e41 Preparing 1.0.0 release
  • d08ddd2 Merge pull request #141 from matiasb/readme-markdown
  • b13996f Convert README from reStructuredText to Markdown
  • ff053b8 Merge pull request #140 from matiasb/metadata-only-and-examples
  • f7f4b3e Update README
  • b5d4cbc Merge pull request #138 from matiasb/review/13-hunkless-newline
  • 21400e2 Fix trailing newline error on hunkless files (#73, #74)
  • 6638235 Merge pull request #137 from matiasb/review/12-bytes-input
  • dea6675 Accept bytes input directly (#43)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Aug 10, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 10, 2026 04:00
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Aug 10, 2026
@community-tc-integration

Copy link
Copy Markdown
Uh oh! Looks like an error!

InterpreterError at template.tasks["head_branch"]: object has no property "release"

Bumps [unidiff](https://github.com/matiasb/python-unidiff) from 0.7.5 to 1.0.0.
- [Release notes](https://github.com/matiasb/python-unidiff/releases)
- [Changelog](https://github.com/matiasb/python-unidiff/blob/main/HISTORY)
- [Commits](matiasb/python-unidiff@v0.7.5...v1.0.0)

---
updated-dependencies:
- dependency-name: unidiff
  dependency-version: 1.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/uv/unidiff-1.0.0 branch from 191b115 to 68c23be Compare September 2, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants