Skip to content

Releases: spring-projects/spring-modulith

2.0 GA

21 Nov 17:12
2.0.0
ce7f74e

Choose a tag to compare

⭐ New Features

  • Overhaul event publication lifecycle #796 (Neo4j #1337, MongoDB #1336, JDBC #1321, JPA #1375, #1389)
  • Support for application-module-specific Flyway migrations #1067, #1440
  • Allow serialized execution of event externalization #1370
  • Support for Jackson 3 in event serialization #1364, #1369
  • Support to verify application module structure on startup #1287
  • Migrate nullness verification to jSpecify #1192
  • Propagate named interface assignments of types to return and parameter types of methods declared #1264
  • Extract module description from a module's package-info.java Javadoc #1430
  • Remove deprecated @ApplicationEventListener annotation #1397

💡 Improvements

  • Prevent application module misconfiguration due to invalid additional packages #1251
  • Expose additional application module metadata in application-modules.json #1276
  • Cleanup configuration metadata creation #1455
  • Improve bootstrap procedure for ApplicationModulesEndpoint #1338
  • Unnecessary context bootstrap triggered for application module tests due to overly constrained equals(…) and hashCode() in ModuleTypeExcludeFilter #1216
  • Register SQL schemas as native image resources #1449
  • Reflection metadata missing in JSONPath lookup for application module identifiers on GraalVM #1254
  • List module description before base package in canvas #1447
  • Update version compatibility matrix in reference docs #1289
  • Fix a typo in the overview docs #1294
  • Fix typo in reference documentation #1394
  • Improve Documentation on Change Aware Test Execution #1382
  • Switch automatic Hexagonal Architecture verification to lenient mode #1366
  • Resolve JUnit warnings regarding nested test classes [#1326](https://github.com/spring-projects/ spring-modulith/issues/1326)
  • Constrain access to internally used methods of ApplicationModuleSource #1283
  • Remove legacy reflection-based event handling in PersistentApplicationEventMulticaster #1356
  • Update copyright year in index.adoc #1368
  • Polish deprecations in PublishedEvents #1448

🪲 Bugs

  • Forward classloader in ConfigDataEnvironmentPostProcessor application in ApplicationModuleDetectionStrategy lookup #1435
  • Potential NullPointerException in annotation detection in JavaPackage #1341
  • Avoid ConcurrentModificationException in PackageName #1319
  • Potential stack overflow when looking up a module's dependencies if it's part of a cycle #1299
  • ApplicationModules.toString() should list all dependencies, marking bootstrap dependencies #1285
  • Named interfaces leaking from submodules into parent ones #1279
  • Inconsistent visibility of NamedInterface.of(String name, Classes classes) #1272
  • Repeated invocation of AOT phase breaks creation of application-modules.json #1457
  • Properly detect Maven test execution in BuildSystemUtils #1432
  • Properly disable APT execution for test sources when using KAPT #1386
  • Exception during file creation from APT module #1263
  • Incompatible path handling for KAPT with Maven #1209
  • Invalid type reference in check for jMolecules Onion Architecture integration presence #1414
  • Potential NoClassDefFoundError when jMolecules DDD artifact is missing from the classpath #1333
  • TestExecutionCondition should fall back to execute the test if more than one main class is found #1391
  • Potential ConcurrentModificationException when running @ApplicationModuleTest tests in parallel #1295
  • Version compatibility of 1.4 should state Boot 3.5 at compile target #1331
  • Remove reference to JGraphT from reference documentation #1288

🔨 Dependency Upgrades

  • Upgrade to Spring Boot 4.0
  • Upgrade to Spring Framework 7.0
  • Upgrade to jMolecules 2025.0
  • Upgrade to Structurizr 5
  • Upgrade to ArchUnit 1.4.1
  • Upgrade to Testcontainers 2.0
  • Upgrade to Micrometer 1.6
  • Upgrade to Micrometer Tracing 1.6
  • Upgrade to NullAway 0.12.10
  • Upgrade to jGit 7.4
  • Upgrade to Cute 1.9.0
  • Upgrade to APTK 0.30.5 #1372

❤️ Contributors

Thank you to all the contributors who worked on this release:

@jekutzsche, @kitt51, @patbaumgartner, @tlarbals824, and @val-beresneva

1.4.5

21 Nov 16:47
1.4.5
bee0715

Choose a tag to compare

💡 Improvements

  • Register SQL schemas as native image resources #1450

🪲 Bugs

  • Forward classloader in ConfigDataEnvironmentPostProcessor application in ApplicationModuleDetectionStrategy lookup #1436
  • Properly detect Maven test execution in BuildSystemUtils #1433
  • Properly disable APT execution for test sources when using KAPT #1428
  • Invalid type reference in check for jMolecules Onion Architecture integration presence #1426

🔨 Dependency Upgrades

  • Upgrade to Spring Boot 3.5.8 #1474
  • Upgrade to Spring Framework 6.2.14 #1462
  • Upgrade to Micrometer Tracing 1.5.6 #1461

1.3.11

21 Nov 16:47
1.3.11
fdd2525

Choose a tag to compare

💡 Improvements

  • Register SQL schemas as native image resources #1451

🪲 Bugs

  • Forward classloader in ConfigDataEnvironmentPostProcessor application in ApplicationModuleDetectionStrategy lookup #1437
  • Invalid type reference in check for jMolecules Onion Architecture integration presence #1427

🔨 Dependency Upgrades

  • Upgrade to Spring Boot 3.4.12 #1473
  • Upgrade to Spring Framework 6.2.14 #1460

2.0 RC1

24 Oct 18:12
2.0.0-RC1
c906103

Choose a tag to compare

2.0 RC1 Pre-release
Pre-release

⭐ New Features

  • Remove deprecated @ApplicationEventListener annotation #1397
  • Improve documentation on Change Aware Test Execution #1382
  • Support for application-module-specific Flyway migrations #1067

💡 Improvements

  • Fix typo in reference documentation #1394
  • Update copyright year in index.adoc #1368
  • Fix a typo in the overview docs #1294

🪲 Bugs

  • Invalid type reference in check for jMolecules Onion Architecture integration presence #1414
  • TestExecutionCondition should fall back to execute the test if more than one main class is found #1391
  • Default status column type in JPA event publication to string #1389
  • Properly disable APT execution for test sources when using KAPT #1386

🔨 Dependency Upgrades

  • Upgrade to Spring Boot 4.0 RC1 #1415
  • Upgrade to Spring Framework 7.0 RC1 #1410
  • Upgrade to Micrometer 1.6 RC1 #1409
  • Upgrade to NullAway 0.12.10 #1408
  • Upgrade to jGit 7.4.0.202509020913-r #1399
  • Upgrade to Cute 1.9.0 #1398

❤️ Contributors

Thank you to all the contributors who worked on this release:

@jekutzsche, @kitt51, @patbaumgartner, and @val-beresneva

1.4.4

24 Oct 17:55
1.4.4
04f35dd

Choose a tag to compare

💡 Improvements

  • Fix a typo in the overview docs #1404
  • Update copyright year in index.adoc #1402
  • Fix typo in reference documentation #1401

🪲 Bugs

  • TestExecutionCondition should fall back to execute the test if more than one main class is found #1395
  • SpringModulithProcessor extracting Javadoc for Kotlin test sources #1388

🔨 Dependency Upgrades

  • Upgrade to Spring Boot 3.5.7 #1424
  • Upgrade to MongoDB 5.5.2 #1423
  • Upgrade to Micrometer 1.15.5 #1422
  • Upgrade to Spring Framework 6.2.12 #1421
  • Upgrade to Micrometer Tracing 1.5.5 #1420
  • Upgrade to jMolecules 2023.3.4 #1419

1.3.10

24 Oct 16:10
1.3.10
4234aaf

Choose a tag to compare

💡 Improvements

  • Fix a typo in the overview docs #1405
  • Update copyright year in index.adoc #1403

🪲 Bugs

  • TestExecutionCondition should fall back to execute the test if more than one main class is found #1396

🔨 Dependency Upgrades

  • Upgrade to Spring Boot 3.4.11 #1417
  • Upgrade to Spring Framework 6.2.12 #1416

2.0 M3

19 Sep 11:04
2.0.0-M3
1c83d58

Choose a tag to compare

2.0 M3 Pre-release
Pre-release

⭐ New Features

  • Revamp event publication lifecycle for JPA #1375
  • Allow serialized execution of event externalization #1370
  • Support for Jackson 3 in Kafka event externalization #1369
  • Support for Jackson 3 in event serialization #1364
  • Overhaul event publication lifecycle #796

💡 Improvements

  • Switch automatic Hexagonal Architecture verification to lenient mode #1366
  • Remove legacy reflection-based event handling in PersistentApplicationEventMulticaster #1356

🔨 Dependency Upgrades

  • Upgrade to jMolecules 2025 RC5 #1377
  • Upgrade to Spring Boot 4.0 M3 #1376
  • Upgrade to Spring Framework 7.0 M9 #1374
  • Upgrade to Micrometer Tracing 1.6 M3 #1373
  • Upgrade to APTK 0.30.5 #1372
  • Upgrade to jMolecules 2023.3.3 #1365
  • Upgrade to Cute 1.8.2 #1351

❤️ Contributors

Thank you to all the contributors who worked on this release:

@tlarbals824

2.0 M2

22 Aug 10:05
2.0.0-M2
e5558b5

Choose a tag to compare

2.0 M2 Pre-release
Pre-release

⭐ New Features

  • Revamp event publication lifecycle for Neo4j #1337
  • Revamp event publication lifecycle for MongoDB #1336

💡 Improvements

  • Improve bootstrap procedure for ApplicationModulesEndpoint #1338

🪲 Bugs

  • Potential NullPointerException in annotation detection in JavaPackage #1341
  • Potential NoClassDefFoundError when jMolecules DDD artifact is missing from the classpath #1333
  • Version compatibility of 1.4 should state Boot 3.5 at compile target #1331

🔨 Dependency Upgrades

  • Upgrade to Spring Boot 4.0 M2 #1354
  • Upgrade to Spring Framework 7.0 M8 #1353

❤️ Contributors

Thank you to all the contributors who worked on this release:

@meistermeier

1.4.3

22 Aug 09:29
1.4.3
364912d

Choose a tag to compare

🪲 Bugs

  • Potential NullPointerException in annotation detection in JavaPackage #1342
  • Potential NoClassDefFoundError when jMolecules DDD artifact is missing from the classpath #1340
  • Version compatibility of 1.4 should state Boot 3.5 at compile target #1339
  • Avoid ConcurrentModificationException in PackageName #1324
  • Remove reference to JGraphT from reference documentation #1323

🔨 Dependency Upgrades

  • Upgrade to Spring Boot 3.5.5 #1350
  • Upgrade to Spring Framework 6.2.10 #1349
  • Upgrade to Micrometer Tracing 1.5.3 #1348

1.3.9

22 Aug 09:28
1.3.9
c1168f4

Choose a tag to compare

🪲 Bugs

  • Avoid ConcurrentModificationException in PackageName #1325

🔨 Dependency Upgrades

  • Upgrade to Spring Boot 3.4.9 #1345
  • Upgrade to Spring Framework 6.2.10 #1344