Releases: Ukendio/jecs
Releases · Ukendio/jecs
Jecs v0.2.6
What's Changed
- Add has function by @Ukendio in #85
- Fix column pointers invalidated by upvalues by @Ukendio in #88
- Add
with
function to query. by @Ukendio in #86 - Add archetypes method by @Ukendio in #89
- Put separate pages into navigation bar by @Ukendio in #90
- Add pages to docs by @Ukendio in #92
- Example by @Ukendio in #93
Full Changelog: v0.2.5...v0.2.6
Jecs v0.2.5
What's Changed
- Add timeout to CI workflow by @EncodedVenom in #80
- Improve workflows and use dedicated install luau script for CI by @EncodedVenom in #81
- Bump install-luau script (v1 -> v2.1) by @EncodedVenom in #82
Full Changelog: v0.2.4...v0.2.5
Jecs v0.2.4
What's Changed
- Fixed regression in Without by @Ukendio in #72
- Add Issue and PR templates by @EncodedVenom in #73
- Start Work on Documentation by @EncodedVenom in #74
- Fix docs formatting by @EncodedVenom in #75
- Add skip to testkit by @Ukendio in #77
- Add Continuous Integration by @EncodedVenom in #76
- Rework tests by @Ukendio in #78
- Fix map comparison being inverted by @Ukendio in #79
Full Changelog: v0.2.3...v0.2.4
Jecs v0.2.3
What's Changed
- Sync typescript types (v0.2.2) by @EncodedVenom in #65
- Update default.project.json path by @EncodedVenom in #71
- Add null query unit tests by @EncodedVenom in #69
- Fix EmptyQuery to properly return an empty iterator by @EncodedVenom in #70
- Add world.clear to types by @EncodedVenom in #68
Full Changelog: v0.2.2...v0.2.3
v0.2.2
Jecs v0.2.1
What's Changed
- Rename Matter -> Jecs in release workflow by @EncodedVenom in #60
- Added
jecs.Component
built-in component which will be added to ids created withworld:component()
.- used to find every component id with `query(jecs.Component)
Full Changelog: v0.2.0...V0.2.1
Jecs v0.2.0
[email protected]
- Improved iteration speeds 20-40% by manually indexing rather than using
next()
- Added
world:parent(entity)
andjecs.ChildOf
respectively as first class citizen for building parent-child relationships. - Give a parent to an entity with
world:add($source, pair(ChildOf, $target))
- Use
world:parent(entity)
to find the target of the relationship. - Use this if all you want to do is to prevent an entity from being matched against entity as opposed to
world:delete(entity)
. - Added luau types thanks to @alicesaidhi
Jecs v0.1.1
What's Changed
- Added Typescript Types by @EncodedVenom in #51
- Fix styling and add missing types by @kalrnlo in #53
- Rename files to luau by @Ukendio in #54
- Added typescript types thanks to @EncodedVenom
- Added
world:clear(entity)
for removing the components to the corresponding entity
New Contributors
- @EncodedVenom made their first contribution in #51
- @kalrnlo made their first contribution in #53
Full Changelog: v0.1.0...V0.2.0
Jecs v0.1.0
Jecs v0.1.0 is now available!
Jecs v0.1.0-rc.6
Basically just added a wildcard term which lets you query any partially matched pairs
world:set(bob, pair(Eats, Apples), 10)
world:set(alice, pair(Eats, Oranges), 4)
for e, amount in world:query(pair(Eats, Wildcard)) do
print(`{getName(e)} eats {amount} fruits`)
end
--[[
bob eats 10 fruits
alice eats 4 fruits
]]
Install with Wally: ukendio/[email protected]
Full Changelog: v0.1.0-rc.5...v0.1.0-rc.6