Releases: zkat/big-brain
v0.22.0
v0.21.1
v0.21.0
v0.20.0
v0.19.0
Features
- set_unchecked: Add
set_unchecked
method toScore
(#78) (e179cb53) - bevy: Migrated to Bevy 0.12 (#86) (69c3a4a5)
- bevy: Update to bevy 0.12.1 (#87) (6befa384)
- thinker: make ThinkerBuilder be Clone (2e493d6b)
- generics: support generic actions (#88) (7f5a3845)
Bug Fixes
- despawn: don't try to despawn if an entity doesn't exist (bdf51c32)
v0.18.0
v0.17.0
v0.16.0
Probably the biggest change in this release is removal of the blanket
ActionBuilder
and ScorerBuilder
implementations for Clone
types. This is
a fairly significant breaking change, but one that is fairly easy to resolve:
simply use the new #[derive(ActionBuilder)]
and #[derive(ScorerBuilder)]
macros to derive the necessary implementations for your Action and Scorer
Components and you should be good to go.
Features
- derive: Add derive macros for Action and Scorer (#65) (359bccef)
- BREAKING CHANGE: This gets rid of the blanket implementation for Action/ScorerBuilder on Clone things, and instead requires that people use derive macros (or manually implement the traits), if they want to go the clone-to-instantiate route.
- concurrenty: Add ConcurrentMode configuration to Concurrently Action (#68) (f6d04feb)
- reflection: Implement Reflect trait for all relevant types (#69) (31543c78)
Bug Fixes
v0.15.0
v0.14.0
This is a fairly beefy release. The two main changes are the addition of
significant new observability features, which let you debug/trace both
big-brain and your own Scorers and Actions more easily in an integrated
manner. Additionally, a new advanced composite Scorer was added,
MeasuredScorer, which can be used to create some interesting behaviors when
you have want to factor in multiple scorers when adding cases to Thinker.
Besides that, there's several bugfixes to long-standing bugs and a couple of
other features.
Enjoy!
Features
- entities: Rename ActionEnt and ScorerEnt to Action and Scorer (43f37959)
- BREAKING CHANGE: These are externally-exported, so you'll have to rename them yourself, too
- tracing: add tracing support for Thinker/Action/Scorer (#55) (a32bc01d)
- BREAKING CHANGE: In the process of doing this,
spawn_action
andspawn_scorer
were moved out ofActionBuilder
andScorerBuilder
traits, respectively. This will likely affect any user-side composite actions and scorers. Usescorers::spawn_scorer
andactions::spawn_action
instead.
- BREAKING CHANGE: In the process of doing this,
- thinker: Add support for scheduling one-off Actions on a Thinker (#57) (382d2014)
- measures: Implement MeasuredScorer and some initial measures (#54) (c6a6c5c9)
Bug Fixes
- actions,scorers: Transform/GlobalTransform are no longer needed for hierarchies. (df10f034)
- tracing: fix warnings and wrong cfg feature name (5ff39632)
- thinker:
otherwise
clause no longer overrides running action (#56) (849ab346)- BREAKING CHANGE: This patch changes the behavior for
otherwise
such that it won't override an existing action if it's still running, but it'll still execute as soon as that action finishes. I think this is really what people expect this to do, so let's give it a shot!
- BREAKING CHANGE: This patch changes the behavior for
- tracing: drop action span scope before spawning next action (ee899e4a)