Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

182 lines (162 sloc) 10.264 kb

Change Log

Version: 0.9.1-SNAPSHOT

  • MINOR BREAKING CHANGES

    • BaseSystem is now the most basic system type.
      • World#getSystems returns Bag.
    • EntitySystem constructor expects Aspect.Builder:
      • Implies existing classes have to be recompiled against this release.
      • Existing custom entity systems need to pass Aspect.Builder to EntitySystem.
    • EntitySystem no longer implements EntityObserver.
    • ArtemisProfiler#initialize now requires BaseSystem instead of EntitySystem.
    • VoidEntitySystem no longer subclass of EntitySystem.
  • New internal EntitySubscription and accompanying AspectSubscriptionManager resulting in cleaner and more flexible EntitySystems.

  • SystemInvocationStrategy opening up for more granular control over system processing.
    • Default strategy behaves as before.
  • Aspect split into Aspect and Aspect.Builder.
    • Simplified static method names, mirroring Aspect's old instance methods.
  • Fix: Uninitialized worlds threw cryptic NPE when invoking #process.
  • Fix: World#createFactory(Class<EntityFactory>) was package local.

Version: 0.9.0 - 2015-02-03

  • MINOR BREAKING CHANGES

    • Entity instances should never be compared by reference equality; always do entity1.equals(entity2).
    • It is no longer valid to add additional managers or systems to initialized worlds.
  • MundaneWireException thrown by World#inject if class lacks @Wire. Previously, it silently failed to inject.

  • Systems' entity iteration speed slightly faster.
  • New EntityTransmuter class, an alternative but more efficient way of adding/removing components.
  • Optimized entity removal speed.
  • Adding and removing existing entities from systems is now considerably faster.
  • Add enablePackedWeaving to maven, gradle and CLI tool.
  • Reduced EntitySystem memory footprint by 2/3.
  • Fix: Entity systems can now subscribe to all entities when aspect is empty.
  • Fix: EntityFactory annotation processor sometimes failed generating the factory implementation when running from within Eclipse.

Version: 0.8.1 - 2014-11-10

  • CLI command for configuring eclipse projects with annotation processor (entity factories)
  • Fix: Adding a component to an archetyped entity prior to it being added to the world resulted in the component never being registered.
    • Note that editing an entity created by an archetype voids the performance benefit of archetypes..

Version: 0.8.0 - 2014-10-20

  • MINOR BREAKING CHANGES

    • Archetype moved to com.artemis package.
  • Auto-generate EntityFactories.

  • ArchetypeBuilder constructor accepts null passed as parent.

Version: 0.7.2 - 2014-10-08

  • Fix: Chaining Entity#edit caused the internal bitset to reset between component removals.

Version: 0.7.1 - 2014-09-24

  • Gradle plugin for bytecode weaving. See Weave Automation
  • Faster removal of components.

Version: 0.7.0 - 2014-09-21

  • MINOR BREAKING CHANGES

    • Entity state changes aren't reflected until the next system starts processing or a new World#process round begins, whichever comes first.
    • Removed initial parameter (type) from Aspect methods; this changes the method descriptor, requiring any project to be recompiled.
  • The GWT backend can now read values off annotations.

  • Bytecode optimizations: (invoked via maven plugin or the CLI tool)
  • Removed artemis-benchmark, refer to entity-system-benchmarks instead.
  • It's no longer necessary to call Entity#changedInWorld and Entity#addToWorld
    • Use Entity#edit when adding or removing components.
  • Adding and removing entities to systems is now approximately 150% faster.
    • Entity compositions are no longer primarily identified by BitSets, but instead have a compositionId - EntitySystems track which composition ids are of interest.
    • ArchetypeBuilder and Archetype precalculates compositionId, allowing for greatly increased insertion performance.
    • Optimized EntitySystem#check, entities are processed in bulk, less checks when removing entities, removed systemIndex.
  • @Profile entity systems with custom classes.
  • New WorldConfiguration class
    • Set expected entity count
    • Limit number of rebuilt active entities per system/tick. Rebuilt indices ensure entities are processed in sequential order.
  • New interface PackedComponent.DisposedWithWorld for freeing packed components' resources when disposing the world.
    • Automatically added to all @PackedWeaver components.
  • World#inject(Object) can inject normal java classes with artemis types.
    • Requires that the injected object is annotated with @Wire
  • Less bounds checking for PackedComponents.
  • Added World#getManagers method.
  • Lots of methods now deprecated
    • These will be removed when 1.0.0 is released.
    • See the @deprecated notice for how things work in the new world.
  • maven plugin registered as "artemis-odb", ie mvn artemis-odb:matrix, or mvn artemis-odb:artemis
  • Fix: @PooledWeaver wasn't resetting components.
    • Additionaly, only primitive fields are reset - objects are left intact.
  • Fix: EntityManager#getActiveEntityCount could report the wrong number if entities were deleted before having been added to the world.
  • Fix: Disabled entities are no longer added to systems.
  • Fix: EntityManager#isActive could throw an OOB exception..
  • FIX: Possible IOOB in @PackedWeaver components when accessing component data.

