mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +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]
|
## [Unreleased]
|
||||||
|
|
||||||
|
- `[world]`:
|
||||||
|
- 16% faster `world:get`
|
||||||
|
- `[typescript]`
|
||||||
|
|
||||||
|
- Fixed Entity type to default to `undefined | unknown` instead of just `undefined`
|
||||||
|
|
||||||
- `[query]`:
|
- `[query]`:
|
||||||
- Fixed bug where `world:clear` did not invoke `jecs.OnRemove` hooks
|
- Fixed bug where `world:clear` did not invoke `jecs.OnRemove` hooks
|
||||||
- Changed `query.__iter` to drain on iteration
|
- 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
|
- 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
|
- Fixed `world:has()` to take the correct parameters
|
||||||
|
|
||||||
|
|
||||||
## [0.2.2] - 2024-07-07
|
## [0.2.2] - 2024-07-07
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -111,8 +116,8 @@ The format is based on [Keep a Changelog][kac], and this project adheres to
|
||||||
- Added user-facing Luau types
|
- Added user-facing Luau types
|
||||||
|
|
||||||
### Changed
|
### 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
|
## [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
|
## [0.1.0] - 2024-05-13
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Optimized iterator
|
- Optimized iterator
|
||||||
|
|
||||||
## [0.1.0-rc.6] - 2024-05-13
|
## [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
|
- it is an idempotent function, so calling it twice and in any order should be fine
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fixed component overriding when in disorder
|
- 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
|
- 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.
|
- Added an arm to query `query:without()` for chaining invariants.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Separates ranges for components and entity IDs.
|
- 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
|
- 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
|
- 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
|
## [0.0.0-prototype.rc.2] - 2024-04-26
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Optimized the creation of the query
|
- Optimized the creation of the query
|
||||||
- It will now finds the smallest archetype map to iterate over
|
- It will now finds the smallest archetype map to iterate over
|
||||||
- Optimized the query iterator
|
- Optimized the query iterator
|
||||||
|
|
||||||
- It will now populates iterator with columns for faster indexing
|
- 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.
|
- 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
|
## [0.0.0-prototype.rc.2] - 2024-04-23
|
||||||
|
|
||||||
- Initial release
|
- Initial release
|
||||||
|
|
||||||
[unreleased]: https://github.com/ukendio/jecs/compare/v0.0.0.0-prototype.rc.2...HEAD
|
[unreleased]: https://github.com/ukendio/jecs/compare/v0.0.0.0-prototype.rc.2...HEAD
|
||||||
|
|
|
@ -12,13 +12,13 @@
|
||||||
"ReplicatedStorage": {
|
"ReplicatedStorage": {
|
||||||
"$className": "ReplicatedStorage",
|
"$className": "ReplicatedStorage",
|
||||||
"Lib": {
|
"Lib": {
|
||||||
"$path": "src"
|
"$path": "jecs.luau"
|
||||||
},
|
},
|
||||||
"benches": {
|
"benches": {
|
||||||
"$path": "benches"
|
"$path": "benches"
|
||||||
},
|
},
|
||||||
"mirror": {
|
"mirror": {
|
||||||
"$path": "mirror"
|
"$path": "mirror.luau"
|
||||||
},
|
},
|
||||||
"DevPackages": {
|
"DevPackages": {
|
||||||
"$path": "benches/visual/DevPackages"
|
"$path": "benches/visual/DevPackages"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@rbxts/jecs",
|
"name": "@rbxts/jecs",
|
||||||
"version": "0.4.0",
|
"version": "0.4.1-rc.0",
|
||||||
"description": "Stupidly fast Entity Component System",
|
"description": "Stupidly fast Entity Component System",
|
||||||
"main": "jecs.luau",
|
"main": "jecs.luau",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -18,6 +18,7 @@
|
||||||
"types": "jecs.d.ts",
|
"types": "jecs.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"jecs.luau",
|
"jecs.luau",
|
||||||
|
"jecs.d.ts",
|
||||||
"LICENSE.md",
|
"LICENSE.md",
|
||||||
"README.md"
|
"README.md"
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue