We are glad to announce that we’ve released Axon and Axoniq Framework version 5.4.0 on October 12th, 2026. This release contains:
Axon Framework
Features
- Introduce QueryShutdownManager and named QueryGateway factory (PR #4482, by @abuijze)
- Revive saga and deadline support as a single axon-legacy module (PR #4979, by @MateuszNaKodach)
- Port the Axon Framework 4 saga stores into axon-legacy (PR #4992, by @MateuszNaKodach)
- Rework
SagaLifecycleto resolvable parameter (#4991, PR #4997, by @smcvb) - Port the Axon Framework 4 saga repositories into axon-legacy (PR #5009, by @MateuszNaKodach)
- Port the Axon Framework 4 saga manager into axon-legacy (PR #5022, by @MateuszNaKodach)
- Port MongoSagaStore from Axon Framework 4 into axon-legacy (PR #5037, by @MateuszNaKodach)
- Saga test fixture on axon-legacy-test (PR #5040, by @MateuszNaKodach)
- Spring Boot autoconfiguration for axon-legacy Sagas (PR #5049, by @MateuszNaKodach)
- Add OpenRewrite migration for legacy Sagas (PR #5070, by @MateuszNaKodach)
- Defer and cache ambient JDBC/JPA resource acquisition (PR #5099, by @hjohn)
- Expand
EntityIdResolverfunctionality (PR #5130, by @smcvb) - Companion to the deadline managers in axoniq-legacy (PR #5131, by @hatzlj)
- OpenRewrite recipes for Axon Framework 4 deadlines on axoniq-legacy (#5048, PR #5140, by @MateuszNaKodach)
- Document that XStream-aliased deadline type names resolve (PR #5142, by @hatzlj)
Enhancements
- Clear the re-claim block when a split or merge fails (#4798, PR #4804, by @schananas)
- Implement lowerBound on the aggregate-based consistency marker (#4815, PR #4819, by @schananas)
- Leave the processor token-store name unset by default (#4809, PR #4823, by @schananas)
- Match segments against pre-resolved sequence identifiers (PR #4857, by @MateuszNaKodach)
- Introduce a
VersionedTypeinterface (PR #4926, by @Ishaan453) - Dedicated
@EntityCreatorannotation enforcing entity creation regardless of existence (PR #4930, by @smcvb) - Defer JPA
PersistenceExceptionResolverinitialization (#4052, PR #4941, by @christopherfriedrich) - Add reporting of tags used for the append in the append exception (PR #4964, by @hjohn)
- Introduce spring-boot compatibility test matrix (PR #4975, by @hatzlj)
- Reintroduce Handler- and UnitofWork-timeout support (#3559, PR #4980, by @smcvb)
SimpleQueryBusshould wrap any subscription query update exception inCompletableFuture(PR #4984, by @smcvb)- Expand
UpdateCheckerlogic (PR #4993, by @smcvb) - Finalize
AnnotatedSagaEventHandlingComponentimplementations (PR #5010, by @smcvb) - Test Map-based
AggregateMemberrewrites (PR #5012, by @smcvb) - Encode username header value for non-ascii characters (PR #5027, by @CodeDrivenMitch)
SnapshotCapableEventStorageEngine#decorateshould only decorate none-SnapshotStoreengines (PR #5039, by @smcvb)- Recognize a self-hosting engine even when its SnapshotStore is decorated (PR #5056, by @hjohn)
- Replace
Sagaswith the AF4-style SagaConfigurer (PR #5069, by @MateuszNaKodach) - OpenRewrite: keep @Saga and SagaTestFixture on the legacy path, pin the plugin version (PR #5073, by @schananas)
- Initialize
SpringComponentRegistrybefore the first top-level bean (PR #5085, by @abuijze) - Remove SonarQube/SonarCloud from the build (PR #5089, by @hjohn)
- Move the legacy module to Axoniq Framework (#5074, PR #5092, by @hatzlj)
- Spring Cloud Connector - Example (PR #5095, by @jangalinski)
- Open up
ApplicationConfigurerTestSuite(PR #5102, by @smcvb) - Promote the ambient JDBC/JPA transactional-executor types to public API (PR #5110, by @hjohn)
- Prefer the type-level component when autowiring Axon components by type (PR #5112, by @abuijze)
- Fix untimed join() calls in query test suites (PR #5115, by @hjohn)
- Run the legacy Saga migration only from the Axoniq recipe (PR #5127, by @MateuszNaKodach)
- Bring the deadlines back into the legacy saga recipe (PR #5137, by @MateuszNaKodach)
Bug Fixes
- Recognise the broadcast sentinel by identity instead of by value (#4800, PR #4805, by @schananas)
- Resolve the reset converter only when there is a reset context (#4796, PR #4806, by @schananas)
- Keep the work package’s stored token monotonic from the first store of a claim (#4801, PR #4807, by @schananas)
- Adopt a concurrently created config token instead of failing to start (#4802, PR #4813, by @schananas)
- Fall back to the event identifier when a sequencing policy resolves nothing (#4797, PR #4818, by @schananas)
- Align the autoconfigured JPA gap defaults with the core defaults (#4799, PR #4821, by @schananas)
- Make a batch of appended events visible atomically in the in-memory store (#4824, PR #4826, by @schananas)
- Ensure
HierarchicalStateManagersupports Entity-subtype search (#4904, PR #4915, by @smcvb) - Correctly support
@EventSourcedannotation for polymorphic entities (#4906, PR #4916, by @smcvb) SegmentChangeListner#onSegmentClaimedhas token parameter | UnifyinitializeTokenSegmentsfailure behavior (#4924, PR #4925, by @schananas)- Release the token claim after the segment release listeners (PR #4927, by @schananas)
- Return
ManagedEntityfromRepositoryand provided to@InjectEntityannotated parameters at all times (PR #4929, by @smcvb) - Fix broken link to entity-creator.adoc in stateful-command-handler.adoc (PR #4937, by @corradom)
- Convert message handlers to right MessageStream cardinality (PR #4940, by @CodeDrivenMitch)
- Fix SNAPSHOT publishing (PR #4942, by @smcvb)
- Copy InMemorySnapshotStore payloads through a Converter (#4865, PR #4960, by @wadhwaroh-lang)
- Ensure user-configured
HandlerDefinitionsandHandlerEnhancerDefinitionsare utilized throughout (#4786, PR #4961, by @smcvb) - Bound the polling thread join in
JpaPollingEventCoordinator.terminate()(PR #4967, by @smcvb) - Ensure returned
CommandResultMessageis nevernull(PR #4994, by @smcvb) - Multi-Member entity event routing: docs, tests, and @EventTag recipe (PR #4998, by @MateuszNaKodach)
- Fix for appending events in
SubscribingEventProcessor(PR #5014, by @MateuszNaKodach) - Invoke a before-interceptor’s handler exactly once (PR #5030, by @MateuszNaKodach)
- Support Entity-specific (annotated) command handler interceptors (PR #5032, by @smcvb)
- Fix bugs found in AF4 during large investigation in AF5 (PR #5034, by @hjohn)
- Defer
ConfigurationPropertiesBindingqualified beans onSpringComponentRegistryinitialization (PR #5041, by @smcvb) - Token claims stolen from segments waiting for a worker thread, despite coordinator claim extension (PR #5050, by @abuijze)
- Customizing a processor twice silently discards the earlier customization (PR #5051, by @abuijze)
- Fix NullPointerException for @CommandHandlerInterceptor on creational commands (PR #5063, by @abuijze)
- UpdateChecker parameters should not be in headers (PR #5067, by @CodeDrivenMitch)
- axon-legacy: convert serialized event payloads before saga handler matching (PR #5072, by @schananas)
- Prevent PSEP from redelivering events to a lagging half of a merged segment (#5079, PR #5081, by @hatzlj)
- Defer
SpringComponentRegistryinitialization while a bind handler advisor is in creation (PR #5084, by @abuijze) - Ensure Micrometer
MessageMonitorsare Spring Boot-autoconfigured (#5077, PR #5090, by @smcvb) - Delegate supports and unwrap in TracingEventHandlingComponent (#5096, PR #5097, by @schananas)
- Ensure
AxonTaskJanitor'sScheduledExecutorServiceshutdown is tied to Framework lifecycle (#5078, PR #5098, by @smcvb) - Include and validate
AxonTimeoutAutoConfiguration(#3959, PR #5100, by @smcvb) - Allow getting executor without throwing exception (PR #5103, by @hjohn)
- Point the legacy saga migration recipe at io.axoniq.framework:axoniq-legacy (PR #5118, by @MateuszNaKodach)
- Release the segment claim on the coordinator’s executor (#5116, PR #5123, by @schananas)
- Ensure
commandNameof@CommandHandleris honored on Entities (PR #5134, by @smcvb)
Axoniq Framework
Features
- Multitenancy Data Protection support (#8, PR #346, by @jangalinski)
- Aggregate-based event storage engine: per-tenant support (PR #352, by @jangalinski)
- Dead Letter Queue: tenant-aware DLQ support (PR #353, by @jangalinski)
- Make
AxonServerEventStorageEngineaSnapshotStore(PR #397, by @smcvb) - Spring Cloud connector: distribute commands without Axon Server (PR #399, by @abuijze)
- Spring Cloud connector: distribute queries (PR #400, by @abuijze)
- Spring Cloud connector: distribute subscription queries (PR #401, by @abuijze)
- Move extension-workflow to axoniq-framework/workflow (PR #449, by @jangalinski)
- Implement Workflow Manager (ADR-018)- #303 (#443, #492, PR #452, @zambrovskiy @zambrovski)
- Per-tenant sequencing policy (PR #458, @jangalinskiy @jangalinski)
- Introduce WorkflowContext#publish primitive (#415, PR #488, @schananasy @schananas)
- Allow to statically specify intended tenants via framework configuration (PR #526, @jangalinskiy @jangalinski)
- Port scope-routing and DeadlineManager core into axoniq-legacy (PR #563, @hatzljy @hatzlj)
- Reuse the ambient connection for reads when already active (PR #576, @hjohny @hjohn)
- Introduce Legacy
XStreamConverter(#592, PR #594, @smcvby @smcvb) - Port
DeadlineManagerBackends toaxoniq-legacy(#5005, #595, PR #598, @hatzljy @hatzlj) - Document / Test Saga state with XStream (PR #610, @hatzljy @hatzlj)
- Aggregate-based
ScopeAwareimplementation rewriting deadlines to commands (#5004, PR #614, @smcvby @smcvb) - Deliver Saga deadlines without wiring (#564, #565, PR #615, @hatzljy @hatzlj)
- Port deadline test-fixture support into axoniq-legacy-test (#5006, PR #619, @MateuszNaKodachy @MateuszNaKodach)
- Defer deadlines an entity command handler schedules to its commit (PR #620, @MateuszNaKodachy @MateuszNaKodach)
- Carry the correlation data of the handled message on a deadline (PR #621, @MateuszNaKodachy @MateuszNaKodach)
Enhancements
- Local dispatch shortcut for command and query buses (PR #270, @abuijzey @abuijze)
- chore: move to io.axoniq.framework.integrationtests.tracing package (PR #340, @jangalinskiy @jangalinski)
- Include
TrackingTokenonCheckpointing.onSegmentClaimed| Warn on a checkpoint past the consumed position (#350, PR #351, @schananasy @schananas) - Ensure the GHA build actually finishes (PR #355, @jangalinskiy @jangalinski)
- avoid real Axon Server client connections in tests (PR #378, @jangalinskiy @jangalinski)
- Add tags to AppendEventsTransactionRejectedException (PR #383, @hjohny @hjohn)
- chore(305): clean up multi-tenant PoC leftovers (#305, PR #395, @jangalinskiy @jangalinski)
- Add Maven build cache extension to skip unchanged reactor modules (PR #396, @hjohny @hjohn)
- Provide solution for tenant based SequenceDeadLetterProcessor (PR #446, @jangalinskiy @jangalinski)
- Make SNAPSHOT fingerprinting tolerant of newly added, unpublished modules (PR #451, @hjohny @hjohn)
- Make the build cache opt-in locally, enabled only in CI (PR #453, @hjohny @hjohn)
- Post a per-module build status comment on pull requests (PR #462, @hjohny @hjohn)
- Split/integrationtests modules (PR #464, @hjohny @hjohn)
- Add Automatic-Module-Name manifest entries to all published Axoniq JAR modules (PR #469, @jangalinskiy @jangalinski)
- Provide connector test for cancelling registration (PR #471, @jangalinskiy @jangalinski)
- Remove the # suffix from workflow ids (#411, PR #475, @schananasy @schananas)
- chore(464): integration test pom hierarchy (#480, PR #485, @jangalinskiy @jangalinski)
- Put failure detail in a full-width row, not a wide column (PR #486, @hjohny @hjohn)
- Set
AXONIQ_LICENSEvariable in GHA (PR #487, @smcvby @smcvb) - chore(464): remove multi-tenancy from integration tests support (PR #491, @jangalinskiy @jangalinski)
@Workflowand@WorkflowStatusChangeListenerHandlerDefintionsand Parameter Resolver support (#412, #413, PR #496, @smcvby @smcvb)- Fine-tune
WorkflowModuleconfiguration (#410, #557, PR #498, @smcvby @smcvb) - Always run flatten-maven-plugin, even on a build cache hit (PR #502, @CodeDrivenMitchy @CodeDrivenMitch)
- Consolidate Axon Server test containers to cut CI build time (PR #503, @hjohny @hjohn)
- Stop wastefully purging contexts multi-tenancy tests never use (PR #510, @hjohny @hjohn)
- Add SchemaInitialization option to PostgresqlEventStorageEngine (PR #511, @hjohny @hjohn)
- Workflow api segregation (#421, PR #516, @zambrovskiy @zambrovski)
- Tune Axon Server container timeouts and cap CI JVM memory (PR #518, @hjohny @hjohn)
- Cut multitenancy IT time by building the app once per class, not per test (PR #519, @hjohny @hjohn)
- Fix Postgres finalizer advisory lock and executor sharing (PR #538, @hjohny @hjohn)
- Remove SonarQube/SonarCloud from the build (PR #548, @hjohny @hjohn)
- Improve Workflow Context / DSL configuration (#549, PR #552, @zambrovskiy @zambrovski)
- Move the legacy module to Axoniq Framework (#5074, PR #554, @hatzljy @hatzlj)
- Resolve the TODO and FIXME markers in the workflow modules (#425, PR #558, @schananasy @schananas)
- Integrate workflow into spring boot autoconfig (#463, PR #559, @zambrovskiy @zambrovski)
- Manage the protobuf-java version explicitly in the axoniq-framework-bom (#524, PR #560, @hatzljy @hatzlj)
- Fix main CI: slim Oracle/PostgreSQL test images and stop Spring Boot ITs sharing a container (PR #562, @MateuszNaKodachy @MateuszNaKodach)
- Pin testcontainers version everywhere, enforce it, raise container logging to INFO (PR #566, @hjohny @hjohn)
- Spring Cloud connector: split command and query sides into dedicated packages (PR #568, @MateuszNaKodachy @MateuszNaKodach)
- Fix SharedAxonServerContainer creating duplicate containers under concurrent forks (PR #573, @hjohny @hjohn)
- Fix Axon Server test-container races and connection exhaustion (PR #574, @hjohny @hjohn)
- Add automatic module-name manifest entry for the springcloud module (PR #579, @hatzljy @hatzlj)
- Legacy Saga Spring Boot tests (PR #585, @smcvby @smcvb)
- Register the Legacy Support addon with the entitlement system (PR #608, @MateuszNaKodachy @MateuszNaKodach)
- Split SpringCloudMemberRegistry into discovery and registry (PR #612, @abuijzey @abuijze)
- Split event handling components (#609, PR #613, @zambrovskiy @zambrovski)
- Deliver aggregate deadlines to entities with non-String identifiers (PR #617, @MateuszNaKodachy @MateuszNaKodach)
- Deadline review follow-ups: internal converter signatures and the qualified db-scheduler task (PR #626, @hatzljy @hatzlj)
- Resolve XStream-aliased deadline type names through the XStreamConverter (PR #627, @hatzljy @hatzlj)
Bug Fixes
- Distinguish a rejected append from an undetermined one (#299, PR #300, @schananasy @schananas)
- Collect
QueryResponseMessageswhenclientSupportsStreamingis false to support list-queries from AF4 into AF5 (PR #358, @smcvby @smcvb) - Use repeatable read isolation for query with 2 statements (PR #369, @hjohny @hjohn)
- Ensure
DistributedQueryBusadheres toProcessingContextlifecycle for subscription query operations (#317, PR #375, @smcvby @smcvb) - Don’t assume autocommit is
false(PR #382, @hjohny @hjohn) - Multi-tenant
QueryBuscloses subscription query streams upon tenant removal (PR #385, @smcvby @smcvb) - fix(connector): subscribe a command or query name exactly once (PR #389, @abuijzey @abuijze)
- Process entire batch in
PersistentStreamConnectionregardless of closedPersistentStreamSegment(PR #392, @smcvby @smcvb) - Fix silently-skipped *IntegrationTest.java tests; rely on Surefire/Failsafe defaults (PR #459, @hjohny @hjohn)
- Fix time parsing and false SUCCESS on timeout (PR #465, @hjohny @hjohn)
- Fix Axon Server test license CI path after integrationtests split (PR #470, @hjohny @hjohn)
- Gate retry attempts behind an accepted RETRY_STARTED append (#408, PR #472, @schananasy @schananas)
- fix(407): StepIndeterminateException keeps its type across the durable round-trip (#407, PR #474, @schananasy @schananas)
- Fix memory leak in AxonServerCommandBusConnector (#476, PR #477, @hatzljy @hatzlj)
- ServiceLoader for DeadLetterMultiTenancyConfigurationEnhancer fails when multi-tenancy is used without the DLQ module (#480, PR #495, @jangalinskiy @jangalinski)
- fix persistent streams autoconfig ordering after optional dead… (#504, PR #505, @hatzljy @hatzlj)
- Workflow: start the engine processor at the head of the stream, use the engine Clock for step events (PR #512, @schananasy @schananas)
- Don’t fail fingerprint script when reactor has zero SNAPSHOT deps (PR #514, @hjohny @hjohn)
- Fix decorator spy test double and re-enable snapshotter IT tests (PR #525, @hjohny @hjohn)
- Fix dead letter processor resolution for multiply decorated event handling components (#531, PR #533, @hatzljy @hatzlj)
- Keep a workflow instance registered when its body stops without ending (#479, PR #534, @schananasy @schananas)
- Harmonized API between WorkflowState and WorkflowContext (#539, PR #540, @zambrovskiy @zambrovski)
- Re-enable SpringBootJdbcDeadLetteringIT and SpringBootJpaDeadLetteringIT (#460, PR #543, @hjohny @hjohn)
- Hold the workflow checkpoint until a wake’s completion is durable (#551, PR #553, @schananasy @schananas)
- Allow null values in the workflow payload snapshot (#536, PR #555, @schananasy @schananas)
- Spring Cloud connector: fix lost and dropped subscription query updates (PR #570, @MateuszNaKodachy @MateuszNaKodach)
- Ensure all Persistent Stream events are actually read (PR #571, @smcvby @smcvb)
- Enable and finalize
WorkflowConfigurerTest(#427, PR #580, @smcvby @smcvb) - Make the Spring Boot starter depend on the Axon Server connector (PR #591, @abuijzey @abuijze)
- Spring Cloud connector: identify members by node id, support Kubernetes discovery (#577, PR #600, @abuijzey @abuijze)