mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 09:30:03 +00:00
chore: Document these and previous changes in CHANGELOG.md
This commit is contained in:
parent
f0048e306e
commit
7b6c5ac85d
1 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,11 @@ The format is based on [Keep a Changelog][kac], and this project adheres to
|
||||||
- `[luau]`:
|
- `[luau]`:
|
||||||
- Exported Query
|
- Exported Query
|
||||||
- Improved types for the hooks `OnAdd`, `OnSet`, `OnRemove`
|
- Improved types for the hooks `OnAdd`, `OnSet`, `OnRemove`
|
||||||
|
- Expose `world:contains()` in `World` type and expose `query:drain()` in `Query` type
|
||||||
|
- Allow functions to accept any ID including pairs in type parameters
|
||||||
|
- Applies to `world:add()`, `world:set()`, `world:remove()`, `world:get()`, `world:has()` and `world:query()`
|
||||||
|
- New exported type `Id<T = nil> = Entity<T> | Pair`
|
||||||
|
- Make `world:contains()` return a `boolean` instead of an entity which may or may not exist
|
||||||
|
|
||||||
## [0.2.2] - 2024-07-07
|
## [0.2.2] - 2024-07-07
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue