Skip to content

Flecs 2.0.4 beta

Pre-release
Pre-release
Compare
Choose a tag to compare
@SanderMertens SanderMertens released this 25 Jun 09:40

This is a pre-release of v2.0. Do not use this release for production code. Bugs are to be expected. The purpose of this release is to help existing users migrate from v1.0 to v2.0.

This is a beta release, indicating that the public API for v2.0 is stable, unless indicated otherwise. Any headers under include/flecs/private are not part of the public API, and may be changed by patch & minor releases. Behavior changes may still occur as bugs are fixed and features are completed.

This release has the following new features:

  • Add ability to iterate scope with filter
  • Add ecs_get_child_count function
  • Allow for creating filtered snapshots & blobs by providing an iterator
  • Add ecs_set_time_scale function

This release implements the following improvements:

  • Allow parsing type expressions without asserting on error
  • Rename query sorting functions to sort_by and group_by
  • Improve test coverage
  • Remove inconsistencies in signatures between os API malloc, calloc and alloca
  • Remove variable masking warnings
  • Cleanup unused system declarations
  • Reorganize headers and source files to make it clearer which parts of the code are required, optional and part of the public API
  • improve file organization
  • fix cmake build

This release addresses the following issues:

  • Fix issue that could cause crash in map implementation
  • Fix issue where OnSet system could trigger on columns that are not owned
  • Remove references to UT_ macro's from bake.util
  • Replace TRUE and FALSE with true and false
  • Fix issue where new_from_path would add CHILDOF | 0 for entity in root

For a list of changes between v1 and v2 see the migration guide

Known issues:

  • OnSet systems are not invoked for tables created while staged
  • OnSet systems are not invoked when an overridden component is removed