Skip to content

Fluxzero 1.178.0

Choose a tag to compare

@github-actions github-actions released this 20 May 11:36

1.178.0 (2026-05-20)

Features

  • feat(handling): support stateful members (f8d7e23)

    Allow @​Member objects inside @​Stateful handlers to create, update, delete, and fan out via child associations while persisting each mutated root at most once per message.

    Add record canonical-constructor and Kotlin data-class rebuild coverage, duplicate entity-id guards, member map-key documentation, downstream Kotlin tests, and performance benchmark paths.

    Tests run: ./mvnw -q -pl sdk test; ./mvnw -q -f kotlin-downstream-project/pom.xml test

Performance Improvements

  • perf(handling): batch stateful member writeback (3e7e8ae)

    Stage member mutations per stateful root and apply them per member holder, so list and map members clone and wither their owner once per message instead of once per child mutation. This keeps the one-storage-action-per-root behavior while removing most of the CPU overhead from multi-child updates.

    Benchmarks with memberCount=100/rootCount=10 improved list/map/fanout member handling from roughly 662/634/64 ops/s to 11876/13227/1207 ops/s.

    Tests run: ./mvnw -q -pl sdk -Dtest='StatefulHandlerTest' test; ./mvnw -q -pl sdk -Dtest=StatefulHandlerTest test; ./mvnw -q -pl sdk -Dtest=StatefulHandlerTest,AggregateEntitiesTest test; ./mvnw -q -pl sdk test; git diff --check.