diff --git a/README.md b/README.md index f56910c..f91773c 100644 --- a/README.md +++ b/README.md @@ -1220,7 +1220,7 @@ builder_mt:destruction_policy :: id -> builder # Changelog -## vX.X.X +## v1.2.0 - Added the new [`evolved.name`](#evolvedname-1) function - Added the new [`evolved.multi_spawn`](#evolvedmulti_spawn) and [`evolved.multi_clone`](#evolvedmulti_clone) functions @@ -1345,7 +1345,7 @@ function evolved.commit() end ```lua ---@param components? table ----@return evolved.entity +---@return evolved.entity entity function evolved.spawn(components) end ``` diff --git a/ROADMAP.md b/ROADMAP.md index 64755da..22d102d 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -5,7 +5,6 @@ - Improve the performance of required fragments by caching first-level required chunks. - Improve the performance of builders that are used multiple times by caching hint chunks. - Queries can cache major chunks to avoid finding them every time. -- Add multi-spawn to the builder to spawn multiple entities at once. - Add a function to shrink storages to free unused memory. - observers and events - add INDEX fragment trait diff --git a/evolved.lua b/evolved.lua index 92ea0c3..629c29a 100644 --- a/evolved.lua +++ b/evolved.lua @@ -1,7 +1,7 @@ local evolved = { __HOMEPAGE = 'https://github.com/BlackMATov/evolved.lua', __DESCRIPTION = 'Evolved ECS (Entity-Component-System) for Lua', - __VERSION = '1.1.0', + __VERSION = '1.2.0', __LICENSE = [[ MIT License diff --git a/rockspecs/evolved.lua-1.2.0-0.rockspec b/rockspecs/evolved.lua-1.2.0-0.rockspec new file mode 100644 index 0000000..35dcf4a --- /dev/null +++ b/rockspecs/evolved.lua-1.2.0-0.rockspec @@ -0,0 +1,34 @@ +rockspec_format = "3.0" +package = "evolved.lua" +version = "1.2.0-0" +source = { + url = "git://github.com/BlackMATov/evolved.lua", + tag = "v1.2.0", +} +description = { + homepage = "https://github.com/BlackMATov/evolved.lua", + summary = "Evolved ECS (Entity-Component-System) for Lua", + detailed = [[ + `evolved.lua` is a fast and flexible ECS (Entity-Component-System) library for Lua. + It is designed to be simple and easy to use, while providing all the features needed to create complex systems with blazing performance. + ]], + license = "MIT", + labels = { + "ecs", + "entity", + "entities", + "component", + "components", + "entity-component", + "entity-component-system", + }, +} +dependencies = { + "lua >= 5.1", +} +build = { + type = "builtin", + modules = { + evolved = "evolved.lua", + } +}