github TNG/ArchUnit v0.19.0
ArchUnit 0.19.0

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

Bug Fixes

  • The last release archive contained a couple of classes from dependencies that were not relocated and thus lead to duplicate classes warnings in some environments. These classes have been removed (see #593)

Enhancements

Core

  • JavaField now knows its generic type (retrievable via JavaField.getType()). Furthermore type arguments of generic field types are now part of the JavaClass.directDependencies{From/To}Self (see #595; thanks a lot to @hankem for extensive reviews)

Lang

  • new method noClasses()...should().transitivelyDependOnClassesThat(..)... (see #575; thanks a lot to @hankem)
  • the failure descriptions of ArchRules can not be customized (see #343; thanks a lot to @Farbauti89)

Library

  • new method layeredArchitecture()...mayOnlyAccessLayers(..)... (see #592; thanks a lot to @GiorgadzeLuka)
  • improved readability for cycle rule violations (see #369; thanks a lot to @jzheaux)
  • FreezingArchRule can now refreeze all violations, if current violations should simply be added to the ViolationStore without any failure (see #510)

JUnit

  • annotations of test methods and fields are now passed to the TestDescription by the JUnit 4 test support (see #552)

Further Acknowledgement

Don't miss a new ArchUnit release

NewReleases is sending notifications on new releases.