github GitoxideLabs/gitoxide gix-quote-v0.8.0
gix-quote v0.8.0

one hour ago

New Features

  • add Git-compatible C-style quoting via anci_c::quote()

Changed (BREAKING)

  • a quote that is never closed is now an error.
    undo() returned the input unaltered once it ran off the end while looking for
    the closing quote, so "abc unquoted to abc and reported all 4 bytes as
    consumed. Git's unquote_c_style() has no such branch and fails instead.

    A lone " already errored, so the two cases disagreed with each other.

    The arm was written before undo() reported consumed bytes; a052d79 added
    that feature by extending it with consumed += input.len(), treating the
    unterminated remainder as consumed rather than asking whether reaching the end
    should have succeeded at all.

Commit Statistics

  • 7 commits contributed to the release.
  • 88 days passed between releases.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Update manifests prior to release (ebe9095)
    • Merge pull request #2905 from GitoxideLabs/various-improvements (f3bbfad)
    • Add Git-compatible C-style quoting via anci_c::quote() (3887733)
    • Merge pull request #2891 from ameyypawar/quote-unterminated (6fc3e04)
    • Review (76f9643)
    • A quote that is never closed is now an error. (2231e4b)
    • Merge pull request #2618 from GitoxideLabs/report (f7d4f33)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.