Lifecycle Enhancements for Micronaut Extension
New and Enhanced Features
-
Upgraded to KotlinX 1.7.2
-
Upgraded to JUnit Platform 1.9.3
-
Upgraded to Kotlin 1.8.22
-
Added interface method
LifecycleContext.findRepeatableAnnotations(annotationClass)
and implementations in all subtypes. -
Performance improvement for
@UniqueElements
. Many thanks to DirkToewe.
See #491. -
Added interface
MethodLifecycleContext
as a supertype of both
PropertyLifecycleContext
andTryLifecycleContext
.
Breaking Changes
- The new interface
MethodLifecycleContext
is a supertype of both
PropertyLifecycleContext
andTryLifecycleContext
.
This could lead to compile-time errors in rare cases of self-implemented
context classes.
Bug Fixes
- Fixed bug in
AroundPropertyHook
extensions combined with@AfterProperty
methods.
See Issue 473.