github GitoxideLabs/gitoxide gix-credentials-v0.41.0
gix-credentials v0.41.0

7 hours ago

Bug Fixes

  • Keep rust workspace tests inside disposable repositories and isolated environments

    Direct Git launches inherited repository selectors and user configuration even
    when tests supplied a fixture working directory. Tests of default-environment
    APIs and local Git transports also shared the runner's environment. A few
    journey tests wrote beneath source directories or used the source checkout as
    the repository under test.

    Use the shared gix-testtools Git command builder for subprocess setup, isolated
    repository options for fixtures, and isolated child processes where the real
    environment-reading API must be exercised. Scope CWD changes, copy the fixture
    used by an object-write test, and run shell journeys through jtt run. Keep
    journey worktrees and example output within their disposable sandboxes and
    replace the attributes checkout test with a representative fixture repository.
    Prompt examples also run in isolated children and must build successfully; the
    old tests could ignore build failures and execute stale cached binaries.

    The affected Rust crate suites, internal test-tool build, and max-pure journey
    suite pass from a source copy without Git metadata. Signing and Git-daemon
    checks use only disposable keys, repositories, and local sockets.

Changed (BREAKING)

  • migrate errors to gix-error

    rubberstamp

  • 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.

New Features (BREAKING)

  • support HTTP challenges in credential contexts

    Credential helpers can need server-provided account hints to choose cached
    credentials without prompting. Preserve ordered, byte-oriented wwwauth[]
    values in protocol::Context, pass them through partial helper results, and
    remove them before storing or erasing a complete identity.

    Validate input even when no helper can run, so malformed challenges return
    an error instead of panicking while constructing NextAction. Follow the
    existing field-write behavior when a helper closes its input early, allowing
    the next helper to supply credentials.

    Adding Context::www_authenticate breaks exhaustive struct construction and
    destructuring. Keep every required adaptation with this API change. Tests
    cover protocol roundtrips, delimiter rejection, helper fallback, and challenge
    lifetime across the cascade.

Commit Statistics

  • 11 commits contributed to the release over the course of 33 calendar days.
  • 34 days passed between releases.
  • 4 commits were understood as conventional.
  • 1 unique issue was worked on: #2995

Commit Details

view details
  • #2995
    • Support HTTP challenges in credential contexts (7496ef1)
  • Uncategorized
    • Merge pull request #2847 from GitoxideLabs/gix-error-completion (6356013)
    • Use borrowed error inspection throughout the workspace (daf73b5)
    • Migrate errors to gix-error (d036063)
    • Merge pull request #2989 from GitoxideLabs/error-conversion-review (4b9ff51)
    • Merge pull request #2996 from GitoxideLabs/credential-helper-non-interactive (2fb9b8a)
    • Merge pull request #2990 from GitoxideLabs/various-improvements (c609062)
    • Keep rust workspace tests inside disposable repositories and isolated environments (4e0f8ff)
    • Merge pull request #2949 from GitoxideLabs/error-conversion-review (a095334)
    • Raise MSRV to Rust 1.88 (4b42e0c)
    • Merge pull request #2933 from GitoxideLabs/report-august (b8914ff)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.