Changed (BREAKING)
-
replace
maybe-asyncwithbisync.
Replace the globally feature-selected maybe-async dependency with bisync 0.3 and
re-export the locally selected macro mode from gix-protocol.Also use it to deduplicate portions which previously couldn't be handled.
-
adapt to lifetime-free configuration files in
gix-config
Update repository configuration storage, snapshots, overrides, and caches
to use the self-containedgix_config::Filerepresentation. Configuration
can now move through repository initialization, cloning, and remote setup
without artificial input lifetimes or conversions to'static.- Return owned
BString,PathBuf,OsString, andFullNamevalues
from configuration-derived lookups. - Simplify fallible optional access from
Option<Result<T, E>>to
Result<Option<T>, E>, allowing errors to propagate naturally with
?. - Accept common string and byte-string inputs through
AsBStrin
configuration setters, converters, remote lookup, and remote saving. - Remove widespread
Cowconstruction,into_owned(), and redundant
cloning from configuration consumers. - Preserve configuration-key context when converting owned values and
enriching validation errors.
Adapt config-tree conversions for the new owned values and optional-result
shape, including booleans, integers, paths, URLs, refspecs, timeouts,
compression levels, and reference names.Return owned remote names, default remote names, branch tracking
references, and submodule paths so these results are independent of the
repository configuration borrow. Protocol feature values likewise use
owned strings.Update repository opening, initialization, cloning, remotes, filters,
status, submodules, and related tests to use the lifetime-free APIs. - Return owned
Commit Statistics
- 15 commits contributed to the release.
- 31 days passed between releases.
- 2 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
view details
- Uncategorized
- Update changelogs prior to release (cb6ec7d)
- Release gix-trace v0.1.21, gix-validate v0.11.3, gix-path v0.12.3, gix-utils v0.3.5, gix-config-value v0.19.0, gix-prompt v0.16.0, gix-sec v0.14.2, gix-url v0.37.0, gix-credentials v0.39.0, safety bump 18 crates (f0ec710)
- Merge pull request #2728 from GitoxideLabs/try-bisync (adf4b7a)
- Deduplicate fetch I/O across async and blocking modes (2619919)
- Replace
maybe-asyncwithbisync. (c3f2244) - Merge pull request #2722 from GitoxideLabs/reasons (c16b5a1)
- Replace lint allowances with expectations (43ff87a)
- Merge pull request #2667 from GitoxideLabs/lifetime-free-config-parser (55b5158)
- Adapt to changes in
gix-config(376e946) - Adapt to lifetime-free configuration files in
gix-config(582d7b5) - Merge pull request #2714 from GitoxideLabs/fix-credentials-parsing (cf3053a)
- Release gix-path v0.12.2, gix-error v0.2.5, gix-utils v0.3.4, gix-date v0.15.6, gix-url v0.36.2, gix-credentials v0.38.2 (27aec47)
- Merge pull request #2702 from ameyypawar/fix/2694-exn-source-chain (e9c973d)
- Thanks clippy (d533f0c)
- Merge pull request #2646 from GitoxideLabs/report (1b1541e)