Sync to released Jecs 0.7.2-nightly.20250628T001101Z (#108)

Reviewed-on: #108
This commit is contained in:
marked 2025-06-28 02:11:21 +02:00
parent 784f08c26c
commit 257f5da6fe
8 changed files with 1380 additions and 1174 deletions

View file

@ -2,6 +2,19 @@
## Unreleased
## 0.7.0
### Added
- `jecs.component_record` for retrieving the component_record of a component.
- `Column<T>` and `ColumnsMap<T>` types for typescript.
- `bulk_insert` and `bulk_remove` respectively for moving an entity to an archetype without intermediate steps.
### Changed
- The fields `archetype.records[id]` and `archetype.counts[id` have been removed from the archetype struct and been moved to the component record `component_index[id].records[archetype.id]` and `component_index[id].counts[archetype.id]` respectively.
- Removed the metatable `jecs.World`. Use `jecs.world()` to create your World.
- Archetypes will no longer be garbage collected when invalidated, allowing them to be recycled to save a lot of performance during frequent deletion.
- Removed `jecs.entity_index_try_get_fast`. Use `jecs.entity_index_try_get` instead.
## 0.6.1
### Changed

View file

@ -1,2 +1,2 @@
modified = ["README.md"]
version = "0.6.1-nightly.20250622T001116Z"
modified = ["CHANGELOG.md", "jecs.luau"]
version = "0.7.2-nightly.20250628T001101Z"

File diff suppressed because it is too large Load diff

View file

@ -3,7 +3,7 @@ includes = ["init.luau", "pesde.toml", "README.md", "CHANGELOG.md", "LICENSE", "
license = "MIT"
name = "marked/jecs_nightly"
repository = "https://git.devmarked.win/marked/jecs-nightly"
version = "0.6.1-nightly.20250622T001116Z"
version = "0.7.2-nightly.20250628T001101Z"
[indices]
default = "https://github.com/pesde-pkg/index"

View file

@ -3,7 +3,7 @@ includes = ["init.luau", "pesde.toml", "README.md", "CHANGELOG.md", "LICENSE", "
license = "MIT"
name = "marked/jecs_nightly"
repository = "https://git.devmarked.win/marked/jecs-nightly"
version = "0.6.1-nightly.20250622T001116Z"
version = "0.7.2-nightly.20250628T001101Z"
[indices]
default = "https://github.com/pesde-pkg/index"

View file

@ -1,2 +1,2 @@
passed = true
timestamp = "20250627T001106Z"
timestamp = "20250628T001103Z"

View file

@ -1,7 +1,10 @@
-------
7.2 us  2 kB│ delete children of entity
9.1 us  1 kB│ remove friends of entity
343 ns  0  B│ simple deletion of entity
6.9 us  0  B│ delete children of entity
8.8 us  1 kB│ remove friends of entity
335 ns  0  B│ simple deletion of entity
bulk
PASS│ 
repro
NONE│ 
@ -123,5 +126,5 @@
PASS│ #2
PASS│ #3
75/75 test cases passed in 32.905 ms.
76/76 test cases passed in 32.681 ms.
0 fails

View file

@ -5,4 +5,4 @@ license = "MIT"
name = "mark-marks/jecs-nightly"
realm = "shared"
registry = "https://github.com/UpliftGames/wally-index"
version = "0.6.1-nightly.20250622T001116Z"
version = "0.7.2-nightly.20250628T001101Z"