New Features
- add
From<gix_object::tree::Mode> for gix_index::entry::Mode
.
Other
- make clear that indices can contain invalid or dangerous paths.
It's probably best not to try to protect against violations of constraints
in this free-to-mutate data-structure and instead suggest to validate entry
paths before using them on disk (or use thegix_worktree::Stack
).
Bug Fixes (BREAKING)
State::from_tree()
now performs name validation.
Previously, malicious trees could be used to create a index with
invalid names, which is one step closer to actually abusing it.
Commit Statistics
- 8 commits contributed to the release over the course of 33 calendar days.
- 33 days passed between releases.
- 3 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- Adjust changelogs prior to release (9511416)
- Merge branch 'various-fixes' (d6cd449)
- Merge pull request from GHSA-7w47-3wg8-547c (79dce79)
State::from_tree()
now performs name validation. (2ea87f0)- Apply suggestions from code review (bad9a79)
- Make clear that indices can contain invalid or dangerous paths. (b6a67d7)
- Add
From<gix_object::tree::Mode> for gix_index::entry::Mode
. (9564699) - Merge branch 'cargo-fixes' (977346e)