Sourced from com.tngtech.archunit:archunit-junit5-api's releases.
ArchUnit 1.3.0
Bug Fixes
- Fix ArchUnit importer being unable to import classes from Spring Boot Nested jars (see #1224)
- Fix
OnionArchitecture
losingwithOptionalLayers()
on description override (see #1185)- Fix
JavaType.getAllInvolvedRawTypes()
recursing infinitely for recursive type definitions (see #1237)- Fix
@ArchTest
fields in base classes of@ArchIgnore
d classes not being ignored (see #1277)Enhancements
Core
- Add support for Java 23 (see #1275; thanks a lot to
@hankem
)- New method
JavaType.traverseSignature(..)
to examine parts of a type signature more conveniently (see 8456198a22c07270f032440acef4acb02b9e5193 of #1276)Lang
- Make handling specific violating object types with
ViolationHandler
more convenient (see #1251)Library
- Jakarta EE annotations are now considered in
GeneralCodingRules.NO_CLASSES_SHOULD_USE_FIELD_INJECTION
(see #1285; thanks a lot to@hankem
)- PlantUML rules now ignore dependencies between unparsable objects (e.g. a database instead of a regular component) (see #1132; thanks a lot to
@tfij
)- PlantUML rules now optionally support the
component
keyword incomponent [Example] <<..example..>>
(see #1223; thanks a lot to@tfij
)JUnit
@ArchTest
s included viaArchTests.in(..)
now report their full "inclusion path" in the test report (see #452, #1279)- Specific
@ArchTest
rules can now be executed by setting the ArchUnit propertyjunit.testFilter=rule_field_name
/ setting the system property-Darchunit.junit.testFilter=...
(compare the user guide; see #1280)Further Acknowledgement
dc7238f
prepare release 1.3.0e4fa41e
update ArchUnit-Examples dependencies on release (#1290)0101fe0
update ArchUnit-Examples dependencies on release2ea0e72
Bump com.gradle.enterprise from 3.17 to 3.17.16e20006
Extend user guide's domain model overview (#1221)fe1ef05
upgrade asciidoctor dependencies8da60d5
hide empty fields & methods of class diagrams3489966
render PlantUML diagrams as (interactive) SVGs3a1d857
remove AccessTarget hierarchy from domain model overview diagram7873bd1
extend domain model overview diagram