Releases: hashintel/hash
Releases · hashintel/hash
error-stack@0.5.0
What changed
Features
- Capture
source()
errors when convertingError
toReport
(#4678)
Breaking Changes
Backtrace
s are not included in thestd
feature anymore. Instead, thebacktrace
feature is used which is enabled by default (#4685)- Remove deprecated
IntoReport
(#4706)
New Contributors
Full Changelog: https://github.com/hashintel/hash/compare/error-stack@0.4.1...error-stack@0.5.0
error-stack@0.4.1
error-stack@0.4.0
error-stack@0.3.1
error-stack@0.3.0
What's Changed
Breaking Changes
Features
- Add initial serializing support using
serde
(#1290) - Support
Debug
hooks onno-std
platforms via thehooks
feature (#1556) - Support converting
Report
intoError
viaReport::as_error
andReport::into_error
(#1749) - Support converting
Report
intoBox<dyn Error>
via theFrom
trait (#1749) - Programmatic selection of color mode and charset used for
Debug
output (#1800)
error-stack@0.2.4
error-stack@0.2.3
error-stack@0.2.2
error-stack@0.2.1
What's Changed
- Make image link in README.md absolute by @TimDiekmann in #1153
error-stack@0.2.0
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)