Releases: Byron/crates-index-diff-rs
v11.1.2
Bug Fixes
-
make fetches work again by using safe-performance mode of
git-repository
.
This fixes the 'zlib stream broken' issue when fetching crates.io
changes which was caused bygit-repository
configuring for
max-performance by default, which affects a crate used bygit2
as
well. For some reason, changing tozlib-ng
as backend wasn't taken
kindly bylibgit2
causing it to fail after a short while of receiving
a pack from the remote.The fix avoids making such modifications to the zlib crate, allowing
both crates,git-repository
andgit2
to co-exist in the same
dependency tree.
Commit Statistics
- 6 commits contributed to the release.
- 1 day passed between releases.
- 1 commit was understood as conventional.
- 0 issues like '(#ID)' where seen in commit messages
Commit Details
view details
- Uncategorized
- Merge branch 'fix-zlib-stream-error' (ac83e7a)
- make fetches work again by using safe-performance mode of
git-repository
. (23a66b9) - refactor (e93f1c6)
- Upgrade to latest git2 version (7616db2)
- properly parameterize script so it's obvious what is what (02f715e)
- Make test-lookup independent of prior commits (4b7fc6e)
v11.1.1
Bug Fixes
-
Consider all crates yanked if 'yanked = true'.
Previously, due to a missing test, a bug snuck in that would assume
that all lines in an added files must be new versions, marking them
asChange::Added
. This ignored the fact that any line could also
carry a yanked crate, misrepresenting them.This is now fixed, and yanked crates generally show up as
Change::Yanked
.One might take this as a hint that diffentiating by yank status might
not be that useful after all as it doesn't scale that well. Maybe
a future version changes howChange
is represented.
Commit Statistics
- 2 commits contributed to the release.
- 1 day passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #19
Commit Details
v11.1.0
New Features
-
make the name of the remote configurable.
This is primarily used in testing and we try even harder to make it fail
to deal with squashed remote references, but it seems to work fine.For good measure, now using
+
in the refspec to assure it forces
an update.
Bug Fixes
- assure refs can be reet when fetching to support squashing.
Previously tests didn't replicate this, now they do.
Commit Statistics
- 4 commits contributed to the release over the course of 1 calendar day.
- 1 day passed between releases.
- 2 commits where understood as conventional.
- 1 unique issue was worked on: #16
Commit Details
v11.0.0
Changed (BREAKING)
-
Use
gitoxide
Repository
instead ofgit2::Repository
This comes with plenty of changes to the API of the
last_seen_reference()
and to the lower-level methods that take
object ids (nowgit::hash::ObjectId
.Note that
git2
is still used internally for fetching and cloning.
This change was made to assure that at no time there are two open
repositories (once for git2, once forgitoxide
), as this has the
potential to double resource usage for file handles. -
move
CloneOptions
intoindex
module.
Theindex
module is now public for that reason.
Commit Statistics
- 38 commits contributed to the release over the course of 1 calendar day.
- 97 days passed between releases.
- 2 commits where understood as conventional.
- 1 unique issue was worked on: #16
Thanks Clippy
Clippy helped 2 times to make code idiomatic.
Commit Details
view details
- #16
- update to latest release of
gitoxide
(23e14af) - and normalization works now (eb148e5)
- first stab at normalization can reduce 245 version, but… (ae3f971)
- adapt to changes in git-repository (68ff142)
- remove git2 verion of the diff algorithm (371b512)
- refactor (3749220)
- refactor (7cee17e)
- all diff-tests pass like before (9ba7921)
- handle modifications and yanks (3416414)
- handle entire crate deletions as well (eadc65f)
- first sketch of addition is working (55d71dc)
- frame for diffing (cd86f5b)
- refactor (fa9cfab)
- Use
gitoxide
Repository
instead ofgit2::Repository
(2d3a182) - port all old tests to the new fixture (272bec8)
- test for auto-clone (8a1bc25)
- remove redundant tests (45494f0)
- test for peek changes (61e217a)
- refactor (aeb6f45)
- use most recent git version of gitoxide for now (6dadfb7)
- thanks clippy (ebacafd)
- normalization test (877b519)
- add more tests for typical operations (56bfad7)
- first successful test for addition (365bcf0)
- simplify CI.yml (c0295c5)
- fix fixture script (0efccd4)
- first test can instantiate an
Index
on the new fixture (f9e31f2) - add support for git-lfs to support archives (9a2ce43)
- build git repository from parts (d28591b)
- also add commit-message information (7e85688)
- refactor (0c77e40)
- refactor (78e05bd)
- re-enable and fix doc-tests (946ca4c)
- move
CloneOptions
intoindex
module. (07f4b6c) - refactor (ecd84eb)
- a script to create an index fixture (9a5f312)
- update to latest release of
- Uncategorized
v10.0.0
New Features (BREAKING)
-
Add support for detecting deleted crates.
Previously there was no need to do that as deletions couldn't happen -
crates are yanked instead.Now that the ecosystem experienced its first (known) supply-chain attack
crates can also be deleted and we should be able to detect that to allow
downstream users to act on this automatically.
Bug Fixes
- update version in usage example
Commit Statistics
- 9 commits contributed to the release over the course of 84 calendar days.
- 85 days passed between releases.
- 2 commits where understood as conventional.
- 0 issues like '(#ID)' where seen in commit messages
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
view details
- Uncategorized
- prepare changelog prior to release (cc19788)
- Assure tests run serially without needing --jobs 1 (2701f5c)
- Merge branch 'syphar-handle-crate-delets' (aba9087)
- thanks clippy (df91215)
- disallow Rust 2018 idioms for clearer code (220b943)
- Add support for detecting deleted crates. (3831937)
- Upgrade makefile for better auto-docs (0301da5)
- refactor logic to handle crate-deletes (40655bd)
- update version in usage example (d273245)
v9.0.0
- Upgrade to
git2
v0.14, a BREAKING change. In order to use this release, assure that other dependencies also usegit2
v0.14.
Commit Statistics
- 6 commits contributed to the release.
- 12 days passed between releases.
- 0 commits where understood as conventional.
- 0 issues like '(#ID)' where seen in commit messages
Commit Details
view details
- Uncategorized
- update changelog; bump major version (997ea73)
- ignore certain tests fo now until new hashes are found that work (e78694f)
- Revert "see if this special case fixes tests" (5af8ec4)
- prep for renaming 'master' to 'main' (e228d92)
- see if this special case fixes tests (f00226b)
- upgrade git2 to 0.14.0 (448eec7)
v8.0.1
- Only download the master branch on clone, not all branches, to greatly reduce the initial download size from nearly 800MB to just about 100MB.
Commit Statistics
- 3 commits contributed to the release.
- 197 days passed between releases.
- 0 commits where understood as conventional.
- 0 issues like '(#ID)' where seen in commit messages