Skip to content

Releases: isaac-mason/arancini

@arancini/systems@6.6.0

01 May 14:03
4bcb8df
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • Updated dependencies [d82e4aa]
    • @arancini/core@6.6.0

@arancini/react@6.6.1

01 May 14:47
1987d37
Compare
Choose a tag to compare

Patch Changes

  • 1d7fa8c: fix: don't include react/jsx-runtime in bundle
  • 6c28156: fix: add babel preset @babel/preset-react
    • @arancini/core@6.6.1

@arancini/react@6.6.0

01 May 14:03
4bcb8df
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • Updated dependencies [d82e4aa]
    • @arancini/core@6.6.0

@arancini/events@6.6.1

01 May 14:47
1987d37
Compare
Choose a tag to compare
@arancini/events@6.6.1

@arancini/events@6.6.0

01 May 14:03
4bcb8df
Compare
Choose a tag to compare

Minor Changes

@arancini/core@6.6.1

01 May 14:47
1987d37
Compare
Choose a tag to compare

Patch Changes

  • @arancini/events@6.6.1

@arancini/core@6.6.0

01 May 14:03
4bcb8df
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • Updated dependencies [d82e4aa]
    • @arancini/events@6.6.0

arancini@6.5.0

20 Feb 08:17
636f67d
Compare
Choose a tag to compare

Minor Changes

  • 68cb2b8: feat: remove world.id and world.entity

    Computing ids based on object identity is easy to do in userland if required. See below:

    let entityIdCounter = 0;
    const entityToId = new Map<E, number>();
    const idToEntity = new Map<number, E>();
    
    const getEntityId = (entity: E) => {
      let id = entityToId.get(entity);
    
      if (id === undefined) {
        id = entityIdCounter++;
        entityToId.set(entity, id);
      }
    
      return id;
    };
    
    const getEntityById = (id: number) => idToEntity.get(id);
  • 68cb2b8: feat: remove query.destroy(), use world.destroyQuery instead

Patch Changes

  • 68cb2b8: feat: normalize 'not' conditions
  • 68cb2b8: fix: return correct type from world.create
  • 68cb2b8: feat: minor refactors for iteration performance
  • Updated dependencies [68cb2b8]
  • Updated dependencies [68cb2b8]
  • Updated dependencies [68cb2b8]
  • Updated dependencies [68cb2b8]
  • Updated dependencies [68cb2b8]
  • Updated dependencies [68cb2b8]
  • Updated dependencies [68cb2b8]
    • @arancini/react@6.5.0
    • @arancini/core@6.5.0
    • @arancini/systems@6.5.0
    • @arancini/events@6.5.0

@arancini/systems@6.5.0

20 Feb 08:18
636f67d
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [68cb2b8]
  • Updated dependencies [68cb2b8]
  • Updated dependencies [68cb2b8]
  • Updated dependencies [68cb2b8]
  • Updated dependencies [68cb2b8]
    • @arancini/core@6.5.0

@arancini/react@6.5.0

20 Feb 08:18
636f67d
Compare
Choose a tag to compare

Minor Changes

  • 68cb2b8: feat: throw meaningful errors when using hooks and components outside of required contexts

Patch Changes

  • 68cb2b8: feat: improve performance by removing a state update and rerender when initially adding components
  • Updated dependencies [68cb2b8]
  • Updated dependencies [68cb2b8]
  • Updated dependencies [68cb2b8]
  • Updated dependencies [68cb2b8]
  • Updated dependencies [68cb2b8]
    • @arancini/core@6.5.0