Repository navigation
v0.4.0
Changes
New Features
add `wrap_with_path` helper to `Failure` ebc88c6
Convenience method for the common pattern of wrapping an error with
only path context, reducing boilerplate inmap_errcalls.
add `Failure` diagnostic error type behind `miette` feature b3c3791
Add
Failure<T>wrapper implementingmiette::Diagnosticfor rich error
reporting with support for help text, URLs, codes, severity, and related
diagnostics. Additional context is displayed in the help section using
▷prefix for visual distinction from the error chain.
- Add
wrapandwrap_withhelpers for ergonomicmap_errusage- Make miette an optional dependency behind
miettefeature flag- Remove unused
serde_yamldependency- Update CI to test with
--all-featuresand align caching with flat_db
Dependencies
update dependencies 6143453
update colored to v3.0.0 7fc8551
Documentation
add missing docs and fix incorrect defaults dc3d60e
- Add module doc to
src/errors/mod.rs- Add docs to
from_levelandto_level_filterinVerbosity- Fix
log_time_formatdefault:utc→local- Remove unused
type ErrorfromColorstrait
add documentation to all public items 354ebe0
Refactor
Warning
Breaking Change: make `log` and `colored` dependencies optional behind `log` feature 8ba96f1
Move logging-related code into src/logging/ module gated behind
the log feature. Move error code into src/errors/ module.
When the log feature is disabled, only the Error type is available.
When enabled (default), full logging functionality with Logger,
LoggerBuilder, Verbosity, TimeFormat, and Colors is available.
Tests
expand test coverage from 7 to 34 tests with insta snapshots 5df6ba9
- Add tests for builder, colors, logger, options, time_format, verbosity
- Use insta for snapshot testing of serialization and color output
- Move tests to
src/tests/module structure- Force truecolor mode in tests for consistent ANSI codes across environments
CI
align workflow with gazelle_api conventions 91c80db
- Pin runner to ubuntu-24.04
- Rename artifact to
release-notes.md(lowercase)- Simplify
if:condition syntax- Add
git-tagjob for pre-release versions- Simplify
github-releaseto only run for stable releases