Flecs v4.0.3
Highlights
- None, just a lot of small improvements and bugfixes ๐
Release notes
This version includes the following bugfixes:
[cpp]Fix issue withmodified<R, T>where first type is a tag[cpp]Fix conflicting identifier between flecs and magic_enum library[cpp]Fix issue with reparenting module that is in root namespace[cpp]Disable incorrect msvc warning on enum reflection code[core]RemoveFLECS_APIin block_allocator.c which was causing linker errors (thanks @Indra-db!)[core]Fix crash if component and entity w/component are deleted in same cleanup operation[core]Fix linked list corruption in supporting data structure for Union relationships[core]Fix issue where union relationships weren't copied from prefab to prefab instance[core]Fix bug with component overriding for prefabs with union pairs[core]Avoid size integer overflow of command buffer vector during world cleanup (thanks @jpeletier!)[queries]Fix issue with queries that match empty tables and iterate individual entities[queries]Fix issue with evaluating queries withanywildcards that match multiple tables[queries]Fix issue where offset could be applied toNULLaddress[observers]Fix issue with yield_existing observers andnotterms[observers]Fix issue with getting field inOnSetobserver after removing override[observers]Fix issue where(OnInstantiate, Override)would not trigger OnSet observers[expr]Fix memory leak after failed multiline string assignment[json]Fix JSON serialization for auto_override/toggle components[json]Fix issue with serializing type info to JSON for sparse components[log]Fix issue whereecs_log_set_levelreturns wrong value[stats]Fix issue inflecs::statsmodule when globalMatchEmptyTablesflag is set[alerts]Fix brokenFLECS_NO_ALERTSmacro (thanks @pfeodrippe!)
This version includes the following improvements:
[cpp]Implementiter::targetsfor easy iteration of relationship targets for a field[cpp]Remove redundant call tostrcpyinecs_cpp_get_symbol_name[cpp]Enforce correct type when using*_secondoperations in entity, entity_view and entity_builder[queries]Return wildcard table records inecs_iter_t::trsforanywildcard terms[queries]Report errors for invalid usage ofcascadeanddescmodifiers[observers]Add yield_existing flags for customizing observer create/delete behavior[observers]Trigger events for optional observer terms[core]Addecs_world_get_flagsfunction[core]Escape separator characters in entity name when usingecs_get_path[core]Add option to escape characters for serialization in entity path[core]Implementecs_table_clear_entities(thanks @gsnook!)[meta]EmitOnSetafter modifyingEcsEnumcomponent (thanks @jpeletier!)[json]Fix issue with serializing queries that have large numbers of fields[json]Don't serialize baseDontInheritcomponents to JSON[rest]Include query plan used to populate cache in REST reply[http]Automatically test port range when creating HTTP server for multi-application support[doc]Add UUID to doc addon[docs]Add link to flecs raylib starter kit to documents[docs]Add Hyperion to README[docs]Add Age of Respair to README[docs]Fix incomplete sentence in query manual[docs]Fix find/replace errors in query manual[docs]Show how to use lookup functions in hierarchy examples[docs]Fix disabling typo in entity manual[docs]FixTermAtindexing in C# docs (thanks @deathbeam!)[docs]Rename Routine to System in C# docs (thanks @deathbeam)[docs]Fix comment typo in prefab example (thanks @Indra-db)[docs]Fix broken link in relationship manual[docs]Add note to prefab manual on how prefabs are only ignored for entities matched on$this[docs]Add missing , in migration guide[docs]Fix typo in scopes section of query manual[tests]Fix duplicate test case[build]Remove unnecessary version attribute from flecs bazel model definition (thanks @reutermj!)[ci]macOS CI improvements (thanks @waywardmonkeys!)
Breaking changes
ecs_get_path_w_sep_bufnow has an additionalescapeargument (#466 (comment))
New Contributors
- @deathbeam made their first contribution in #1395
Full Changelog: v4.0.2...v4.0.3