💡 Improvements
Event Publication Registry
- Default event completion to be performed within listener transaction #1961
- Allow to distinguish between failed and abandoned event publications #1764
Core
- Allow to declare a dependency on everything a module exposes, base package included #1924
- Extend programmatic control of
NamedInterfaceregistration to types (not just packages) #1839 - A shared module unnecessarily lists itself as an allowed target #1927
- Superfluous "the" in the Javadoc of
JavaPackages#1841
Test Support
- Allow checking for events that should not arrive #1357
Moments
- Add seconds and hours to
Momentsgranularity #1688 - Automatically disable scheduling activation for tests #1995
Observability
- References to new observability artifacts missing from reference documentation appendix #1758
Miscellaneous
- Avoid referring to ArchUnit's
DescribedPredicatewhen Java'sPredicateis sufficient #1876 - Skipping resubmission log message uses
%splaceholders with SLF4J #1983 - Use Namastack version property in
spring-modulith-events-core#1805 - Modernize auto-configuration registration in the moments, events, and observability modules #1774
- Polish reference documentation #1845
- Unstable order of relationships in generated PlantUML files #1991
🪲 Bugs
Event Publication Registry
- Completed event publications can be claimed for resubmission and marked as failed again #1925
- Staleness monitor treats zero per-state timeouts as immediately expired #1917
- Minimum age of failed event publications to resubmit is ignored by the JDBC and JPA repositories #1908
- Non-serializable event still crashes despite listener being excluded via registry-trigger-annotation #1903
- Evaluate broker routing SpEL expressions against the original event #1896
- Store the original domain event in the Namastack outbox #1895
- Routing key not properly resolved for Namastack integration #1861
- Unable to mark events as FAILED in MongoDB event registry via the staleness monitor #1855
- Staleness check marks retries as stale prematurely #1836
- Fix Testcontainers setup to ensure fresh containers for SQL databases #1801
- Event externalization throws
ClassCastExceptionwith event listener usingApplicationListener.forPayload(…)#1783 - RabbitJackson2Configuration and RabbitJacksonConfiguration conflict when Jackson 2.x is on classpath (e.g. Eureka Client) #1776
- Typo in
spring.modulith.events.staleness.check-intervalconfiguration property #1757 - Implementations of
ApplicationEventwrongly rewrapped intoPayloadApplicationEvent#1565 - MongoDB event publication repository not working properly with archive completion mode #1412
Core
FormattableType.of(ResolvableType)overflows the stack for self-bounded type variables (breaks observability in 2.1.2) #2011FormattableType.of(ResolvableType)renders array types using their JVM binary names #1901- AOT-generated application-modules.json lacks initializers, so precomputed initializer ordering is lost #1864
- Potential
NullPointerExceptioninFormattableType.of(…)for wildcard types #1786 - Ambiguous violation message when referring to a non-exposed type in a module generally available for access #1778
@DomainEventnot detected on parent types #1118
JUnit Extension
WorkingDirectoryChangesDetectorfails in git submodule work trees #1849ConcurrentModificationExceptioninTestExecutionConditionwhen running tests with JUnit parallel class execution #1789
Moments
WeekHasPassed.getStartDate()ignores theLocale's first day of week #2017- Full time shift applied before
…HasPassedevents are published #1976
Observability
- Unbounded wildcard / type-variable generic parameters break
FormattableType(NPE inDefaultObservedModule.render) #1748 - Methods declared in a modules API but implemented in non-exposed types not properly intercepted for observability #1712
Documentation Support
- Documentation generation fails when extracted Javadoc contains quotes or unbalanced braces #1762
Infrastructure
- MongoDB event publication tests use default localhost connection instead of Testcontainers #1733
Reference Documentation
- Wrong Javadoc in
WeekHasPassed#1987
Runtime
- __root module Flyway migrations are not executed during a test #1750
🔨 Dependency Upgrades
- Upgrade to Spring Boot 4.2.0 #2004, #1954, #1889, #1798
- Upgrade to Spring Framework 7.1 #1888, #1799
- Upgrade to ArchUnit 1.5.1 #1944, #1791
- Upgrade to Micrometer Tracing 1.8.0 #2003, #1953, #1887, #1809
- Upgrade to NullAway 0.14.3 #2010, #1949
- Upgrade to Error Prone 2.50.0 #1945
- Upgrade to Namastack Outbox 1.10.1 #1948, #1883, #1810, #1792
- Upgrade to JobRunr 9.0.4 #2020, #2009, #1946, #1811, #1793
- Upgrade to JsonUnit AssertJ 6.3.0 #1947
- Upgrade to jGit 7.8.0.202609011348-r #1886, #1794
- Upgrade to Lombok 1.18.48 #1884