chore(deps): update all dependencies #67
Open
+665
−337
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:
Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
actions/cache (actions/cache)
v4
Compare Source
actions/checkout (actions/checkout)
v4
Compare Source
actions/download-artifact (actions/download-artifact)
v4
Compare Source
actions/upload-artifact (actions/upload-artifact)
v4
Compare Source
dtolnay/anyhow (anyhow)
v1.0.86
Compare Source
ensure!
with non-literal after minus sign (#373)v1.0.85
Compare Source
ensure!
macro's rules to unblock some rustc pretty-printer improvements (#368, #371)v1.0.84
Compare Source
ensure!
through aNot
impl for a type that is notbool
(#367)v1.0.83
Compare Source
v1.0.82
Compare Source
v1.0.81
Compare Source
v1.0.80
Compare Source
v1.0.79
Compare Source
v1.0.78
Compare Source
v1.0.77
Compare Source
anyhow::Error::backtrace
available on stable Rust compilers 1.65+ (#293, thanks @LukasKalbertodt)v1.0.76
Compare Source
unsafe_op_in_unsafe_fn
lint (#329)rust-lang/futures-rs (futures)
v0.3.30
Compare Source
{BiLock,SplitStream,SplitSink,ReadHalf,WriteHalf}::is_pair_of
(#2797)FuturesUnordered::clear
(#2809)AsyncBufReadExt::fill_buf
(#2801, #2812)Byron/gitoxide (gix)
v0.63.0
: gix v0.63.0Compare Source
New Features
checkout respects options for
core.protectHFS
andcore.protectNTFS
.This also adds
gitoxide.core.protectWindows
as a way to enforceadditional restrictions that are usually only available on Windows.
Note that
core.protectNFS
is always enabled by default, just likeit is in Git.
Bug Fixes
empty paths as configured will not be an error with lenient configuration enabled.
When using
gix::open_opts(path, options.strict_config(false))
, emptycore.excludesFile
valueswill not cause an error anymore.
Note that in strict mode, the behaviour is unchanged so invalid configuration can rather be fixed
than ignored.
don't unwrap when reading possibly left-over bytes from pack-stream
Commit Statistics
Commit Details
view details
88a6a4e
)3c7b7b3
)9511416
)d6cd449
)cd4de83
)6f55f2a
)79dce79
)gix-ref
(d2ae9d5
)gix-index
(5f86e6b
)f961687
)fcc3b69
)bad9a79
)core.protectHFS
andcore.protectNTFS
. (886d6b5
)gix-worktree
(1ca6a3c
)3c21741
)d3588ca
)04ef31e
)git2
(5197b5a
)e791bc5
)977346e
)54ac559
)fe24c89
)41bf65a
)v0.62.0
: gix v0.62Compare Source
Please note that this release contains a security fix originally implemented in
gix-transport
via this PR which preventsssh
options to be smuggled into thessh
command-line invocation with a username provided to a clone or fetch URL.Details can be found in the advisory.
Bug Fixes
into_index_worktree_iter()
now takes an iterator, instead of a Vec.This makes the API more consistent, and one can pass
None
as well.
show submodules in status independently of their active state.
Even inactive submodules are shown in the status by
git status
,so
gix
should do the same.First observed in https://github.com/helix-editor/helix/pull/5645#issuecomment-2016798212
forward
curl
rustls feature fromgix-transport
to avoidcurl
ingix
.This removes the
curl
dependency just for configuring it, and removesa hazard which became evident with reqwest.
Bug Fixes (BREAKING)
topo
more similar toAncestors
, but also renameAncestors
toSimple
Commit Statistics
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
curl
rustls feature fromgix-transport
to avoidcurl
ingix
. (Byron/gitoxide@98cfbec)gix-traverse
(Byron/gitoxide@1cfeb11)topo
more similar toAncestors
, but also renameAncestors
toSimple
(Byron/gitoxide@2a9c178)gix-traverse
(Byron/gitoxide@6154bf3)into_index_worktree_iter()
now takes an iterator, instead of a Vec. (Byron/gitoxide@18b2921)is_path_excluded()
in documentation (Byron/gitoxide@c136329)gix-index
(Byron/gitoxide@1e1fce1)v0.61.1
: gix v0.61.1Compare Source
This release also updates
reqwest
to v0.12, bringing hyper 1.0 and a more recentrustls
version.Bug Fixes
Commit Statistics
Commit Details
view details
7018a92
)8fde62b
)curl
into a workspace package (adee500
)369cf1b
)3b34699
)f1bc4cd
)e1fec3c
)v0.61.0
: gix v0.61.0Compare Source
Documentation
New Features (BREAKING)
Repository::dirwalk_iter()
.That way, more copying happens but the usability increases tremendously as well.
It's breaking as public types moved from
repository::dirwalk
todirwalk
,dissolving
repository::dirwalk
entirely.Commit Statistics
Commit Details
view details
129ba3d
)41cd53e
)Repository::dirwalk_iter()
. (ba3f2db
)gix-dir
(b90ab3d
)4ccf39b
)c18734b
)e51b6b6
)v0.60.0
: gix v0.60.0Compare Source
New Features
gix status --index-worktree-renames
This enables rename-tracking between worktree and index, something
that Git also doesn't do or doesn't do by default.
It is, however, available in
git2
.commit::describe::Resolution::format_with_dirty_suffix()
Repository::is_dirty()
The simplest way to learn if the repository is dirty or not.
Submodule::status()
method.That way it's possible to obtain submodule status information,
with enough information to implement
git status
-like commands.Status
iterator.We also move the
IndexPersistedOrInMemory
type to theworktree
moduleas its more widely useful.
New Features (BREAKING)
diff::resource_cache()
now takes the attribute stack directly.That way, the constructor becaomes more versatile as the user can chose
to pass attribute stacks that have more functionality, and thus can be
used in more places.
Commit Statistics
Commit Details
view details
52c3bbd
)3e5c974
)3753592
)summary
available forItem
. (da45d92
)gix status --index-worktree-renames
(66e87cd
)status.showUntrackedFiles
to config-tree and use it instatus()
(22abf60
)f8ce3d0
)f1ba7bd
)17bef30
)commit::describe::Resolution::format_with_dirty_suffix()
(c7ddd30
)Repository::is_dirty()
(c20ad28
)4a4989d
)Submodule::status()
method. (a29fa00
)Status
iterator. (0330ad7
)diff::resource_cache()
now takes the attribute stack directly. (57cf83b
)v0.59.0
: gix v0.59.0Compare Source
New Features
Repository::dirwalk_with_delegate()
.That way it's possible to perform arbitrary directory walks,
useful for status, clean, and add.
open::Options::current_dir()
.That way it's possible to obtain the current working directory
with which the repository was opened.
New Features (BREAKING)
Otherwise it's not possible to have the 'no pattern matches everything' case
which is important in conjunction with prefixes and the requirement to
still see everything outside of the prefix.
Bug Fixes (BREAKING)
Commit Statistics
Commit Details
view details
f2e111f
)bb48c4c
)0b1b44f
)1e85396
)gix-dir
(ab0f63a
)e186199
)gix::clone::PrepareFetch::new
, crate_opts -> create_opts (adbf8e8
)gix-status
(366dfb3
)gix-dir
(e91accc
)a86a5c0
)b81d8ae
)face359
)Repository::dirwalk_with_delegate()
. (6914d1a
)open::Options::current_dir()
. (d8bd45e
)7b44c7f
)8430442
)8a62fb5
)b8cba96
)v0.58.0
: gix v0.58.0Compare Source
New Features
add
max-control
feature for fine-grained performance control.This also adds the following performance features:
zlib-ng
zlib-ng-compat
zlib-stock
parallel-walkdir
Bug Fixes
object::tree::diff::Platform::for_each_to_obtain_tree(callback)
errors are more convenient to use.Due to a change in how the generic error type is declared it should now be possible to
use
anyhow
with it as well.Commit Statistics
Commit Details
view details
object::tree::diff::Platform::for_each_to_obtain_tree(callback)
errors are more convenient to use. (e3c5a0f
)6a2e0be
)d8570d0
)max-control
feature for fine-grained performance control. (8847676
)5d176fc
)gix_fs::current_dir(precompose_unicode)
. (7d8d167
)gix-features
(eacb5a4
)env::args_os_opt()
which takes an argument to determine input unicode-decomposition (a7e606b
)b6c04c8
)39f35da
)3ef3bc2
)max-performance-zlib-ng-compat
flag (1ba9488
)cfb06ec
)v0.57.1
: gix v0.57.1Compare Source
Chore
change
rust-version
manifest field back to 1.65.They didn't actually need to be higher to work, and changing them
unecessarily can break downstream CI.
Let's keep this value as low as possible, and only increase it when
more recent features are actually used.
Commit Statistics
Commit Details
view details
8c492d7
)rust-version
manifest field back to 1.65. (3bd09ef
)v0.57.0
: gix v0.57.0Compare Source
Chore
Our MSRV follows the one of
helix
, which in turn follows Firefox.New Features
Repository::rev_parse*()
now supportsbranch@{upstream|push|u|p}
.Previously it would be parsed, but always error as the implementation didn't exist.
Now it will return the fetch and push tracking branches respectively.
Add
Reference::remote_tracking_ref_name()
and*::remote_ref_name()
.These methods mirror their respective
Repository::branch_*
prefixed versions.add
Repository::branch_remote_tracking_ref_name()
.add
push.default
config keyadd
config::Snapshot::trusted_program()
.That way it's possible to obtain an executable, program or script
from a key in the configuration that is in a trusted section of the
configuration.
This goes along with a new
command
feature that brings in thecommand
module at the top level to be able to execute such commands.
add
clone::PrepareFetch::with_in_memory_config_overrides()
.With it one can affect the repository configuration right before fetching.
New Features (BREAKING)
Repository::remote_names|remote_default_name()
now returnsCow<'_, BStr>
instead ofCow<'_, str>
.That way information won't degenerate due to enforcement of UTF-8.
Bug Fixes (BREAKING)
rename
Repository::branch_remote_ref()
toRepository::branch_remote_ref_name()
, adddirection
argument (also toRepository::branch_remote_name()
andRepository::branch_remote()
).This better differentiates the return value from the corresponding ref objects,
which would require the named ref to exist in the repository.
The
direction
argument allows to get the reference to push to as well.Further, it now takes a full ref name to support deriving the name of branches
to push to.
Regarding
Repository::branch_remote()
, previously, this functionalitywas only available from a
Reference
,but now it's more generally available with just a branch name.
The method was also adjusted to permit looking up non-symbolic remote
names, like remotes that are specified by their URL.
mark
gix::interrupt::init_handler()
as unsafeThe passed
interrupt()
argument will be called from a signalhandler, so that needs to be documented and the call sites need to
state that they fulfill the contract.
Thanks to @Manishearth for pointing this out.
Commit Statistics
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
view details
11c9f66
)8ef0538
)config::Snapshot::trusted_program()
. (3f84213
)2e04403
)e78a92b
)4454c9d
)aea89c3
)d38d1cc
)0fe20e8
)530c15d
)Repository::rev_parse*()
now supportsbranch@{upstream|push|u|p}
. (3fba5b8
)Reference::remote_tracking_ref_name()
and*::remote_ref_name()
. (270322e
)Repository::branch_remote_tracking_ref_name()
. (4aa4b05
)Repository::branch_remote_ref()
toRepository::branch_remote_ref_name()
, adddirection
argument (also toRepository::branch_remote_name()
andRepository::branch_remote()
). (404fde5
)Repository::remote_names|remote_default_name()
now returnsCow<'_, BStr>
instead ofCow<'_, str>
. (5c07c76
)push.default
config key (8ac2dcc
)cda5b51
)1691ba6
)c1cfe6e
)20dce42
)Executable
andProgram
(56d1d09
)core.editor
key (ff71e07
)7549559
)35439de
)b6f2b81
)98b08f4
)8dda069
)mailmap
keys and make a few improvements. (7f65ffd
)mailmap
keys (1bf3e88
)86c7fa1
)281fda0
)clone::PrepareFetch::with_in_memory_config_overrides()
. (b5c36b8
)9833b45
)4917beb
)c23bb87
)gix::interrupt::init_handler()
as unsafe (59b8104
)d77bc0e
)cd26fd8
)56588a9
)ec0211a
)v0.56.0
: gix v0.56.0Compare Source
New Features
gitoxide.core.externalCommandStderr
to allow enablingstderr
to the enclosing terminal.Previously, this was enabled by default, now it can additionally be disabled by
the caller.
gitoxide.credentials.helperStderr
key to control how stderr is handled with helpers.That way users can configure each repository instance according to their needs,
with which includes disabling the
stderr
of credential helpers.revision::Spec::path_and_mode()
Provide additional information about revspecs for use with
worktree filters.
diff.external
.That way it's conceivable that applications correctly run either
a configured external diff tool, or one that is configured on a
per diff-driver basis, while being allowed to fall back to
a built-in implementation as needed.
diff::resource_cache()
low-level utility for rapid in-memory diffing of combinations of resources.We also add the
object::tree::diff::Platform::for_each_to_obtain_tree_with_cache()
to pass a resource-cachefor re-use between multiple invocation for significant savings.
This value can by overriden by GIT_SSL_NO_VERIFY env variable. We use
the value to override http.sslVerify when specifying ssl_verify in
transport Options.
gitoxide.core.refsNamespace
key and respect theGIT_NAMESPACE
environment variable.It's also provided as context value.
verbose-object-parsing-errors
available ingix
.That way, it's easy to create programs that are geared towards
debugging repositories and finding invalid objects with detailed
errors.
gitoxide.credentials.terminalPrompt
key to represent the GIT_TERMINAL_PROMPTThat way, it's easy to control the usage of terminals without using and environment.
http-client-curl-rustls
(CLI) andblocking-http-transport-curl-rustls
(lib) features to avoid openssl.That way, we should be able to avoid crashes on certain CI configurations.
Head::try_into_peeled_object()
andHead::peel_to_object_in_place()
This makes it easier to peel to a specific object type, after
all tags have been followed, without having to assume an intermediate
commit.
Bug Fixes
assure the correct repository is used for checkouts after clone.
If this is not the case, it's possible for filters to run in the context of
potential parent repositories, which then can have all kinds of issues.
In case of
git-lfs
, for instance, it would try to download objectsfrom the wrong repository.
Allow multiple packs to be received one after another.
Previously it would be difficult to perform another fetch operation on the
same connection as the final flush packet after a pack wouldn't be consumed.
This has now been mitigated by consuming it in the one place where knoweldge
about this specialty exists.
don't use
trust-dns
by default when using request.It's reported to have issues under certain condition, please https://github.com/seanmonstar/reqwest/pull/437pull/437 for more.
The
blocking-http-transport-reqwest-rust-tls-trust-dns
feature was addedto provide the same feature-set as before for those who want
trust-dns
.V1 negotiation won't hang anymore
The logic previously tried to estimate when a pack can be expected,
and when a NAK is the end of a block, or the beginning of a pack.
This can be known because a pack (with our settings) needs two things:
done
sent by the clientNew Features (BREAKING)
object::blob::diff::Platform
now performs all necessary conversions.Previously it would just offer the git-ODB version of a blob for diffing,
while it will now make it possible to apply all necessary conversion steps
for you.
This also moves
Event::diff()
toChange::diff()
, addsRepository::diff_resource_cache()
and refactors nearly everythingabout the
objects::blob::diff::Platform
.generalize rename-tracking engine for later use with status.
Previously the rename tracking engine was integrated with tree-diffs,
but already operates in a stand-alone fashion.
Now it's officially generalized which allows it to be tested separately
and used when tracking renames for diffs between index and tree, index
and index, and index and worktree.
make it possible to trace incoming and outgoing packetlines.
Due to the way this is (and has to be) setup, unfortunately one
has to integrate that with two crates, instead of just one.
This changes touches multiple crates, most of which receive a single
boolean as last argument to indicate whether the tracing should
happen in the first place.
improve
head()
peeling APIPreviously it was partially untested and it was hard to obtain an object of choice.
Further breaking changes:
Head::peeled()
tointo_peeled_id()
Head::into_fully_peeled_id()
totry_peel_into_id()
Head::peel_to_id_in_place()
toHead::try_peel_to_id_in_place()
Bug Fixes (BREAKING)
GITOXIDE_*
environment variables toGIX_#
Adds a lifetime to the ExtendedBufRead trait to specify how long the
callback provided must live.
Commit Statistics
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
view details
6295dec
)trust-dns
by default when using request. (8d9296f
)gitoxide.credentials.terminalPrompt
key to represent the GIT_TERMINAL_PROMPT (e95bb9f
)SnapshotMut::set_value()
now sets values for keys in subsections as well. (d8452a0
)0b3eb14
)3ff1827
)c8568b9
)d3fd11e
)Configuration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.