Skip to content

gix-actor v0.35.0

Compare
Choose a tag to compare
@Byron Byron released this 25 Apr 20:35
· 294 commits to main since this release
db0b095

Bug Fixes

  • Make email with spaces roundtrip.
    We see this situation in commits in the wild.

Other

  • inform about untrimmed name and email

Bug Fixes (BREAKING)

  • turn SignatureRef::time field into &str.
    We also add a gix_date::Time::to_str() method, along with related utilities,
    to be able to turn a parsed time back into a raw buffer conveniently.

    Further, remove Time::to_bstring() in favor of a Display implementation.

  • Make SignatureRef::to_owned() fallible.
    The contained time field is now a string, which has to be parsed into
    a time for conversion to an owned type.
    Additionally, replace From<SignatureRef> for Signature with TryFrom.

  • Make Signature roundtrip
    By storing the raw bytes from Git instead of parsing them into a
    gix_date::Time from the start, we are able to roundtrip between Git
    and gix-actor even with creatively formatted Git data.

    Also add a test case that shows a time offset seen in the wild which
    would have failed to round-trip without this change.

Commit Statistics

  • 18 commits contributed to the release.
  • 5 commits were understood as conventional.
  • 1 unique issue was worked on: #1438

Commit Details

view details
  • #1438
    • Bring back test-case to show how trailing slashes are handled (39e35a3)
  • Uncategorized
    • Update changelogs prior to release (0bf84db)
    • Merge pull request #1935 from pierrechevalier83/fix_1923 (3b1bef7)
    • J fmt (c3c6504)
    • Adapt to changes in gix-date (8c00e6f)
    • Adapt to changes in gix-date and gix-actor (afdf1a5)
    • Turn SignatureRef::time field into &str. (57366d3)
    • Make SignatureRef::to_owned() fallible. (545edf5)
    • Apply feedback from discussion (70097c0)
    • Make Signature roundtrip (9825354)
    • Merge pull request #1968 from GitoxideLabs/dependabot/cargo/cargo-bd18780e40 (46227e6)
    • Bump the cargo group with 40 updates (06bf1e1)
    • Merge pull request #1949 from GitoxideLabs/dependabot/cargo/cargo-6893e2988a (b5e9059)
    • Bump the cargo group with 21 updates (68e6b2e)
    • Merge pull request #1922 from pierrechevalier83/make_email_with_spaces_roundtrip (c13a403)
    • Inform about untrimmed name and email (b2bccbc)
    • Make email with spaces roundtrip. (a20b3d0)
    • Merge pull request #1919 from GitoxideLabs/release (420e730)