Skip to content

ArchUnit 0.20.0

Compare
Choose a tag to compare
@codecholeric codecholeric released this 04 Jul 16:16

Bug Fixes

  • onionArchitecture() no longer loses ignored dependencies, if the description is changed afterwards (see #623; thanks a lot to @thmuch)

Enhancements

Core

  • added support for JDK 18 (see #625; thanks a lot to @hankem)
  • new method JavaCodeUnit.getTypeParameters(). Also the bounds of these type parameters have been added to JavaClass.directDependencies{From/To}Self (see #616; thanks a lot to @hankem for extensive reviews)
  • JavaMethod now knows its generic return type (retrievable via JavaMethod.getReturnType()). Furthermore type arguments of generic method return types are now part of the JavaClass.directDependencies{From/To}Self (see #616; thanks a lot to @hankem for extensive reviews)

JUnit

  • upgraded JUnit Platform dependency from 1.7.1 to 1.7.2 (see #628)