This page notes all enhancements and features that we have introduced to our major releases of the Axon Spring Cloud Extension.
Release 4.9.0 only consists out of dependency upgrades to tag along with recent developments.
- Use the
SpanFactory
in theSpringHttpCommandBusConnector
#302 - Enable tracing in the
SpringHttpCommandBusConnector
with theSpanFactory
#231
- Fix coverage report. #261
We'd like to thank all the contributors who worked on this release!
- Add Spring Boot 3 autoconfigure support. #260
We'd like to thank all the contributors who worked on this release!
This release only has seen dependency upgrades. As such, the main purpose for releasing is to ensure compatibility with Axon Framework 4.6.0.
- Bump mockito.version from 4.7.0 to 4.8.0 #222
- Bump spring-cloud-dependencies from 2021.0.3 to 2021.0.4 #221
- Bump jackson.version from 2.13.3 to 2.13.4 #220
- Bump slf4j.version from 1.7.36 to 2.0.0 #219
- Bump spring.boot.version from 2.7.2 to 2.7.3 #218
- Bump maven-javadoc-plugin from 3.4.0 to 3.4.1 #217
- Bump mockito.version from 4.6.1 to 4.7.0 #216
- Bump axon.version from 4.5.14 to 4.5.15 #215
- Bump junit-jupiter from 5.8.2 to 5.9.0 #214
- Bump maven-resources-plugin from 3.2.0 to 3.3.0 #213
- Bump maven-install-plugin from 3.0.0 to 3.0.1 #212
- Bump maven-assembly-plugin from 3.4.1 to 3.4.2 #211
- Bump spring.boot.version from 2.7.1 to 2.7.2 #210
- Bump maven-install-plugin from 2.5.2 to 3.0.0 #209
- Bump maven-deploy-plugin from 2.8.2 to 3.0.0 #208
- Bump axon.version from 4.5.13 to 4.5.14 #207
- Bump spring.version from 5.3.21 to 5.3.22 #206
- Bump axon.version from 4.5.12 to 4.5.13 #205
- Bump maven-assembly-plugin from 3.4.0 to 3.4.1 #204
- Bump log4j.version from 2.17.2 to 2.18.0 #203
- Bump maven-assembly-plugin from 3.3.0 to 3.4.0 #202
- Bump axon.version from 4.5.11 to 4.5.12 #201
- Bump spring.boot.version from 2.7.0 to 2.7.1 #200
- Bump axon.version from 4.5.10 to 4.5.11 #199
- Bump spring.version from 5.3.20 to 5.3.21 #198
- Bump maven-enforcer-plugin from 3.0.0 to 3.1.0 #197
- Bump mockito.version from 4.6.0 to 4.6.1 #196
- Bump axon.version from 4.5.9 to 4.5.10 #195
- Bump spring-cloud-dependencies from 2021.0.1 to 2021.0.3 #194
- Bump mockito.version from 4.5.1 to 4.6.0 #193
- Bump spring.boot.version from 2.6.1 to 2.7.0 #192
- Bump jackson.version from 2.13.2 to 2.13.3 #191
- Bump spring.version from 5.3.19 to 5.3.20 #190
- Bump spring-cloud-dependencies from 2021.0.1 to 2021.0.2 #189
- Bump mockito.version from 4.5.0 to 4.5.1 #188
- Bump maven-javadoc-plugin from 3.3.2 to 3.4.0 #187
- Bump mockito.version from 4.4.0 to 4.5.0 #186
- Bump spring.version from 5.3.18 to 5.3.19 #185
- Bump jacoco-maven-plugin from 0.8.7 to 0.8.8 #184
- Bump maven-clean-plugin from 3.1.0 to 3.2.0 #183
- Bump spring.version from 5.3.17 to 5.3.18 #182
- Bump axon.version from 4.5.8 to 4.5.9 #181
- Bump spring.version from 5.3.16 to 5.3.17 #180
- Bump maven-compiler-plugin from 3.10.0 to 3.10.1 #179
- Bump mockito.version from 4.3.1 to 4.4.0 #178
- Bump jackson.version from 2.13.1 to 2.13.2 #177
- Bump actions/checkout from 2 to 3 #176
- Bump log4j.version from 2.17.1 to 2.17.2 #175
- Bump actions/setup-java from 2.5.0 to 3 #174
- Bump spring-cloud-dependencies from 2021.0.0 to 2021.0.1 #173
- Bump spring.version from 5.3.15 to 5.3.16 #172
- Bump maven-compiler-plugin from 3.9.0 to 3.10.0 #171
- Bump maven-javadoc-plugin from 3.3.1 to 3.3.2 #170
- Bump slf4j.version from 1.7.35 to 1.7.36 #169
There is one mentionable adjustment apart from a multitude of dependency updates.
The IgnoreListingDiscoveryMode
, which ignores ServiceInstances
that don't contain any command handling capabilities,
now evicts the ignored entries after a configurable timeframe. This solution ensures instances that were ignored for a retryable
reason will be reevaluated after (by default) one minute. You can check up on the solution for this in pull
request #168.
For a full list of all the changes, please check the release notes.
This release has seen a bunch of adjustments towards the Spring Cloud extension, which can be grouped into two categories.
Firstly, the introduction of the CapabilityDiscoveryMode
and secondly the automatic process added to this project:
- Introduced GitHub Actions to build, test and push snapshots of the Spring Cloud Extension, as has been marked in pull request #68.
- Dependabot was introduced, ensuring all versions will be as up-to-date as possible.
- JUnit4 has been removed entirely, in favor of JUnit 5.
- The
CapabilityDiscoveryMode
mode has been introduced through issue #23. This approach allows for more flexibility when it comes to defining how command routing information should be retrieved and shared.
For a full list of all the changes, please check the release notes.
-
Issue #14 implements the
CommandBusConnector#localSegment
. Axon Framework introduces this method in release 4.3 (and issue #874) to ensure the usage of theDisruptorCommandBus
's repository is followed when distributing theCommandBus
. -
We introduced a graceful start-up and shutdown solution in Axon Framework release 4.3 for all infrastructure components. Issue #15 ensures the
SpringHttpCommandBusConnector
complies with this style too.
For a complete list of all changes, see this page.
When using the Kubernetes implementation of Spring Cloud the
SpringCloudCommandRouter
would throw NullPointerException
s.
This occurs because Spring Cloud Kubernetes does not support the ServiceInstance
's metadata field,
which the SpringCloudCommandRouter
relies on.
This pull request introduced a null check to ensure
the null pointer would not be thrown again.
The SpringCloudCommandRouter
failed to correctly connect to a Spring Cloud Discovery Service if the node did not contain any Command Handler methods.
This undesired behaviour was marked by user "travikk" and made more lenient under this.
We split off the Spring Cloud logic from Axon Framework core into a dedicated repository. Next to that, it complies with Axon Framework's 4.0 release.