chore: Document these and previous changes in CHANGELOG.md

This commit is contained in:
Mark Marks 2024-08-29 18:46:23 +02:00
parent f0048e306e
commit 7b6c5ac85d

View file

@ -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