Spring Modulith 1.4 M2, 1.3.3, and 1.2.9 released
I am happy to announce the availability of Spring Modulith 1.4 M2, 1.3.3, and 1.2.9. While the latter contain a few bug fixes and the usual dependency upgrades to the latest Spring Boot releases, the milestone release ships a couple of important new features.
- The observability module now automatically creates counters for application events published by modules. A new
ModulithEventMetrics
API has been introduced and can be used throughModulithEventMetricsCustomizer
beans registered in theApplicationContext
(GH-1068). - The runtime support has been revamped to avoid the dependency on an external library to topologically sort application modules, so that they can be traversed in dependency order (GH-1060). This allows assuming a stable module order in the application metadata file that – previously only created in AOT mode – is now also written when generating documentation (GH-1063). That in turn allows us to avoid the full bootstrap of an
ApplicationModules
instance at runtime, for example, to executeApplicationModuleListener
beans (GH-1062, GH-1065…