Skip to content

ArchUnit 0.23.1

Compare
Choose a tag to compare
@codecholeric codecholeric released this 27 Feb 15:34
· 569 commits to main since this release

Bug Fixes

  • Fix exception Never found a JavaCodeUnit that matches supposed origin... occurring with Kotlin inline functions where the descriptor of a method deviates from the signature (this was introduced by checking the return type of the method as well when looking for a call origin in #714; see #804, #807)
  • Fix optional layers of LayeredArchitecture failing with the new default behavior archRule.failOnEmptyShould = true (see #809; thanks a lot to @oberprah)

Enhancements

  • Log automatic resolution configuration on debug to reduce log clutter (see #802)
  • Add new Method ArchRule.allowEmptyShould(boolean) to override the configured archRule.failOnEmptyShould configuration on a per rule basis (see #803, #806, #808; thanks a lot to @oberprah)