Skip to content

ArchUnit 0.16.0

Compare
Choose a tag to compare
@codecholeric codecholeric released this 31 Jan 20:27
· 1 commit to release-0.16.0 since this release

Bug Fixes

  • Fix modulepath issue where sometimes classes on the modulepath would not be imported correctly (see #497)
  • FreezingArchRule default violation store now works correctly cross-platform with regards to line separators (see #458, #508)

Enhancements

Core

  • JavaClass now knows its generic superclass (retrievable via JavaClass.getSuperclass()). Furthermore type arguments of generic superclasses are now part of the JavaClass.directDependencies{From/To}Self (see #503)
  • JavaClass/JavaCodeUnit now know their references to other class objects (e.g. Example in List.of(Example.class)). Furthermore class objects are now part of the JavaClass.directDependencies{From/To}Self (see #518)
  • Added new ImportOption.OnlyIncludeTests to execute ArchRules only on test classes (see #501; thanks a lot to @pstanoev)

Further Acknowledgement

  • Thanks a lot to @rweisleder for improving the ArchUnit CI
  • Thanks a lot to @perlun for improving the Imprint
  • Thanks a lot to @sullis for upgrading the SLF4J dependency
  • Thanks a lot to @Bananeweizen for improving the user guide