Skip to content

ArchUnit 0.21.0

Compare
Choose a tag to compare
@codecholeric codecholeric released this 22 Aug 17:49
· 735 commits to main since this release

Breaking Changes

  • the type JavaClassList has been removed completely. It was used inconsistently and provided very limited value (convenient way to get the names of the classes). On the other hand having a custom list implementation increases maintenance overhead and limits options in the future. Please replace usages of JavaClassList.getNames() by the static utility HasName.Utils.namesOf(classes) which can be used on any Iterable with elements of type HasName (see #633)

Enhancements

Core

  • JavaMethod now knows its generic parameter types (retrievable via JavaMethod.getParameterTypes()). Furthermore type arguments of generic method parameter types are now part of the JavaClass.directDependencies{From/To}Self (see #640)

Library

  • the PlantUML rule syntax now allows colored components (see #258; thanks a lot to @johthor)

Further Acknowledgement