Skip to content

ArchUnit 1.1.0

Compare
Choose a tag to compare
@codecholeric codecholeric released this 09 Aug 14:55
· 219 commits to main since this release

Bug Fixes

  • Try-Catch-Blocks declared within lambdas will now be detected correctly (see #1069)
  • Fix ArchUnit not being able to find classes loaded by Spring Boot ClassLoader (see #1131; thanks a lot to @odrotbohm)

Enhancements

Core

  • New ImportOption DoNotIncludeGradleTestFixtures (see #949)
  • Reduce all log levels except WARN to TRACE (see #1050)
  • Add support for Java 21 (see #1098)

Library

  • Two new GeneralCodingRules (see #970; thanks a lot to @hankem)
    • ASSERTIONS_SHOULD_HAVE_DETAIL_MESSAGE
    • DEPRECATED_API_SHOULD_NOT_BE_USED
  • TextFileBasedViolationStore is now part of the public API and can thus be used for customization; as a special case of this file names can now be adjusted (see #1046; thanks a lot to @danhaywood)
  • TextFileBasedViolationStore now adds a final new line character to the violation file to better conform to the spec (see #1057; thanks a lot to @pkubowicz)