github TNG/ArchUnit v0.16.0
ArchUnit 0.16.0

latest releases: v1.1.1, v1.2.2, v1.3.0...
3 years ago

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

Don't miss a new ArchUnit release

NewReleases is sending notifications on new releases.