Releases: rootcause-rs/rootcause
Releases · rootcause-rs/rootcause
v0.13.0
Immutable
release. Only release title and notes can be modified.
Added
&dyn Anyaccessors for contexts and attachments viacurrent_context_as_any(_mut)onReport/ReportRef/ReportMutandinner_as_any(_mut)onReportAttachment/ReportAttachmentRef/ReportAttachmentMut#151.- Added a compatibility module for error-stack v0.7 #169.
- Implement
Deref<Target = dyn Error>andAsRef<dyn Error>forReport,ReportRefandReportMut;Report<_, _, SendSync>targetsdyn Error + Send + Sync. May break type inference at someReport::new*call sites. #147, #149 - Doc examples for nearly all public functions #136.
Changed
- Moved the preformat functionality out of
rootcauseinto the newrootcause-preformatcompanion crate. Thepreformattedmodule, thepreformat*methods, and thedisplay_preformatted/debug_preformattedformatter-hook methods are removed; use thePreformat*ExtandContextTransformNestedExttraits from the new crate.AttachmentFormatterHook::preferred_formatting_styleandContextFormatterHook::preferred_context_formatting_stylenow take a concrete type instead ofDynamic. #148
Fixed
- Fixed cross-compilation support in
rootcause-backtraceby detecting the path separator fromLocation::caller()at compile time instead of from a build-script-recorded host constant #134.
v0.12.1
v0.12.0
Immutable
release. Only release title and notes can be modified.
Added
- Added support for formatting the error sources for a context #94.
- This adds new fields to the
ContextFormattingStyleand theDefaultReportFormatter.
- This adds new fields to the
- Added support for mutating attachments #113.
Changed
- The contexts and attachments will by default use the same formatter (
Display/Debug) as the one used to format the report. #116
Fixed
v0.11.1
Immutable
release. Only release title and notes can be modified.
Added
- Added a
OptionExttrait #92 - Added a
rootcause::Resulttype alias #91 - Added methods to get the type name of contexts and attachments #100
- Implements
CloneforBacktraceandDisplayforLocation#100 - Added
ReportMut::attachandReportMut::attach_custom#101 - Added a
rootcause-tracingcrate #102
Fixed
- Added
#[track_caller]to two functions that were missing them #89
v0.11.0
Immutable
release. Only release title and notes can be modified.
v0.10.0
v0.9.1
Immutable
release. Only release title and notes can be modified.
v0.9.0
Immutable
release. Only release title and notes can be modified.
Added
- Added a new
compatmodule added poulated it witheyreanderror-stackcompatibility #55 - Added a
format_with_hookmethod on reports to format a report using a specific hook #57
Changed
- Refactored the
anyhow_compatmodule into the newcompatmodule #55
Fixed
- Removed an unintentional dependency on triomphe with default-features turned on #61
v0.8.1
Immutable
release. Only release title and notes can be modified.
v0.8.0
Immutable
release. Only release title and notes can be modified.