Flecs v4.1.3
Highlights
- Improved RAM utilization (create fewer component records, reclaim more data from component vectors, smaller entity administration)
- A new Building Flecs manual!
Release notes
This version includes the following bugfixes:
[core]Fix issue with reparenting named ordered children[core]Fix issue withecs_ref_getandecs_shrink[core]Fix issue where order or instantiated prefab children could be wrong[core]Fix assert forDontFragmentrelationship during world cleanup[core]Fix issue with how dtors get called for types that don't support non-destructive moves (thanks @Watermelon914!)[os_api]Add missingWIN32_LEAN_AND_MEANbefore new windows.h include[queries]Fix assert when usingset_varfor query with one cascad term[meta]Fix corruption with deserializing into enum with non-32 bits underlying type
This version includes the following improvements:
[cpp]Allowset_ptrto be used for pairs (thanks @Reddy-dev!)[cpp]Addowns_second()andauto_override_second()methods (thanks @Reddy-dev!)[core]Don't always create(T, *),(*, T)component records (only create when used)[core]Don't create component record when registering trait[core]Don't create component record forChildOf[core]Prevent creation of(*, 0)component record[core]Reclaim component vectors to actual count instead of power of 2[core]Reclaim memory from map data structures onworld.shrink()[core]Reclaim memory from empty component records duringworld.shrink()[core]Remove redundant component record lookup in observable code[core]Add convenience macro's for iterating component records and queries[core]Remve redundantecs_map_params_ttype and functions[core]Remove redundantif (table)check in table cache[core]Remove redundant check on cache initialized inecs_table_cache_get[core]Removeecs_record_t::crfield[core]Increase the maximum size of error strings[core]Prevent modifications to map while iterating[core]Don't callflecs_notify_on_addwhen creating entity in root table[core]Addecs_is_defer_suspended()function[observers]Remove redundant check inflecs_emit[queries]Add traversal tests for(ChildOf, _)[queries]Add performance tracing toecs_query_init[os_api]Useecs_os_free()instead offree()inflecs_dump_backtrace()[stats]Track memory of new locked components map[docs]Add Rescue Ops: Wildfire to README[docs]Renamecustom_runnerexamples torun_callback[docs]Remove outdated references to.singleton()API[docs]Add new "Building Flecs" manual (previously on quickstart)
Breaking changes:
- None
New Contributors
- @Watermelon914 made their first contribution in #1874
Full Changelog: v4.1.2...v4.1.3