Skip to content

Flecs v3.1.2

Compare
Choose a tag to compare
@SanderMertens SanderMertens released this 14 Dec 10:01
· 1037 commits to master since this release
784c994

Highlights

  • The Flecs explorer can now edit component values!
  • Systems can now be registered with an OnStart phase which is ran only in the first frame

Release notes

This version includes the following bugfixes:

  • Fix issue with C++ bitmask binding (type must now inherit from flecs::bitmask)
  • Fix issue where use_low_id was not set by ECS_COMPONENT
  • Fix issues with invoking ctor/move/dtor when merging tables
  • Fix issue where observer could be invoked for wrong table
  • Fix invalid read in multithreaded app after pipeline rebuild
  • Fix race condition between pipeline worker and no_readonly system
  • Fix issue where term with wildcard pair & self flag would not iterate all permutations
  • Fix issue where get_mut<First, Second> would always return First*

This version includes the following improvements:

  • [cpp] Add missing const to flecs::world methods
  • [cpp] Add missing const to flecs::entity_view methods
  • [cpp] Change argument type of run_pipeline to flecs::entity_t
  • [cpp] Add observer::query method
  • [pipeline] Refactor of pipeline code
  • [pipeline] Add OnStart phase for systems that are ran only at startup
  • [rest] Add set endpoint for remotely setting component values
  • [rest] Add delete endpoint for remotely deleting an entity
  • [internals] Add debugging instrumentation to allocator
  • [internals] Remove redundant code
  • [internals] Add missing tests for get pair operations
  • [internals] Split off entity filter code (union relationships/bitsets) from query iterator code

Known issues:
#844
#765
#714
#620
#478
#314