Learn what's changed on crates.io
MIT License
Published by Byron 3 days ago
Upgrade gix
to 0.63 and crates-index to use the same version of gix
that contain security fixes.
Published by Byron 7 months ago
gix
to v0.62gix
to v0.62 (6377d3d)Published by Byron 9 months ago
gix
to 0.58gix
to 0.58 (7044076)Published by Byron 10 months ago
A maintenance release without any API changes. The major version bump is just to signal the change
of the gix
dependency to version v0.57.
gix
to v0.57gix
to v0.57 (bc3a8a2)Published by Byron 12 months ago
gix
to 0.55.2deterministic order if multiple changes are applied in one modification.
This can happen if a crate is yanked and unyanked in one commit, which happens
in practice even though I am not sure how it's possible.
Related issue: https://github.com/rust-lang/docs.rs/issues/2295
gix
to 0.55.2 (e8b2c90)gix
versions are synced in the entire tree. (8576bc7)Published by Byron about 1 year ago
upgrade to gix
v0.54 (from v0.50)
This may produce smaller binaries.
Further, no performance option is set anymore to leave this in the hands of
the final binary.
gix
v0.54 (from v0.50) (34d3510)VersionDeleted
variant. (959c566)Published by Byron over 1 year ago
gix
to v0.48
split Change::Delete
into Change::VersionDeleted
and Change::CrateDeleted
.
This resolves an ambiguity (facilitated by incorrect documentation) that would emit
Change::Delete
when a single version was deleted, even though downstream that would
rightfully be interpreted as deleting the whole crate.
Adimittedly, previously there were no single-version deletions, just yanks, so we didn't
think of it either.
Change::Delete
into Change::VersionDeleted
and Change::CrateDeleted
. (2c59dd4)gix
to v0.48
(9946196)Published by Byron over 1 year ago
gix v0.47
(from v0.45).gix v0.47
(from v0.45). (f726287)Published by Byron over 1 year ago
Published by Byron over 1 year ago
gix
from v0.37 to v0.44.gix
version within the tree.gix
from v0.37 to v0.44. (b00ca99)Progress
. (c3d5518)Published by Byron over 1 year ago
DependencyKind
publicly accessibleDependencyKind
publicly accessible (8d7b7b6)Published by Byron over 1 year ago
git-repository
to gix
git
to gix
as wellgit-repository
to gix
(8082588)Published by Byron almost 2 years ago
Index::peek_changes_ordered()
now actually provides ordered changes.Index::peek_changes_ordered()
now actually provides ordered changes. (44a5579)Published by Byron almost 2 years ago
correctly configure 'serde' features of dependencies.
Due to surprising an to me still quite unclear behaviour cargo
will turn on the serde
features in the hex
and smartstring
dependencies when building it locally from a repository clone,
but won't do it when building the crates-io version of the crate
after adding it as dependency.
This fixes the issue by correctly configuring it the serde
feature.
Published by Byron almost 2 years ago
This release adds support for obtaining changes in the correct order by automatically looking at changes one commit at a time
while handling squashed indices gracefully. It take about 20 seconds to catch up with all commits done in the crates index for
2 whole days and takes much longer than a similar unorderd acquisition of changes, but should be well worth it in situations
where changes are fetched more often than that.
The baseline validation to assure correctness was improved to also assert the yanked
state of crates. Furthermore, it is
regularly run by CI, on the real crates-index, and in a more realistic manner mixing both unordered and ordered change requests.
The API is mostly the same, but has a few breaking changes to deal with order selection.
Last but not least, the user can now configure the HTTP backend to use, which allows for a pure-Rust
build as well.
allow to configure the http transport layer in git-repository
.
This way the user of the library has a choice to activate any of these
features:
crates-index-diff
operates as it should against abaseline-atomic
test.yanked
status.Support for in-order changes via changes_between_ancestor_commits()
.
This improvement also makes available an enum to select Order
in higher-level methods like peek_changes_with_options()
.
We also add peek_changes_ordered()
and changes_ordered()
for convenience.
git-repository
. (c3cff88)baseline-atomic
test. (81c6dd2)yanked
status. (4dd4a4c)changes_between_ancestor_commits()
. (133f2f5)Published by Byron almost 2 years ago
A massive release that increases performance up to 10x for diffing repositories[^1] and correctness at the same time. This release
wouldn't have been possible without the herculean efforts of Pascal Kuthe and I am grateful
for his contribution. Thank you!
[^1]: Needs to build with git-repository/max-performance
and setup a pack cache, for example with GITOXIDE_PACK_CACHE_MEMORY=1g <you-application>
a max-performance
feature to tune git-repository
.
The performance difference is rather drastic at about 2.5x, and
definitely worth having if there is no compatibility issue
due to shared C dependencies in the same binary.
Additionally we setup the makefile to use big object caches
to avoid having to decompress the same object too often, accelerating
the diffing process about 4x, for a total of 10x performance boost.
Change::Deleted
variant now has versions
field to include all deleted versions.
That way it doesn't degenerate any information, previously the exact
version information was lost.
Not doing so helps to be able to reproduce the current state by
aggregating all changes.
CrateVersion
type and sub-types.Clippy helped 1 time to make code idiomatic.
Change::Deleted
variant now as versions
to include all deleted versions. (b538ad6)CrateVersion
type and sub-types. (f9be536)max-performance
feature to tune git-repository
. (6f5b12a)Published by Byron almost 2 years ago
assure differences are handled exhaustively.
Previously it was possible to have multiple diffs in one crate
distributed over multiple commits to rightfully show up as multiple
hunks of modified and added lines only register the modified lines,
not the new ones (or the deleted ones for that matter).
This would cause updates or removals to be missed.
Now hunks of changes are exhaused properly, fixing the issue.
Clippy helped 1 time to make code idiomatic.
Published by Byron almost 2 years ago
imara-diff
for performance, but also to get off the broken git-repository
v0.25 release.imara-diff
(5573529)git-repoitory v0.26
, fail to make diff compile. (3f47ec3)Published by Byron about 2 years ago
init::Error2
to init::Error
.init::Error2
to init::Error
. (a6975ce)