Version: 0.6.5 - 2014-07-17

  • Better support for multiple concurrent worlds in regards to memory usage.
  • Smaller entity instances.
  • Fix: Actually fixed GWT support, bumped gwt to 2.6.0.

Version: 0.6.3 - 2014-07-07

  • Fix: Potential IOOB exceptions in UuidEntityManager.

Version: 0.6.2 - 2014-07-07

  • UUID is now optional for entities.
    • Add UuidEntityManager to automatically map UUID:s to entities.
    • UUID:s are lazily instantiated.
  • Fix: GWT build was broken in 0.6.1.

Version: 0.6.1 - 2014-07-03

  • New standalone artemis-odb-cli artifact:
    • Handles weaving (new in 0.6.1) and matrix generation.
    • Replaces artemis-odb-matrix-X.Y.Z-cli.jar.
  • Fix: OOB Exception in ComponentManager with componentsByType when component types > 64.
  • Fix: Calling Entity#changedInWorld before an entity is added to the world yields null.

Version: 0.6.0 - 2014-06-01

  • GWT support (demo) sporting libgdx's reflection wrapper code.
    • This means that @Mapper and @Wire works for GWT builds too.
    • Note: @PooledWeaver and @PackedWeaver don't work under GWT, though the presence of the annotations doesn't break anything.
  • Automatically generate a bird's eye view of artemis: Component Dependency Matrix.
  • Faux structs with @PackedWeaver`.
    • Looks and behaves just like normal java classes.
    • Direct field access works - no need to generate getters and setters - i.e. position.x += 0.24f is valid.
    • Contiguously stored in memory, internally backed by a shared ByteBuffer.allocateDirect().
    • Works for all components composed of primitive types.
  • Entity systems and managers can @Wire (inject) anything from the world: will eventually replace @Mapper. No need to annotate each field - just annotate the class and artemis will take care of injecting applicable fields.
    • @Wire can inject parent classes too.
    • @Wire can resolve non-final references. Eg, AbstractEntityFactory is resolved as EntityFactory etc. See test/example.
  • EntitySystems process entities in ascending id order.
    • Considerably faster processing when memory access is aligned (potential biggest gains from PackedComponents).
    • Slightly slower insert/remove (3-4% with 4096 entities)
  • New optional UuidEntityManager, tracks entities by UUID.
  • Optional expectedEntityCount parameters in World constructor.
  • -DideFriendlyPacking: If true, will leave field stubs to keep IDE:s happy after transformations. Defaults to false.
  • -DenablePooledWeaving: Enables weaving of pooled components (more viable on Android than JVM). Defaults to true.
  • -DenableArtemisPlugin: If set to false, no weaving will take place (useful for debugging).
  • Fix: Possible NPE when removing recently created entities.
  • Fix: Entity#getComponent would sometimes throw an ArrayIndexOutOfBoundsException.

Version: 0.5.0 - 2013-11-24

  • Changed artemis to a multi-module project (the artemis folder is the old root).
  • Entity instances are recycled.
  • New component types, PooledComponent and PackedComponent.
    • Optionally transform components with @PackedWeaver and @PooledWeaver by configuring the artemis-odb-maven-plugin.
  • New method Entity#createComponent(Class<Component>).
  • Annotation processor validates pooled and packed component types.
  • Managers support @Mapper annotation.
  • No longer necessary to stub Manager#initialize().
  • GroupManager#getGroups returns an empty bag if entity isn't in any group.
  • World#dispose for disposing managers and systems with managed resources.
  • Fix: DelayedEntityProcessingSystem prematurely expired entities.
  • Fix: Recycled entities would sometimes have their components cleared when recycled during the same round as the original entity was deleted.
  • Fix: GroupManager avoids duplicate entities and removes them upon deletion.
Jump to Line
Something went wrong with that request. Please try again.