mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 09:00:02 +00:00
Update changelog
This commit is contained in:
parent
042903df93
commit
dec958b058
3 changed files with 208 additions and 195 deletions
16
CHANGELOG.md
16
CHANGELOG.md
|
@ -10,6 +10,12 @@ The format is based on [Keep a Changelog][kac], and this project adheres to
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
- `[world]`:
|
||||
- 16% faster `world:get`
|
||||
- `[typescript]`
|
||||
|
||||
- Fixed Entity type to default to `undefined | unknown` instead of just `undefined`
|
||||
|
||||
- `[query]`:
|
||||
- Fixed bug where `world:clear` did not invoke `jecs.OnRemove` hooks
|
||||
- Changed `query.__iter` to drain on iteration
|
||||
|
@ -82,7 +88,6 @@ The format is based on [Keep a Changelog][kac], and this project adheres to
|
|||
- Changed `world:contains()` to return a `boolean` instead of an entity which may or may not exist
|
||||
- Fixed `world:has()` to take the correct parameters
|
||||
|
||||
|
||||
## [0.2.2] - 2024-07-07
|
||||
|
||||
### Added
|
||||
|
@ -111,8 +116,8 @@ The format is based on [Keep a Changelog][kac], and this project adheres to
|
|||
- Added user-facing Luau types
|
||||
|
||||
### Changed
|
||||
- Improved iteration speeds 20-40% by manually indexing rather than using `next()` :scream:
|
||||
|
||||
- Improved iteration speeds 20-40% by manually indexing rather than using `next()` :scream:
|
||||
|
||||
## [0.1.1] - 2024-05-19
|
||||
|
||||
|
@ -124,6 +129,7 @@ The format is based on [Keep a Changelog][kac], and this project adheres to
|
|||
## [0.1.0] - 2024-05-13
|
||||
|
||||
### Changed
|
||||
|
||||
- Optimized iterator
|
||||
|
||||
## [0.1.0-rc.6] - 2024-05-13
|
||||
|
@ -144,6 +150,7 @@ The format is based on [Keep a Changelog][kac], and this project adheres to
|
|||
- it is an idempotent function, so calling it twice and in any order should be fine
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed component overriding when in disorder
|
||||
- Previously setting the components in different order results in it overriding component data because it incorrectly mapped the index of the column. So it took the index from the source archetype rather than the destination archetype
|
||||
|
||||
|
@ -155,7 +162,9 @@ The format is based on [Keep a Changelog][kac], and this project adheres to
|
|||
- Added an arm to query `query:without()` for chaining invariants.
|
||||
|
||||
### Changed
|
||||
|
||||
- Separates ranges for components and entity IDs.
|
||||
|
||||
- IDs created with `world:component()` will promote array lookups rather than map lookups in the `componentIndex` which is a significant boost
|
||||
|
||||
- No longer caches the column pointers directly and instead the column indices which stay persistent even when data is reallocated during swap-removals
|
||||
|
@ -169,14 +178,17 @@ The format is based on [Keep a Changelog][kac], and this project adheres to
|
|||
## [0.0.0-prototype.rc.2] - 2024-04-26
|
||||
|
||||
### Changed
|
||||
|
||||
- Optimized the creation of the query
|
||||
- It will now finds the smallest archetype map to iterate over
|
||||
- Optimized the query iterator
|
||||
|
||||
- It will now populates iterator with columns for faster indexing
|
||||
|
||||
- Renamed the insertion method from world:add to world:set to better reflect what it does.
|
||||
|
||||
## [0.0.0-prototype.rc.2] - 2024-04-23
|
||||
|
||||
- Initial release
|
||||
|
||||
[unreleased]: https://github.com/ukendio/jecs/compare/v0.0.0.0-prototype.rc.2...HEAD
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
"ReplicatedStorage": {
|
||||
"$className": "ReplicatedStorage",
|
||||
"Lib": {
|
||||
"$path": "src"
|
||||
"$path": "jecs.luau"
|
||||
},
|
||||
"benches": {
|
||||
"$path": "benches"
|
||||
},
|
||||
"mirror": {
|
||||
"$path": "mirror"
|
||||
"$path": "mirror.luau"
|
||||
},
|
||||
"DevPackages": {
|
||||
"$path": "benches/visual/DevPackages"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@rbxts/jecs",
|
||||
"version": "0.4.0",
|
||||
"version": "0.4.1-rc.0",
|
||||
"description": "Stupidly fast Entity Component System",
|
||||
"main": "jecs.luau",
|
||||
"repository": {
|
||||
|
@ -18,6 +18,7 @@
|
|||
"types": "jecs.d.ts",
|
||||
"files": [
|
||||
"jecs.luau",
|
||||
"jecs.d.ts",
|
||||
"LICENSE.md",
|
||||
"README.md"
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue