chore(deps): update rust crate gix to 0.83.0 - autoclosed#190
Closed
renovate[bot] wants to merge 1 commit intomainfrom
Closed
chore(deps): update rust crate gix to 0.83.0 - autoclosed#190renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
ace801a to
d4ecddb
Compare
d4ecddb to
d7add92
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.80.0→0.83.0Release Notes
GitoxideLabs/gitoxide (gix)
v0.83.0: gix v0.83.0Compare Source
Bug Fixes
$COMMON_DIR/info/excludeto make excludes work in worktrees.It turns out there is no per-worktree excludes file either.
Chore (BREAKING)
prodashandcrosstermionto the latest version.This will fix the
cargo denyissue as it brings in a newerlrucrate.Bug Fixes (BREAKING)
remove
winnowand replace it with hand-implemented parsers everywhere.This will allow for simplified maintenance and editing (both human and machine)
down the road, and enable additional performance optimisations.
Parser compbinators to me ultimately were a failed experiment as I couldn't maintain
them anyway, with it being too difficult for me to grasp and express everything
in its very own kind of language, with a lot of different things to consider.
Note that this also removes detailed errors from all parsers that previously
used
winnow, with the option to re-add those if there is demand.Commit Statistics
Commit Details
view details
gix-object(91bfab0)winnowand replace it with hand-implemented parsers everywhere. (91c854e)4d5ba23)2c3a08e)gix-error(2e2a126)v0.82.0: gix v0.82.0 - hardenedCompare Source
Advisories with fixes
Bug Fixes
Correctly use
$COMMON_DIR/info/excludeto make excludes work in worktrees.It turns out there is no per-worktree excludes file either.
do not open
.gitmodulefiles through symlinksThis could lead to places outside of the repository that are attacker controller.
don't follow submodule names with relative paths in them
This made it possible to trick submodule repos to be opened outside of the
actual repository.
Restore
Category::to_full_name()to be able to produce any full name.Previously it learned to reject certain invalid branch names, but this has to
be done separately and led to some unpleasant changes in
gixas well.reject
refs/heads/HEADas branch name during repo initialisationAlso document that
refs/heads/HEADis allowed ifFullNamewas createddirectly.
Tree::peel_to_entry()peel to the final tree entry (and only if it's a tree)deduplicate entry-finding logic
The logic for finding entries is duplicated 3 times.
Use
std::ops::ControlFlowfor simpler, callback-friendly code.std::path::Componenthas infallible conversion to&[u8]Instead of relying on a fallible path and using a default value,
we can convert directly between a
Componentand a&[u8].Chore (BREAKING)
prodashandcrosstermionto the latest version.This will fix the
cargo denyissue as it brings in a newerlrucrate.New Features (BREAKING)
alloc_init_bytesto handle untrusted inputThis breaking change is intended to force a decision about how
much memory allocation an untrusted party can command by tempering
with binary file formats.
imara-diff-v2with git sliders processingThe slider post-processing imrpoves the diff quality for about 8% slower diffs.
Line-counts, however, will be 50% faster to compute.
Other
New Features
This can be controlled via
gitoxide.objects.allocLimitIfReducedTrust.GIX_ALLOC_BYTESand pass them togix-odbfor reading untrusted inputsha256togixDocumentation
Commit Statistics
Commit Details
view details
f9fbcba)63b8419)0396152).gitmodulefiles through symlinks (52485a9)d2e193f)95b0399)alloc_init_bytesto handle untrusted input (91d0c26)alloc_limittests to validate limit for loose objects as well. (9473d32)alloc_limit_bytestogix-index(054494f)GIX_ALLOC_BYTESand pass them togix-odbfor reading untrusted input (acffd6b)392336f)7d50c30)d9b358b)gix-object(6df1d55)6f47e98)gix-traverse(a1bd845)2a5db88)e4f380e)imara-diff-v2with git sliders processing (8094f5d)444a92b)package.includepatterns more specific so they don't match ignored files (c2c917f)e51c40b)Category::to_full_name()to be able to produce any full name. (5b229c6)420c5df)6a5a0ec)refs/heads/HEADas branch name during repo initialisation (1adc44c)a298901)3542230)8a2b474)50fb46f)gix-config. (344218a)af1ad55)gix-config(7bda16a)ec66ceb)6b45cfa)Tree::peel_to_entry()peel to the final tree entry (and only if it's a tree) (7f77169)29c275e)b1102c2)de3f064)fc09ed2)b37fef1)700ad9e)df41a64)9a78ae2)3cf53e2)sha256togix(dce21dd)98bae84)7eb98cb)2ce6dde)std::path::Componenthas infallible conversion to&[u8](0e173d6)v0.81.0: gix v0.81.0Compare Source
Bug Fixes
$COMMON_DIR/info/excludeto make excludes work in worktrees.It turns out there is no per-worktree excludes file either.
gix::open::Permissionsnow can be compared, and addis_isolated()method.Chore (BREAKING)
prodashandcrosstermionto the latest version.This will fix the
cargo denyissue as it brings in a newerlrucrate.New Features
Repository::reopen()as quick way to reload all configuration and drop caches.sha1andsha256features togix.This way one can control which hashes are compiled in exactly,
while having reasonable defaults automatically.
Commit Statistics
Commit Details
view details
c389a2c)1a72380)gix::open::Permissionsnow can be compared, and addis_isolated()method. (c80fa4c)26d5197)Repository::reopen()as quick way to reload all configuration and drop caches. (f15911c)6183fd0)5213afe)6bdb331)e8bf096)sha1andsha256features togix. (3832916)gix-hash(e71c703)dad2a82)34d3c17)fa65501)72134f5)6a7287c)cargo macheteCI job including exclusions (abd0724)f7277f3)Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.