Add exclusive relations (#250)

* Add exclusive relationship

* Remove focus

* Remove whitespace

* Make ChildOf exclusive

* Test exclusive relation perf

* Inline into world:add

* Inline into world:set

* Fix benchmark of remove
This commit is contained in:
Marcus 2025-07-04 03:42:10 +02:00 committed by Ukendio
parent 13facc3719
commit b425150b0c

View file

@ -2,6 +2,20 @@
## Unreleased
### Added
- `jecs.Exclusive` trait for making exclusive relationships.
### Changed
- `jecs.Child` to be an exclusive relationship, which means you can only have one `ChildOf` pair on an entity.
## 0.7.2
### Added
- `jecs.entity_index_try_get_fast` back as to not break the observer addon.
### Fixed
- A linting problem with the types for `quer:with` and `query:without`.
## 0.7.0
### Added