Skip to content
Snippets Groups Projects

big-brain Release Changelog

0.8.0 (2021-09-19)

Bug Fixes

  • systems: Fix steps, add a test and explicit systems ordering (#27) (f33315c9) (credit: @payload)

0.7.0 (2021-09-16)

Bug Fixes

  • deps: Don't include Bevy default features when used as a dependency. (#25) (61558137)

Features

  • license: change license to Apache-2.0 (d7d17772)
    • BREAKING CHANGE: This is a significant licensing change. Please review.

0.6.0 (2021-05-20)

Features

  • pickers: Make choices mod public (#23) (92034cd0)
  • scorers: Added EvaluatingScorer (#24) (1a1d5b3d)

Bug Fixes

  • actions: Concurrently was not setting its state to Failure (d4a689f6)

0.5.0 (2021-04-27)

Got a few goodies in this release, mainly focused around composite actions and scorers, which were apparently broken.

Shout out again to @piedoomy for some of these contributions!

Features

  • actions: Add new Concurrently composite action (6c736374)
  • evaluators: added inversed linear evaluator helper (#19) (f871d19e)
  • scorers: Added WinningScorer composite scorer (#20) (748b30ae)

Breaking Changes

  • scorers: Composite Scorers now all use .push() instead of a mixture of .push() and .when(). Please update any usages of composite scorers (63bad1fd

Bug Fixes

  • scorers:
    • Scorer builders now properly return themselves (63bad1fd
    • Fixed error where wrong component for SumOfScorers was attached (#21) (71fd05a6)

0.4.0 (2021-04-26)

Breaking Changes

  • score: scores are now 0.0..=1.0, not 0.0..=100.0 (71f5122e, breaks #)

Features

  • evaluators: Make all evaluators Clone (4d5a5121)

0.3.5 (2021-04-24)

Previously, if a Picker re-picked the same action, and that action had been set to Success or Failure, it would just keep running the action in that state until it was time to switch to a different one.

With this version, that behavior is changed, and Failure and Success actions that are re-picked will be respawned entirely (not even reused).

Cheers to @piedoomy on Discord for pointing out this weird behavior!

Bug Fixes

  • thinker: launch a new action when the current action is in an end state (80d23f2f)

0.3.4 (2021-04-23)

Welp. Turns out Thinkers were completely broken? This should work better :)

Bug Fixes

  • prelude: Export ThinkerBuilder from prelude (06cc03e1)
  • thinker:
    • disposed of ActiveThinker and circular state-setting (7f8ed12b)
    • Need to do proper ptr_eq comparison here (037a7c0d)

0.3.3 (2021-04-18)

This fixes an issue with more children being added to an Actor causing Thinkers to get clobbered in really annoying ways.

Bug Fixes

  • thinker: stop using the child/parent system for toplevel thinkers (db16e2f6)

0.3.2 (2021-04-17)

This is a quick bugfix. Shoutout to @ndarilek for finding this one and giving me a chance to debug it!

tl;dr: Bevy's hierarchy system requires that all children have Transform and GlobalTransform also attached, otherwise it just... kills them.

Bug Fixes

  • scorer: stop attaching duplicate scorers (10a6d022)
  • thinker: add Transform and GlobalTransform (ed3a7cb3)

0.3.1 (2021-04-14)

Just a quick release because I broke docs.rs :)

Bug Fixes

  • build: remove .cargo/config.toml to make docs.rs happy (393d9807)

0.3.0 (2021-04-14)

This is a major overhaul of the Bevy API. It removes .ron support altogether, in favor of plain old Rust builders.

Breaking Changes

  • The .ron Thinker definition API is gone. Use the ThinkerBuilder API instead.
  • The Action and Scorer derive macros are gone, including all of big_brain_derive.
  • Measures and Weights are gone.
  • big-brain no longer exports everything from the toplevel. Use big_brain::prelude::* instead.

Bug Fixes

Probably.

Features

  • New builder-based Thinker API!
  • Composite Scorers: FixedScore, AllOrNothing, and SumOfScorers.
  • Composite Action: Steps, for sequential Action execution.