Skip to content

bones_ecs-v0.3.0

Compare
Choose a tag to compare
@zicklag zicklag released this 14 Jan 01:42
· 97 commits to main since this release
c44170a

Documentation

  • update changelogs.

New Features

  • upgrade to Bevy 0.10.
  • make Entity::new() public.
    This is important for use cases where you need to manually
    serialize/load an entity ID.
  • make insert_stage_before/after() chainable.
  • add get_many_mut() method to CompMut.
    This allows you to mutably borrow the component for multiple entities
    at the same time, which was otherwise difficult, unsafe, or inefficient
    to do previously.

Bug Fixes

  • change type bound for Res from Default to FromWorld.
  • export FromWorld publicly and make compatible with Res/ResMut system parameters.
  • fix insert_stage_before/after always inserting before/after PreUpdate.
  • fix returned component order in get_many_mut().
    get_many_mut() was previously not returning the components
    in the same order as the entities list.

New Features (BREAKING)

  • add from_world implementation similar to Bevy.
    Allows resources to be added with either a Default implementation,
    or a custom FromWorld implementation that allows them to derive their,
    value from any other data currently in the world.

Commit Statistics

  • 10 commits contributed to the release over the course of 126 calendar days.
  • 133 days passed between releases.
  • 10 commits were understood as conventional.
  • 10 unique issues were worked on: #115, #122, #124, #78, #79, #88, #90, #92, #93, #94

Commit Details

view details
  • #115
    • change type bound for Res from Default to FromWorld. (3a3f05a)
  • #122
  • #124
  • #78
    • add get_many_mut() method to CompMut. (147ebc8)
  • #79
    • fix returned component order in get_many_mut(). (7bfcf5d)
  • #88
    • fix insert_stage_before/after always inserting before/after PreUpdate. (3f06116)
  • #90
    • make insert_stage_before/after() chainable. (7c578b4)
  • #92
    • add from_world implementation similar to Bevy. (00110c2)
  • #93
    • make Entity::new() public. (db98f76)
  • #94
    • export FromWorld publicly and make compatible with Res/ResMut system parameters. (1335457)