Releases: rweisleder/archunit-spring
Releases · rweisleder/archunit-spring
Release v1.1.0
📝 Rule Description Changes
The descriptions of the following rules have changed:
SpringAsyncRules.AsyncMethodsAreProxyable
SpringAsyncRules.AsyncMethodsHaveSuitableReturnType
SpringAsyncRules.AsyncMethodsNotCalledFromSameClass
If you use these rules with FreezingArchRule.freeze(..)
, you might need to update the stored description in the Violation Store accordingly.
⭐ New Features
- Added rules for Spring Retry, see documentation (#15; thanks @haisi)
- Added rule
SpringBootRules.ApplicationHasOnlyOneSpringBootConfiguration
, see documentation (#17) - Added rule
SpringAsyncRules.EnableAsyncIsPresentIfAsyncMethodsExist
, see documentation - Added rule
SpringCacheRules.EnableCachingIsPresentIfCacheableMethodsExist
, see documentation
🔧 Improvements
SpringCacheRules.CacheableMethodsNotCalledFromSameClass
now detects calls to super classSpringAsyncRules.AsyncMethodsNotCalledFromSameClass
now detects calls to super class- Rules in
SpringAsyncRules
now detect methods declared in classes annotated with@Async
(#8) SpringProxyRules.beProxyable()
now detects methods in interfaces as well as static methods
🐞 Bug Fixes
- Handle AutoConfiguration classes in predicate
springAnnotatedWith
(#13)
💡 Feedback & Feature Requests
Feel free to share your feedback in discussions and open issues for any missing features you'd like to see!
Release v1.0.0
⭐ New Features
- Added
SpringAsyncRules
to check the usage of Spring's support for asynchronous method execution
Release v0.3.0
This is the last release before 1.0.0 will be released.
⚡ Breaking Changes
- Renamed
MergedAnnotationPredicates
toSpringAnnotationPredicates
- Moved
SpringBootRules
to a new packageboot
- Moved
SpringComponentPredicates
andSpringComponentRules
to a new packageframework
The original APIs are still present and marked as deprecated to simplify the migration. They will be removed with the 1.0.0 release.
⭐ New Features
- Added
SpringCacheRules
to check the usage of Spring's generic cache abstraction
🐞 Bug Fixes
- Predicate
springAnnotatedWith
now supportsAccessTarget
correctly (#5) - Predicate
springAnnotatedWith
now ignoresJavaStaticInitializer
Release v0.2.0
⭐ New Features
- Added
SpringBootRules
to check the package structure of Spring Boot applications - Added
SpringComponentRules
to verify the dependencies between@Controller
,@Service
and@Repository
classes
Release v0.1.0
Add missing Maven configuration