Skip to content

ArchUnit 1.2.0

Compare
Choose a tag to compare
@codecholeric codecholeric released this 06 Nov 00:30
· 140 commits to main since this release

Enhancements

Core

  • Add support for Java 22 (see #1172; thanks a lot to @hankem)
  • New methods {JavaType/JavaMember}.getAllInvolvedRawTypes() to quickly detect all raw types contributing to a type (e.g. List<? extends Serializable>) or member (e.g. List<? extends Serializable> method(Set<String> args) {..}) (see #723; thanks a lot to @leonardhusmann)

Lang

  • New rules API FieldsShould.{be/notBe}AccessedByMethodsThat(predicate) to prevent fields from being accessed by certain methods (see #857; thanks a lot to @leonardhusmann)

Library

  • New extensive modules rule syntax to support easier checks for modularization (dependency direction, API surface, ...) (compare the user guide; see #1078)

JUnit

Further Acknowledgement