Skip to content

Releases: Doraku/DefaultEcs

DefaultEcs 0.18.0-beta01

17 Apr 09:27
Compare
Choose a tag to compare
Pre-release

Breaking changes

  • Entity.Set, EntitySetSameAs and EntitySetSameAsWorld will now reenable the component if it was disabled
  • renamed World.SubscribeComponentAdded to World.SubscribeEntityComponentAdded
  • renamed World.SubscribeComponentChanged to World.SubscribeEntityComponentChanged
  • renamed World.SubscribeComponentRemoved to World.SubscribeEntityComponentRemoved
  • renamed World.SubscribeComponentEnabled to World.SubscribeEntityComponentEnabled
  • renamed World.SubscribeComponentDisabled to World.SubscribeEntityComponentDisabled

New features

  • World.SetMaxCapacity can now be called multiple times for the same component type (#149)
  • added World.SubscribeWorldComponentAdded method (#165)
  • added World.SubscribeWorldComponentChanged method (#165)
  • added World.SubscribeWorldComponentRemoved method (#165)
  • added World.NotifyChanged method
  • added generic WithAttribute
  • added generic WithoutAttribute
  • added generic WhenAddedAttribute
  • added generic WhenChangedAttribute
  • added generic WhenRemovedAttribute

Bug fixes

  • fixed TextSerializer not using invariant culture during serialization (#170 thanks to @Helco)

nuget package

DefaultEcs 0.17.2

20 Feb 17:17
3ecf7e3
Compare
Choose a tag to compare

Bug fixes

  • fixed a specific case when an Entity is removed from a EntitySortedSet (thanks to @Helco)

nuget package

DefaultEcs 0.17.1

11 Feb 22:09
Compare
Choose a tag to compare

Fixes

  • fixed WorldRecord.Set (#148)
  • fixed previous component value retrieval when a component is removed during a added/changed callback (#146)
  • fixed World.Optimize breaking the component references when entities share a component (#156 thanks to @ihell)

nuget package

DefaultEcs 0.17.0

11 Nov 00:55
Compare
Choose a tag to compare

breaking changes:
remove EntityCommandRecorder.CreateEntity method, see new WorldRecord type
renamed EntityMap.ContainsEntity method to Contains
renamed EntityMultiMap.ContainsEntity method to Contains


added IEntityContainer type as common base interface for all entity container (EntitySet, EntitySortedSet, EntityMap, EntityMultiMap)
added EntityCommandRecorder.Record(World) method
added WorldRecord type to record action on World
added EntitySet.EntityAdded event
added EntitySet.EntityRemoved event
added EntityMap.EntityAdded event
added EntityMap.EntityRemoved event
added EntityMultiMap.EntityAdded event
added EntityMultiMap.EntityRemoved event
added EntitySortedSet type (#113)
added EntityQueryBuilder.AsSortedSet methods to create EntitySortedSet
added AEntitySortedSetSystem type
added debug view for EntitySortedSet
added debug view for EntityMap
added debug view for EntityMultiMap

nuget package

DefaultEcs 0.17.0-beta1

09 Oct 12:59
Compare
Choose a tag to compare
Pre-release

breaking changes:
remove EntityCommandRecorder.CreateEntity method, see new WorldRecord type


added EntityCommandRecorder.Record(World) method
added WorldRecord type to record action on World
added EntitySortedSet type (#113)
added EntityQueryBuilder.AsSortedSet methods to create EntitySortedSet
added AEntitySortedSetSystem type
added debug view for EntitySortedSet
added debug view for EntityMap
added debug view for EntityMultiMap

nuget package

DefaultEcs 0.16.2

26 Aug 08:15
Compare
Choose a tag to compare

fixed serialization when subscribing to component change (#127)

nuget package

DefaultEcs 0.16.1

27 Jul 17:37
Compare
Choose a tag to compare

fixed Entity.Dispose when using multiple EntityMap/MultiMap with the same component key (#123)

nuget package

DefaultEcs 0.16.0

08 Jun 22:32
Compare
Choose a tag to compare

breaking changes:
changed IComponentReader.OnRead component passed as in instead of ref
renamed World.Get to World.GetAll


added ComponentCloner type to clone components between entities
added Entity.CopyTo method overload taking a ComponentCloner
added Entity.SetSameAsWorld method
added EntityRecord.CopyTo methods
added EntityRecord.SetSameAsWorld method
added World.Set method to set a world component
added World.Get method to get a world component
added World.Remove method to remove a world component
added World.Has method to check a world component availability

nuget package

DefaultEcs 0.15.2

05 Apr 14:50
Compare
Choose a tag to compare

DefaultEcs 0.15.2

added World.TrimExcess methods to fit inner storage to the number of entities and components
added EntitySet.TrimExcess method to fit inner storage to the number of entities
added EntityMap.TrimExcess method to fit inner storage to the number of entities
added EntityMultiMap.TrimExcess method to fit inner storage to the number of entities

fixed Entity.Dispose when called in a non buffered system

nuget package

DefaultEcs 0.15.1

08 Feb 22:31
Compare
Choose a tag to compare

DefaultEcs 0.15.1

added Entity.Set with no parameter (fix for Unity IL2CPP)
added EntityRecord.Set with no parameter (fix for Unity IL2CPP)

nuget package