github GitoxideLabs/gitoxide gix-lock-v25.0.0
gix-lock v25.0.0

one day ago

New Features

  • add configurable File::acquire()

    Replace the private acquisition helper with a public entry point whose optional
    callbacks can resolve the resource and adjust lock-file permissions after the
    umask is applied. Keep the existing convenience methods as delegating wrappers.

    Expose and document resolve_symlink() for Git-style callers, and exercise
    permission adjustment through the new API.

Bug Fixes

  • preserve resource paths while locking

    Add opt-in final-symlink resolution for callers that need Git default lockfile
    behavior while retaining the existing no-follow API for loose references.
    Resolve again before each retry and retain the target whose lock was actually
    acquired.

    Append the lock suffix directly to OsString values so non-UTF-8 resource names
    remain byte-exact. Retain each original resource path instead of reconstructing
    it from the lock filename, avoiding panics for dotfile locks.

    Allow symlink-aware callers to adjust lock permissions after the process umask
    has been applied, so shared-repository modes can grant the intended access.

Changed (BREAKING)

  • migrate errors to gix-error

  • raise MSRV to Rust 1.88

    The newly published dua-core 3.3 release used by linked-worktree removal
    requires Rust 1.88, so raise every workspace crate and the advertised badge
    together.

    Keep the MSRV checks buildable by selecting the latest sysinfo and rusqlite
    release lines that support Rust 1.88.

Commit Statistics

  • 10 commits contributed to the release over the course of 63 calendar days.
  • 64 days passed between releases.
  • 4 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Merge pull request #2847 from GitoxideLabs/gix-error-completion (6356013)
    • Use borrowed error inspection throughout the workspace (daf73b5)
    • Merge pull request #2989 from GitoxideLabs/error-conversion-review (4b9ff51)
    • Migrate errors to gix-error (289f780)
    • Merge pull request #2949 from GitoxideLabs/error-conversion-review (a095334)
    • Raise MSRV to Rust 1.88 (4b42e0c)
    • Merge pull request #2929 from GitoxideLabs/config-refresh (b14028d)
    • Add configurable File::acquire() (c2072a9)
    • Preserve resource paths while locking (3082f23)
    • Merge pull request #2812 from GitoxideLabs/report-july (ae8845a)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.