Skip to content

gix-diff v0.53.0

Compare
Choose a tag to compare
@Byron Byron released this 15 Jul 03:40
· 56 commits to main since this release
5a919c4

New Features

  • add explicit accessors for common fields
  • Add Sink that implements git's diffing improvement heuristics

Bug Fixes

  • blob::UnifiedDiff now produces non-overlapping hunks.
    Previously it was possible to see two hunks with overlapping context lines
    due to an off-by-one error.

  • remove blob::GitDiff Sink as it doesn't work concistently.
    Against better judgement I was compelled to merge this implementation in,
    assuming one test must be enough given that it is a transcription.

    This, however, wasn't the case and there is strong evidence that it produces
    diffs that aren't correct.

  • improve rename tracking performance characteristics to make exponential runtime less likely.
    This optimizes specifically for the case where there are a lot of added files, but no deletion to
    pair it up with.

Commit Statistics

  • 26 commits contributed to the release over the course of 79 calendar days.
  • 79 days passed between releases.
  • 5 commits were understood as conventional.
  • 1 unique issue was worked on: #2011

Thanks Clippy

Clippy helped 2 times to make code idiomatic.

Commit Details

view details
  • #2011
    • Remove blob::GitDiff Sink as it doesn't work concistently. (4f27179)
  • Uncategorized
    • Update changelogs prior to release (65037b5)
    • Merge pull request #2071 from cruessler/add-accessors-to-change-ref (5335c84)
    • Merge pull request #2072 from GitoxideLabs/fix-unidiff (f87967d)
    • Reproduce unified diff issue (5e64298)
    • Thanks clippy (79b8f06)
    • Reference new methods in docs for ChangeRef::field() (fad0118)
    • Add explicit accessors for common fields (bd01893)
    • Merge pull request #2043 from GitoxideLabs/fix-unidiff (08e7777)
    • blob::UnifiedDiff now produces non-overlapping hunks. (0d102f4)
    • Merge pull request #2017 from GitoxideLabs/improvements (3094214)
    • Improve rename tracking performance characteristics to make exponential runtime less likely. (0eaced9)
    • Merge pull request #2011 from blinxen/main (fd49eee)
    • Make GitDiff compatible to strings and bytes. (5505646)
    • Refactor (5e699d2)
    • Add Sink that implements git's diffing improvement heuristics (c84296b)
    • Update imara-diff to the latest version. (732adb8)
    • Merge pull request #2014 from GitoxideLabs/zip (648022b)
    • Release gix-glob v0.20.1, gix-attributes v0.26.1, gix-command v0.6.1, gix-filter v0.19.2, gix-worktree-stream v0.21.2, gix-archive v0.21.2 (f0ed2cc)
    • Merge pull request #2009 from GitoxideLabs/release-gix-index (c3f06ae)
    • Release gix-path v0.10.18, gix-date v0.10.2, gix-traverse v0.46.2, gix-index v0.40.1 (d2b4c44)
    • Merge pull request #1975 from GitoxideLabs/improvements (28935a5)
    • Thanks clippy (dbf65c9)
    • Merge pull request #1977 from GitoxideLabs/dependabot/cargo/cargo-811d7b929d (800738a)
    • Bump the cargo group with 12 updates (4408166)
    • Merge pull request #1971 from GitoxideLabs/new-release (8d4c4d1)