mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
This commit is contained in:
parent
9d17a479e5
commit
9021d04e1e
3 changed files with 5 additions and 70 deletions
2
.luaurc
2
.luaurc
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"languageMode": "strict",
|
||||
"lint": { "BuiltinGlobalWrite": false, "UnknownGlobal": false },
|
||||
"globals": [ "aa" ]
|
||||
"globals": []
|
||||
}
|
||||
|
||||
|
|
|
|||
67
CHANGELOG.md
67
CHANGELOG.md
|
|
@ -8,71 +8,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||
|
||||
---
|
||||
|
||||
## [0.4.0] - 2023-01-26
|
||||
|
||||
### Added
|
||||
|
||||
- Component grouping and `Registry:group()`.
|
||||
- Method `View:use()`.
|
||||
- Constant `ecr.null`.
|
||||
|
||||
### Removed
|
||||
|
||||
- Method `View:include()` and `Observer:include()`.
|
||||
|
||||
### Fixed
|
||||
|
||||
- `Registry:add()` not firing `Registry:added()` signals.
|
||||
- Mismatch between argument list and values returned in multi-typed observers.
|
||||
- Observers not garbage collecting after calling `Observer:disconnect()`.
|
||||
|
||||
### Improved
|
||||
|
||||
- Connection firing speed by ~70%.
|
||||
|
||||
---
|
||||
|
||||
## [0.3.0] - 2023-01-09
|
||||
|
||||
### Added
|
||||
|
||||
- Overload for `Registry:create()` to create an entity with a given identifier.
|
||||
|
||||
### Changed
|
||||
|
||||
- Registry signals no longer pass the registry as the first argument to listeners.
|
||||
- Observers no longer track entities with removed components.
|
||||
- Method `Registry:entities()` now creates and returns an array of only valid entities.
|
||||
- Function `ecr.registry()` can no longer pre-allocate memory.
|
||||
|
||||
### Removed
|
||||
|
||||
- Method `Registry:capacity()`.
|
||||
|
||||
### Improved
|
||||
|
||||
- Double-type view iteration speed by ~100%.
|
||||
|
||||
---
|
||||
|
||||
## [0.2.0] - 2022-12-08
|
||||
|
||||
### Added
|
||||
|
||||
- Method `View:include()` and `Observer:include()`.
|
||||
- Method `Registry:patch()`.
|
||||
- Method `Registry:add()` and optional default parameter for `ecr.component()`.
|
||||
|
||||
### Changed
|
||||
|
||||
- Behavior `for ... in View do` now behaves the same as `for ... in View:each() do`.
|
||||
- Signal diconnect API (Signal now returns a connection object to call disconnect on).
|
||||
|
||||
### Improved
|
||||
|
||||
- Entity creation and release speed by ~100%.
|
||||
- Multi-type view iteration speed by ~60%.
|
||||
|
||||
## [0.1.0] - 2022-11-16
|
||||
## [0.1.0] - 0000-00-00
|
||||
|
||||
- Initial release
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "centau/ecr"
|
||||
description = "A fast, lightweight Luau ECS library."
|
||||
version = "0.4.0"
|
||||
name = "centau/vide"
|
||||
description = ""
|
||||
version = ""
|
||||
registry = "https://github.com/UpliftGames/wally-index"
|
||||
realm = "shared"
|
||||
include = ["src", "LICENSE.md", "default.project.json"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue