Skip to content

chore(deps): Bump gix from 0.84.0 to 0.85.0#605

Merged
notheotherben merged 2 commits into
mainfrom
dependabot/cargo/gix-0.85.0
Jun 23, 2026
Merged

chore(deps): Bump gix from 0.84.0 to 0.85.0#605
notheotherben merged 2 commits into
mainfrom
dependabot/cargo/gix-0.85.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 23, 2026

Copy link
Copy Markdown
Contributor

Bumps gix from 0.84.0 to 0.85.0.

Release notes

Sourced from gix's releases.

gix v0.85.0

Bug Fixes (BREAKING)

  • avoid duplicate network connection when adopting a remote-controlled hash kind. Connections can now be created from detached remotes, internally, which makes them independent of the underlying repository.

    This is breaking as it comes with a cleanup of Connection lifetimes, which will break anyone who stores them in a struct. So hopefully nobody is affected.

  • bound the clone object-hash adoption retry The clone fetch loop adopts the remote's object format and retries when it differs from the freshly initialized local repository. Adoption makes the next iteration's hashes match, but if the reopened repository somehow still disagrees the loop would re-handshake forever. Track whether we already retried and fail with IncompatibleObjectHash on a second mismatch instead. The error variant is introduced here, as this is its only user.

    Also silence clippy::never_loop on default (sha1) features, where the sha256-gated continue is absent and the loop always returns first pass.

New Features (BREAKING)

  • add leaf-only tree-editor removal via Editor::remove_leaf() Motivation comes from gitbutlerapp/gitbutler#14312, where callers had to split tree-entry deletions from additions to avoid accidentally deleting a newly-added subtree after adding A/one and then deleting A.

    Add Editor::remove_leaf() to gix-object and expose it through gix object tree editors and cursors. The new API keeps remove() behavior unchanged, remains tolerant of absent paths, but returns an error when the target entry exists and is a tree.

Bug Fixes

  • adopt the remote's object format when cloning A clone into a freshly initialized repository hit an unimplemented! panic when the remote used sha256, since the local repository defaults to sha1.

    Reconfigure the still-empty local repository to the remote's object format and retry the fetch, matching git's behavior of inheriting the remote's hash on clone.

    Without the sha256 feature gix_hash::Kind has a single variant, so the local and remote hashes can never differ; the mismatch check is compiled out entirely in that case.

  • write fetched remote symrefs as direct refs Previously gix had made-up behaviour to 'improve' on standard Git,

... (truncated)

Commits
  • 6428edc Release gix-date v0.15.5, gix-hashtable v0.15.2, gix-object v0.62.0, gix-attr...
  • 1d301e2 report for June 2026
  • da6b267 Merge pull request #2642 from 10ne1/dev/aratiu/sha256-transport
  • 3927d70 Add journey-tests for SHA-256 clones and ref-lists
  • 9929ece fix!: avoid duplicate network connection when adopting a remote-controlled ha...
  • ed998d1 review
  • f7d6608 Merge pull request #2664 from ameyypawar/docs/2421-index-write-tree-cache
  • 325d2a1 map fetch pack/index checksums to their SHA-256 values
  • a507ee0 Merge pull request #2661 from GitoxideLabs/negative-refspec-parsing
  • 470e689 derive update_refs expected ids from the fixture (hash-aware)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [gix](https://github.com/GitoxideLabs/gitoxide) from 0.84.0 to 0.85.0.
- [Release notes](https://github.com/GitoxideLabs/gitoxide/releases)
- [Changelog](https://github.com/GitoxideLabs/gitoxide/blob/main/CHANGELOG.md)
- [Commits](GitoxideLabs/gitoxide@gix-v0.84.0...gix-v0.85.0)

---
updated-dependencies:
- dependency-name: gix
  dependency-version: 0.85.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jun 23, 2026
@notheotherben notheotherben enabled auto-merge June 23, 2026 00:33

@notheotherben notheotherben left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR has been automatically approved because it was created by @dependabot.

auto-merge was automatically disabled June 23, 2026 07:40

Head branch was pushed to by a user without write access

Copilot AI requested a review from notheotherben June 23, 2026 07:40
@notheotherben notheotherben enabled auto-merge June 23, 2026 08:12
@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.18%. Comparing base (0b4f970) to head (1020081).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #605   +/-   ##
=======================================
  Coverage   73.18%   73.18%           
=======================================
  Files          30       30           
  Lines        2111     2111           
=======================================
  Hits         1545     1545           
  Misses        566      566           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@notheotherben notheotherben merged commit d7c68af into main Jun 23, 2026
11 checks passed
@notheotherben notheotherben deleted the dependabot/cargo/gix-0.85.0 branch June 23, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants