Commit Graph

127 Commits

Author SHA1 Message Date
Oliver Drotbohm
d9ceec00fb GH-895 - Prepare next development iteration. 2024-10-26 15:20:43 +02:00
Oliver Drotbohm
94b9b3510f GH-895 - Release version 1.1.10. 2024-10-26 15:20:43 +02:00
Oliver Drotbohm
41112d8ef8 GH-880 - Add LICENSE and NOTICE files to binaries. 2024-10-14 22:19:59 +02:00
Oliver Drotbohm
a47bbcc1ab GH-812 - Prepare next development iteration. 2024-09-20 22:33:43 +02:00
Oliver Drotbohm
bf4e0c0602 GH-812 - Release version 1.1.9. 2024-09-20 22:33:43 +02:00
Oliver Drotbohm
c4debfccf6 GH-817 - Properly guard for presence of jMolecules' @Module type.
As @Module is absent from the Kotlin flavor of jMolecules, code that refers to that is now guarded with a more specific check for that type in particular.
2024-09-12 17:09:01 +02:00
Oliver Drotbohm
85e1fdac84 GH-799 - Guard against multiple non-unique module base packages. 2024-09-04 10:37:58 +02:00
Oliver Drotbohm
2668e63525 GH-779 - Prepare next development iteration. 2024-08-23 11:50:36 +02:00
Oliver Drotbohm
bf2617c83b GH-779 - Release version 1.1.8. 2024-08-23 11:50:36 +02:00
Oliver Drotbohm
79bd413f60 GH-766 - Prevent ApplicationModuleInformation from picking up info from nested packages. 2024-08-13 22:08:07 +02:00
Oliver Drotbohm
8ea71a6bb6 GH-763 - Open up ApplicationModules.of(…) to take a DescribedPredicate<? super JavaClass>. 2024-08-13 16:52:09 +02:00
Oliver Drotbohm
8e4ac3f1ed GH-740 - Prepare next development iteration. 2024-07-19 00:46:11 +02:00
Oliver Drotbohm
8a1f94490a GH-740 - Release version 1.1.7. 2024-07-19 00:46:10 +02:00
Oliver Drotbohm
066a62a084 GH-676 - Prepare next development iteration. 2024-06-21 13:21:09 +02:00
Oliver Drotbohm
4cf8e05e11 GH-676 - Release version 1.1.6. 2024-06-21 13:21:09 +02:00
Oliver Drotbohm
e7f2966617 GH-669 - Fix named interface detection in case of nested packages.
If named interfaces are declared in nested packages, the name detection might accidentally pick up the names declared in child packages. We now deliberately only inspect the base package.
2024-06-19 15:31:27 +02:00
Oliver Drotbohm
c82e0ffc3b GH-668 - Dependency checks now explicitly skip module-internal dependencies.
As we process a type's entire type hierarchy for dependencies we might discover a foreign module's internal dependencies for modules that declare allowed dependencies explicitly. Explicitly declared dependencies so far solely verified the target being explicitly listed, which, for internal dependencies does not make sense. We now immediately start checking the source and target modules to be equivalent, in which case we can skip any further processing.
2024-06-19 15:22:46 +02:00
Oliver Drotbohm
56049baa73 GH-643 - Prepare next development iteration. 2024-05-24 12:44:12 +02:00
Oliver Drotbohm
6bdf54bb2e GH-643 - Release version 1.1.5. 2024-05-24 12:44:12 +02:00
Oliver Drotbohm
2c1b2aa371 GH-610 - Additional modulith packages are now considered for application classes. 2024-05-20 20:02:39 +02:00
Oliver Drotbohm
8855ebcf9c GH-596 - Polishing. 2024-05-16 13:28:12 +02:00
Oliver Drotbohm
a6ed890cc0 GH-598 - Invalid dependency into named interface now gets reported properly. 2024-05-16 13:25:09 +02:00
Oliver Drotbohm
6b3e9768d8 GH-596 - Deduplicate violations with the same message.
Moving away from exceptions as carriers for violations.
2024-05-16 13:14:34 +02:00
Oliver Drotbohm
c16751b98b GH-576 - Prepare next development iteration. 2024-04-29 13:52:32 +02:00
Oliver Drotbohm
2a9d3fda2a GH-576 - Release version 1.1.4. 2024-04-29 13:52:32 +02:00
Oliver Drotbohm
a22a3bd617 GH-513 - Prepare next development iteration. 2024-02-23 16:34:58 +01:00
Oliver Drotbohm
268b27b7c3 GH-513 - Release version 1.1.3. 2024-02-23 16:34:58 +01:00
Lukas Dohmen
c23a3eeea5 GH-509 - Fix parameter name to match Javadoc. 2024-02-23 11:46:43 +01:00
Oliver Drotbohm
6efcbea3ec GH-475 - Prepare next development iteration. 2024-01-19 21:43:40 +01:00
Oliver Drotbohm
534f1ba628 GH-475 - Release version 1.1.2. 2024-01-19 21:43:40 +01:00
Oliver Drotbohm
e26d4027f6 GH-464 - Update copyright headers. 2024-01-17 19:47:56 +01:00
Oliver Drotbohm
edaec89ef4 GH-434 - Prepare next development iteration. 2023-12-21 23:28:18 +01:00
Oliver Drotbohm
96cd72ee91 GH-434 - Release version 1.1.1. 2023-12-21 23:28:17 +01:00
Oliver Drotbohm
9ce5b33743 GH-431 - Include JSR 303 ConstraintValidator implementations in bootstrap dependency analysis.
Spring Boot configures Hibernate Validator in a way that the latter looks up the components it needs to instantiate via the Spring container. That in turn then creates prototype instances of the types requested. This means, implementations of e.g. ConstraintValidator do not need to be explicitly marked as Spring beans, but could still declare dependencies to other Spring beans. If such a dependency crosses a module boundary, we currently fail to detect that implicitly established module dependency.

