New Features
- FullNameRef::file_name()
- Add file::Store::find_packed(…, buffer)
This makes the API complete as now there is a methods that uses the
internal buffer, or the provided one, where both can have its benefits. - add Reference::peel_to_id_in_place_packed() and Reference::follow_packed()
This allows a stable/non-changing buffer to be used.
Bug Fixes
- support Rust 1.52
Changed (BREAKING)
- Required
object_hash
as parameter when instantiating any Store
This is needed to choose the correct kind of object hash in a couple of
situations, and future-proofs it for when ref-table arrives. - remove
Target::must_exist()
It was a remainder of an old API which since has been replaced
with a more explicit approach. - remove pack-cache from
Find::try_find(…)
With the new architecture this can be an implementation detail without
forcing it to be Sync. - move git_pack::data::Object to git_object::Data, massively alter git_odb::Find trait
This will break a lot, but has to happen to prepare these traits for the
next generation of object databases.
Commit Statistics
- 26 commits contributed to the release over the course of 55 calendar days.
- 55 days passed between releases.
- 8 commits where understood as conventional.
- 5 unique issues were worked on: #263, #266, #279, #293, #298
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
view details
- #263
- Don't unnecessarily reload the packed-refs buffer under contention (3ab990e)
- Use a read-lock until mutation is needed, instead of upgradable rw locks (58294dd)
- refactor (e41ab82)
- Add file::Store::find_packed(…, buffer) (f6181af)
- add Reference::peel_to_id_in_place_packed() and Reference::follow_packed() (03bcac2)
- #266
- #279
- #293
- git-ref uses memmap2 (4dec3ea)
- #298
- FullNameRef::file_name() (28e3251)
- Uncategorized
- Release git-odb v0.26.0, git-packetline v0.12.3, git-url v0.3.5, git-transport v0.15.0, git-protocol v0.14.0, git-ref v0.11.0, git-repository v0.14.0, cargo-smart-release v0.8.0 (42ebb53)
- Release git-diff v0.13.0, git-tempfile v1.0.4, git-chunk v0.3.0, git-traverse v0.12.0, git-pack v0.16.0, git-odb v0.26.0, git-packetline v0.12.3, git-url v0.3.5, git-transport v0.15.0, git-protocol v0.14.0, git-ref v0.11.0, git-repository v0.14.0, cargo-smart-release v0.8.0 (1b76119)
- Release git-actor v0.8.0, git-config v0.1.10, git-object v0.17.0, git-diff v0.13.0, git-tempfile v1.0.4, git-chunk v0.3.0, git-traverse v0.12.0, git-pack v0.16.0, git-odb v0.26.0, git-packetline v0.12.3, git-url v0.3.5, git-transport v0.15.0, git-protocol v0.14.0, git-ref v0.11.0, git-repository v0.14.0, cargo-smart-release v0.8.0 (8f57c29)
- Release git-features v0.19.1, git-actor v0.8.0, git-config v0.1.10, git-object v0.17.0, git-diff v0.13.0, git-tempfile v1.0.4, git-chunk v0.3.0, git-traverse v0.12.0, git-pack v0.16.0, git-odb v0.26.0, git-packetline v0.12.3, git-url v0.3.5, git-transport v0.15.0, git-protocol v0.14.0, git-ref v0.11.0, git-repository v0.14.0, cargo-smart-release v0.8.0 (d78aab7)
- Release git-hash v0.9.1, git-features v0.19.1, git-actor v0.8.0, git-config v0.1.10, git-object v0.17.0, git-diff v0.13.0, git-tempfile v1.0.4, git-chunk v0.3.0, git-traverse v0.12.0, git-pack v0.16.0, git-odb v0.26.0, git-packetline v0.12.3, git-url v0.3.5, git-transport v0.15.0, git-protocol v0.14.0, git-ref v0.11.0, git-repository v0.14.0, cargo-smart-release v0.8.0, safety bump 4 crates (373cbc8)
- prepar changelogs for cargo-smart-release release (8900d69)
- support Rust 1.52 (42e0487)
- Release git-bitmap v0.0.1, git-hash v0.9.0, git-features v0.19.0, git-index v0.1.0, safety bump 9 crates (4624725)
- thanks clippy (7dd2313)