All Versions
3
Latest Version
Avg Release Cycle
19 days
Latest Release
1303 days ago
Changelog History
Changelog History
-
v2.3.2 Changes
February 23, 2021๐ Improvements
- replace iostream with initializer_list (C++ API, thanks @ikrima!)
- ensure entity::m_id is initialized to 0 (C++ API, thanks @ikrima!)
- use ecs_os_malloc instead of new (C++ API, thanks @ikrima!)
- โ remove superfluous copies of lambda functions (C++ API, thanks @ikrima!)
- โ add CHANGELOG (thanks @ikrima!)
๐ Bugfixes
- ๐ fix matching for queries with shared componnents when base entity is deleted
- ๐ fix various issues with component registration in C++
- ๐ fix issue with setting target FPS on Apple M1 (thanks @prime31!)
- ๐ fix issues with CMake file (thanks @Spacelm!)
- ๐ fix crash when creating & deleting queries
- guarantee that id returned by new_component_id is unused
-
v2.3.1 Changes
February 02, 2021๐ Improvements
- ๐ Improved lerp example
- โ Added OS API example C++ (thanks @mcmlevi!)
- โฌ๏ธ Upgraded cmake buildfiles (thanks @rawbby!)
- Clarified text in README describing API/ABI stability
๐ Bugfixes
- ๐ Fix crash when using overlapping UnSet systems
- ๐ Fix issue with passing incorrect row to UnSet systems
- โ Added .hpp files to cmake install
- ๐ Fixed issue with using get_mut with traits
-
v2.3.0 Changes
January 17, 2021Highlights
- ๐ Big performance improvements & reduced memory usage for applications with lots of tables, such as when using hierarchies
- Component enabling/disabling allows for quick component mutations without moving entities between archetypes
- ๐ New statistics addon for retrieving metrics from running world (replaces stats module)
Thanks to @randy408, @sh-dave, @kevinresol, @jasonliang-dev and @Alexandre-P-J for submitting PRs! ๐
โ Thanks to @ikrima and @jtferson for writing two awesome testimonials on using Flecs with Unreal Engine 4 ๐ :
Thanks to the new Flecs sponsors โค๏ธ :
- @Zifkan
- @TFlippy
- @Hexlord
๐ฅ Breaking changes
- calling ecs_get for a tag will no longer return NULL, but will assert
- ๐ statistics module is removed in favor of easier to use statistics addon
- ๐ unused table_offset member is removed from iterator
๐ Deprecated features
- ๐ ecs_entity() macro is now deprecated, use ecs_typeid()
๐ Features
- Direct access addon, which provides fast access to underlying storage
- โ Added singleton API to C++ world class
- โ Added orphaning for subqueries, which allows an application to check if a parent query still exists
- Added ecs_get_typeid function to get the component id for traits
- The type used for time keeping is now customizable
- ๐ New statistics addon for retrieving metrics from running world
- โ Added get_parent function that accepts entity/tag
- โ Added component enabling/disabling
- โ Added support for sorting on shared components
๐ Improvements
- ๐ Improved ecs_delete performance (reduced entity index accesses from 2 to 1)
- โ C & C++ code compiles warning-free with more warning flags, for more compiler versions & more platforms
- ๐ Improved error messages when application passes invalid entity id
- Made include paths relative so source code is easier to integrate with bazel
- ๐ Fixed typos in documentation
- ๐ Improve error message when trying to add 0 as base entity (using ECS_INSTANCEOF)
- โ Add check for conflicting source modifier in OR expressions
- ๐ Extended documentation, added new examples and fixed typos
- โ Removed dead/redundant code
- ๐ Improved performance of ecs_get
- โ Add sanitizer & custom builds to CI, remove Travis CI builds
- Don't add Name component when provided name for entity is NULL
- ๐ Allow flecs::system instances to be (re)created from entity id
- โ Added godbolt "try online" badge to README
- ๐ Improve allocation strategy of vector datastructure
- ๐ Improved performance for checking if entity id is a number
- โ Added missing query functions to C++ API for sorting
- ๐ Improved performance of table creation by two orders of magnitude
- โฌ๏ธ Reduced memory footprint of table graph by a factor 60
- โ Added example to demonstrate world merging with direct access API
- โ Added more inline documentation for datastructures
- โ Added assert when trying to instantiate child as instance
- ๐ Improve errors when invalid operation is invoked on iterator
- Throw assert when invoking ecs_modified on entity that does not have the component
- ๐ Allow for type lookups in systems, as long as the type already exists
- Add return types to ecs_defer_begin and ecs_defer_end to obtain defer status of world
- Remove redundant table_offset member from ecs_iter_t
- ๐ Improved portability of POSIX OS API example
๐ Bugfixes
- ๐ Fixed issues with subqueries and query rematching
- Corrected wrong return type of ecs_term_size (was ecs_entity_t, is now size_t)
- โ Add missing \0 when appending to application buffer with strbuf datastructure
- ๐ Fixed crash when instantiating an empty prefab
- ๐ Fixed issue with shared tags and queries using each() in the C++ API
- ๐ Fixed issue with instantiating empty child table
- Fixed issue with ecs_bulk_new and traits
- Fixed issue when using ecs_entity_str with small buffers
- ๐ Fixed bug when adding trait to entity with switch
- ๐ Fixed name conflicts in amalgamated source
- ๐ Fixed path lookup in ecs_import
- ๐ Fixed EXPORT macro's in OS API examples
- ๐ Fixed issue with restoring worlds that have recycled ids
- โ Added missing EXPORT macro's to API functions
- ๐ Fixed assert after deleting entities from restored world
- โ Removed obsolete assert from ecs_modified
- โ Added missing statement to finalize system in C++
- ๐ Fixed issues with removing case values
- ๐ Fixed issues in C++ API with implicit component registration
- ๐ Fixed assert when removing from switch list
- ๐ Fixed bug where obtaining type from entity would generate a new entity id
- ๐ Fixed incorrect description of ecs_delete in manual
- ๐ Fixed issues with custom builds