See the blog post on the new release >
What changed?
Breaking Changes
- Set the MSRV to 1.63 (#944)
- Use
Provider
API fromcore::any
(#697) - Remove the unused features
hooks
,futures
, andfutures-core
(#695, #1138)
Features
- Support backtraces on non-nightly channels starting with 1.65.0-beta (#1098)
- Add support for
core::error::Error
on nightly (#1038) - Add support for
Error::provide()
(#904) - New output for Debug (#794)
- New hook interface for Debug (#794)
- Add support for related errors and multiple error sources (#747)
- Add compatibility for
anyhow
andeyre
to convert their types intoReport
(#763) - Implement
Termination
forReport
(#671) Report::set_debug_hook
andReport::set_display_hook
no longer return an error (#794)
Deprecations
IntoReport::report
: UseIntoReport::into_report
instead (#698)Report::backtrace
: UseReport::downcast_ref::<Backtrace>
(non-nightly),Report::requested_ref::<Backtrace>
(nightly) instead (#747)Report::span_trace
: UseReport::downcast_ref::<SpanTrace>
(non-nightly),Report::requested_ref::<SpanTrace>
(nightly) instead (#747)Frame::source
: UseFrame::sources
instead (#747)Frame::source_mut
: UseFrame::sources_mut
instead (#747)Report::set_debug_hook
: UseReport::install_debug_hook
instead (#794)Report::set_display_hook
(#794)
Internal improvements
- Greatly reduce the amount of
unsafe
code (#774)