Skip to content

Releases: zkat/big-brain

v0.19.0

19 Jan 22:25
acaadd9
Compare
Choose a tag to compare

Features

Bug Fixes

  • despawn: don't try to despawn if an entity doesn't exist (bdf51c32)

v0.18.0

19 Jan 22:17
4e203b7
Compare
Choose a tag to compare

Features

v0.17.0

06 Mar 21:13
96af624
Compare
Choose a tag to compare

Features

v0.16.0

30 Jan 07:00
16c0643
Compare
Choose a tag to compare

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

  • typo: fix scorer argument name (#63) (5be71335)
  • derive: some tweaks to new derive macros (4a622a90)

v0.15.0

30 Jan 06:59
fec56c9
Compare
Choose a tag to compare

Features

Bug Fixes

  • spans: Make ActionSpan::new() private (4486af1d)
    • BREAKING CHANGE: This function was previously public, but it was never meant to be used.

v0.14.0

25 Sep 04:47
f4664f8
Compare
Choose a tag to compare

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 and spawn_scorer were moved out of ActionBuilder and ScorerBuilder traits, respectively. This will likely affect any user-side composite actions and scorers. Use scorers::spawn_scorer and actions::spawn_action instead.
  • 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!
  • tracing: drop action span scope before spawning next action (ee899e4a)

v0.13.0

21 Sep 20:01
c9c3887
Compare
Choose a tag to compare
  • scorers: make ScorerEnt public (#50) (9e6d7f63)
  • scorers: make FixedScore members pub (#49) (f0ddb9e5)
  • picker: Implement a Highest Picker (#52) (4b48f94d)
  • scorers: Add ProductOfScorers composite scorer (#51) (e425e234)
  • actions: make ActionEnt public, too (fc30e752)
  • prelude: Add ScorerEnt and ActionEnt to the prelude (08b0598b)

v0.12.0

21 Sep 20:01
dd1f6ed
Compare
Choose a tag to compare

Features

v0.11.0

05 May 15:42
1c281b3
Compare
Choose a tag to compare

Features

v0.10.0

15 Jan 06:58
2513b29
Compare
Choose a tag to compare

This is my first pass at a significant API improvement. I iterated on it for a
while and this is what I settled on. I look forward to continuing to evolve
this API as I get more feedback and experience with it! Please let me know
what you think!

Breaking Changes

  • thinker: stop cancelling actions when they go under Picker thresholds (4c72b3d1)
  • stages: Strongly typed stages for BigBrainPlugin (65ca646e)
  • builders: Blanket impls for ActionBuilder and ScorerBuilder when Clone (8bed75b5)
  • api: rename attach and hide it from docs (6c64df4f)
  • choice: return &Choice instead of cloning (a76dcbb6)

Features

  • example: update thirst example (edecc4c9)

Bug Fixes

  • hierarchy: make sure all the hierarchy stuff is set up properly (372c13e2)
  • tests: update tests (94e1b1f6)