- Bumped bevy version to
0.13
Major Breaking release.
- Removed all deprecated methods
- Remove
#[quick_sysfail]
in favor of#[sysfail(Ignore)]
- Remove support for
Option<()>
. Consider replacingoption?
byoption.ok(())?
- Replace the
log = "foo"
syntax byLog<ErrorType, Foo>
. - Automatically add return type to system. This means that you should remove
the return type from your
#[sysfail]
systems. Failure
is now a trait on the error type returned by the#[sysfail]
system, rather than the whole return type.Failure
now has an associated type:Param
. It allows accessing arbitrary system parameters in the error handling code.- Renamed
FailureMode
toDedup
. - Now
bevy_mod_sysfail
directly depends onbevy
, rather than its subcrates - Added the
full
features, enabled by default. Disabling removes thebevy
dependency, to only depend onbevy_ecs
, but at the cost of removing theLog
Failure
definition. - Added the
Emit
Failure
, which sendsErr
s as bevyEvent
s. - Added
LogSimply
, a variant ofLog
that works withoutRes<Time>
- Added example showing how to extend with your own behavior the
Failure
trait. - Added the system name to the log message's "target" field (by default, this is the bit of text before the "ERROR" colored text)
- Added
#[exclusive_sysfail]
, works like#[sysfail]
but is fully supported by exclusive systems. It only supportsFailure
s whereParam = ()
- fix macro dependency of the non-macro crate
- Now the module reported in the error message is the one the system is in
- Deprecated
OverrideLevel
and other runtime logging levels, this makes implementation much easier - Breaking: Now, runtime logging levels are completely ignored.
- Breaking: The default error level for
&str
andOption
stuff has been set toerror
. - Remove the
darling
dependency - Update
syn
to version 2, this reduces cold compile times
Breaking: Update to bevy 0.11
Breaking: Update to bevy 0.10
Allow usage of mutable queries (oops)
Update to bevy 0.9