New Features
Permission::is_allowed()
as convenience methodPermissions::check_opt()
for those who don't need an error case.
Changed (BREAKING)
- remove
Perrmission::fmt()
(Display)
It was somewhat specific to being printed in the error scenario, and
not general purpose at all. permission::Error<R>
with only one generic parameter
As this error is only used forPermission
, it's clear that it
contains aPermission
instance.- remove
thiserror
optional feature.
It's now included by default even though it's only used for a single
error type.
The reasoning is thatgit-sec
is used within a tree that uses
thiserror
anyway, so no need to optimize compile times for the case
where it doesn't. - Remove
Access
without replacement.
It's a clear case of over-engineering and it didn't prove to be useful
at all.
Commit Statistics
- 18 commits contributed to the release over the course of 21 calendar days.
- 27 days passed between releases.
- 6 commits were understood as conventional.
- 2 unique issues were worked on: #450, #470
Commit Details
view details
- #450
Permission::is_allowed()
as convenience method (fe24b41)- remove
Perrmission::fmt()
(Display) (33f8b92) - Manually implement
permission::Error
to save onthiserror
dependency. (b42a64d) permission::Error<R>
with only one generic parameter (51c721c)Permissions::check_opt()
for those who don't need an error case. (515e521)- remove
thiserror
optional feature. (ac3823d) - refactor (129bc87)
- Remove
Access
without replacement. (0f0bca3)
- #470
- update changelogs prior to release (caa7a1b)
- Uncategorized
- make fmt (429cccc)
- Merge branch 'index-from-tree' (172f73c)
- Merge branch 'git_date_relative' (83a3832)
- Merge branch 'main' into filter-refs-by-spec (9aa1d3d)
- Merge branch 'main' into filter-refs-by-spec (1f6e5ab)
- Merge branch 'main' into filter-refs-by-spec (51dc828)
- Merge branch 'main' into filter-refs-by-spec (56ba481)
- Merge branch 'main' into filter-refs-by-spec (a36c05d)
- Release git-path v0.4.2, git-config-value v0.7.0 (c48fb31)