error-stack version 0.6.0 has been release!
#7769
TimDiekmann
announced in
Announcements
Replies: 1 comment
-
|
Big fan! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What changed
Features
Reporthas been split intoReport<C>andReport<[C]>to distinguish between a group of related errors and a single error. These errors can still be nested. (#5047)unstableflag, which is used to enable unstable features, these features are not covered by semver and may be modified or removed at any time. (#5181)IntoReporttrait, which is used to determine when a type can be converted to aReport. This allows the usage of errors more idiomatically in traits, such astype Error: IntoReport. (#6738)Breaking Changes
attach[_lazy]toattach_opaque[_with]andattach_printable[_lazy]toattach[_with]. (#7753)Extendis no longer implemented byReport<C>, instead it is implemented onReport<[C]>, either useFromorReport::expandto convert betweenReport<C>intoReport<[C]>. (#5047)extend_onehas been renamed topushand is only implemented onReport<[C]>. (#5047)bail!(report,)has been removed, one must now usebail!(report). This is in preparation for the unstablebail!macro that allows to constructReport<[C]>. (#5047)Deprecations
Context: Usecore::error::Errorinstead (#5533)Result<T, C>: Usecore::result::Result<T, Report<C>>instead (#5533)report!, useIntoReport::into_reportinstead. (#6738)Full Changelog: https://github.com/hashintel/hash/compare/[email protected]@0.6.0
This discussion was created from the release [email protected].
Beta Was this translation helpful? Give feedback.
All reactions