This is now fixed by considering ConstraintValidator implementations Spring beans implicitly in out bootstrap dependency analysis.
2023-12-21 22:29:48 +01:00
Oliver Drotbohm
5d703a5eaf GH-407 - Ignore Spring AOT generated types in architecture model.
We now explicitly exclude classes generated by Spring AOT in the architectural model. For technical reasons, they might introduce dependencies to application components considered module internals otherwise. Also, proxies generated do not need to be considered either.
2023-12-06 14:20:57 +01:00
Oliver Drotbohm
768103fd32 GH-393 - Prepare next development iteration. 2023-11-28 17:09:00 +01:00
Oliver Drotbohm
c6c0c0f500 GH-393 - Release version 1.1.0. 2023-11-24 18:22:06 +01:00
Oliver Drotbohm
20a7474f2f GH-358 - Prepare next development iteration. 2023-11-03 09:02:46 +01:00
Oliver Drotbohm
6336e32d54 GH-358 - Release version 1.1.0-RC2. 2023-11-03 09:02:45 +01:00
Oliver Drotbohm
889c849492 GH-348 - Avoid eager reference to runtime artifact from core starter.
Removed the inclusion of the spring-modulith-runtime artifact from the …-starter-core one to avoid issues in native images in a Spring Modulith default setup. As the artifact is still needed to support ApplicationModuleInitializer implementations, we now explicitly check for the presence of those and verify the artifact is actually available and hint the user at explicitly adding it if missing.
2023-10-27 09:41:26 +02:00
Oliver Drotbohm
69fd64dbf7 GH-341 - Prepare next development iteration. 2023-10-23 09:12:13 +02:00
Oliver Drotbohm
d4cde409a1 GH-341 - Release version 1.1.0-RC1. 2023-10-23 09:12:13 +02:00
Oliver Drotbohm
86f745e5b7 GH-317 - Fix Javadoc. 2023-10-16 08:28:16 +02:00
Oliver Drotbohm
9148a57b02 GH-317 - Detect violations from types located in root packages.
We now create artificial root application modules for all root packages to detect violations (for example, types located in root packages referring to module-internal types).
2023-10-16 07:57:16 +02:00
Oliver Drotbohm
4a857dcddf GH-323 - Move off of Google's Suppliers.memoize(…). 2023-10-15 19:23:08 +02:00
Oliver Drotbohm
cb6d71ba60 GH-319 - Fix ApplicationModule by package name lookup.
Prior to this commit, the lookup for an ApplicationModule would find modules solely depending on the reference string starting with the base package. That means that a module with base package com.acme.foo, a request for com.acme.foobar would've resulted in a positive match, which of course is wrong.

We now match against either the module's base package or against the reference starting with the base package followed by a dot.
2023-10-15 17:29:27 +02:00
Oliver Drotbohm
61fa94ad63 GH-303 - Prepare next development iteration. 2023-09-21 23:35:47 +02:00
Oliver Drotbohm
6f5b3c0baa GH-303 - Release version 1.1.0-M1. 2023-09-21 23:35:47 +02:00
Oliver Drotbohm
ddaf34d4d8 GH-274 - Prepare next development iteration. 2023-08-21 07:00:02 -07:00
Oliver Drotbohm
6197d35937 GH-274 - Release version 1.0.0. 2023-08-21 06:59:57 -07:00