Flecs v3.2.6
Highlights
- Realtime strategy game Tempest Rising uses Flecs!
- 20% performance increase for
add
/remove
operations when entity already has the component - Experimental new web tool and JavaScript API for working with the Flecs REST API
- Improved support and CI testing for MinGW targets
Release notes
This version includes the following bugfixes:
- Fix issue with queries and recycled component ids
- Fix JSON serializer issue where
serialize_alerts
is enabled but module is not imported - Fix meta bug where member count was ignored if explicit offset was provided (thanks @ZeroErrors!)
- Fix C++ compiler errors when using
ecs_map_t
macro API - Fix assert when serializing entity alerts for alert without message template
- Fix recursive cleanup issue for entities with multiple relationships to parent entity
- Fix C++ component hook registration issue when child type was registered before parent
This version includes the following improvements:
[c]
Fix inconsistencies between column index and type index in table API[c]
Fix naming inconsistencies in table API[cpp]
Fix inconsistencies between column index and type index inflecs::table
API[cpp]
Fix naming inconsistencies inflecs::table
API[cpp]
Addcomponent::member
overload that takes pointer to member (thanks @ZeroErrors!)[cpp]
Addconst
toflecs::string::size
andflecs::string::length
(thanks @yuyoyuppe!)[cpp]
Addworld::scope(const char*)
method (thanks @sasichkamega!)[meta]
Add support for packed structs (thanks @ZeroErrors!)[meta]
Remove unused size/alignment fromEcsMetaType
(thanks @ZeroErrors!)[rest]
Reduce amount of default enabled parameters for REST query endpoint[internals]
Simplify table data structures[internals]
Improve organization and naming of source files[doc]
Add note to FAQ about why (recycled) entity ids can be large[doc]
Add Tempest Rising to README[doc]
Add note on empty entities to cleanup order[ci]
Add msys/mingw builds to CI[ci]
Fix orphaned tests
Benchmark results
https://github.com/SanderMertens/ecs_benchmark/tree/e66a97d07528be158c1875b7193612904d203ef7
Breaking changes
- Table API changes (#466 (comment))
Known issues:
#844
#765
#714
#620
#478
#314
New Contributors
- @yuyoyuppe made their first contribution in #1019
- @sasichkamega made their first contribution in #1027
Full Changelog: v3.2.5...v3.2.6