Skip to content

Releases: HexDecimal/python-tcod-ecs

5.4.2

28 Nov 22:06
5.4.2
99e849a

Choose a tag to compare

Removed

  • Dropped support for Python 3.8 & 3.9.

Fixed

  • Component key type-hints now use TypeForm.
    Complex component types which already worked at runtime are now recognized by type linters.

5.4.1

20 Jul 15:14
5.4.1
bb07cde

Choose a tag to compare

Maintenance release

5.4.0

11 Apr 03:08
5.4.0
0bbf97b

Choose a tag to compare

Added

  • Allow setting the traverse state of an entity.component_tags[type][entity](traverse=...) attribute.

Changed

  • Updated deprecations to use PEP 702.

Fixed

  • Fixed .clear methods for entity.components and entity.component_relations.

5.3.0

08 Mar 19:09
5.3.0
08b2b21

Choose a tag to compare

Added

  • New query .any_of method. This was possible before but it is easier with this method.

5.2.4

07 Mar 17:56
5.2.4
3e36748

Choose a tag to compare

Fixed

  • Clearing an entity with inherited components no longer leaves the entity with missed components.

5.2.3

20 Aug 21:20
5.2.3
a56445a

Choose a tag to compare

Fixed

  • Clearing an entity with inherited tags no longer hangs.

5.2.2

03 Aug 18:35
5.2.2
60e9296

Choose a tag to compare

Fixed

  • EntityComponents.pop now correctly returns defaults when the components are inherited instead of local.

5.2.1

30 Jul 22:58
5.2.1
6f4cd36

Choose a tag to compare

Fixed

  • Fixed type of default parameter for EntityComponents.get.

5.2.0

23 Jul 06:09
5.2.0
8f1e90c

Choose a tag to compare

Changed

  • Queries are now truthy if they match any entity.

5.1.0

13 Feb 13:49
5.1.0
833e1e3

Choose a tag to compare

Changed

  • Renamed World to the more standard name Registry in multiple places.

Deprecated

  • World is now Registry
  • WorldQuery is now BoundQuery
  • .world attributes of Entity and BoundQuery are now .registry

Fixed

  • Updated EntityComponents.__ior__ type hints which were causing false positives.