New Features
- Add
oid::is_empty_tree()`` and
oid::is_empty_blob()`. - Add
Kind::empty_blob()`` and
Kind::empty_tree()`` methods.
New Features (BREAKING)
-
Add feature flag
sha1
and make it the default
Instead of providing a non-additive featureno_sha1
in the future,
if ever dependents want to build, say, a SHA-256 version only,
anticipate this today by requiring the featuresha1
. For now,
since this crate is useless without support for SHA-1, omitting
the featuresha1
results in a compile error. But in the future,
this error could be removed.Dependents that have
default-features = false
will see breakage,
and they will have to adjust todefault-features = false features = ["sha1"]
to recover.
Bug Fixes (BREAKING)
- Mark
enum ObjectId
as non-exhaustive
This will allow adding other variants, such as for SHA-256, without
breaking dependents.
Commit Statistics
- 16 commits contributed to the release over the course of 99 calendar days.
- 99 days passed between releases.
- 4 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- Merge pull request #2217 from GitoxideLabs/copilot/update-msrv-to-rust-1-82 (4da2927)
- Fixup Copilot commits and thank clippy (b188a7d)
- Merge pull request #2218 from GitoxideLabs/hash (feccdf8)
- Update MSRV to 1.82 and replace once_cell with std equivalents (6cc8464)
- Improve wording of compile error in gix-hash to better match existing uses (4a0b84a)
- Mark
enum ObjectId
as non-exhaustive (0625bb3) - Add feature flag
sha1
and make it the default (a183ed7) - Merge pull request #2202 from GitoxideLabs/dependabot/cargo/cargo-4a7155215a (9365cc3)
- Bump the cargo group across 1 directory with 64 updates (838ff95)
- Merge pull request #2166 from GitoxideLabs/copilot/fix-ffb06a30-3f53-4f82-94ed-51935d63da63 (b4812d9)
- Merge pull request #2165 from GitoxideLabs/copilot/fix-ceb7b1a4-93f5-4da1-a4f2-4290c8f594eb (772c434)
- Refactor (58e2d18)
- Add
oid::is_empty_tree()`` and
oid::is_empty_blob()`. (0f20e0a) - Refactor (41c40ad)
- Add
Kind::empty_blob()`` and
Kind::empty_tree()`` methods. (7fca001) - Merge pull request #2075 from GitoxideLabs/improvements (784c046)