Skip to content

Lifecycle Enhancements for Micronaut Extension

Compare
Choose a tag to compare
@jlink jlink released this 04 Jul 10:02
· 297 commits to main since this release

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 and TryLifecycleContext.

Breaking Changes

  • The new interface MethodLifecycleContext is a supertype of both
    PropertyLifecycleContext and TryLifecycleContext.
    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.