What's Changed
Breaking Changes 🛠
New Features 🎉
- Support for creating AOP proxies at Runtime if necessary by @dstepanov in #12223
Bug Fixes 🐞
- Fix missing annotations with
RECORD_COMPONENTtarget by @dstepanov in #12184
Improvements ⭐
- Improvements to the bean context in v5 by @dstepanov in #12045
- Precalculate indexes and isParallel for beans by @dstepanov in #12050
- Avoid using service loading accessible classes by @dstepanov in #12067
- Bean context improvements by @dstepanov in #12066
- Isolate tests + fix looking for all beans by @dstepanov in #12076
- Precalculate replaces at compilation time by @dstepanov in #12086
- Remove TypeThrashingTest by @yawkat in #12199
- test: reduce test pollution with spec.name by @sdelamo in #12208
- executable method processor and eager initialization by @sdelamo in #12180
- Improvements to bean context qualifiers by @dstepanov in #12053
- Fix lookup of annotation processors in Java 25 by @melix in #12175
- test: isolate ConstantPropertySourceSpec in its own module by @sdelamo in #12195
- test: ProxyBackpressureTest run localy reduced cvssource by @sdelamo in #12196
- test: ignore LoomCarrierSpec for MacOS by @sdelamo in #12197
- build: disable htmlSanityCheck by @sdelamo in #12198
- Introduce a Micronaut module descriptor by @melix in #12192
- Improvements to runtime annotation processors by @dstepanov in #12068
- build: accept version and library regiression from netty-contrib-mult… by @sdelamo in #12219
- Refactor
InterceptorRegistryto use@NullMarkedby @dstepanov in #12224 RuntimeProxycan be@Retention(SOURCE)to eliminate the annotation by @dstepanov in #12227
JSpecify
- use Jspecify annotations in APIs by @sdelamo in #12200
- JSpecify @nullable with @QueryValue constructor parameter by @sdelamo in #12216
Dependency updates 🚀
- fix(deps): update dependency com.github.javaparser:javaparser-symbol-solver-core to v3.27.1 by @renovate[bot] in #12210
- fix(deps): update dependency com.github.spotbugs:spotbugs-annotations to v4.9.8 by @renovate[bot] in #12212
- fix(deps): update dependency io.github.classgraph:classgraph to v4.8.184 by @renovate[bot] in #12213
- fix(deps): update dependency org.graalvm.buildtools.native:org.graalvm.buildtools.native.gradle.plugin to v0.11.3 by @renovate[bot] in #12221
Groovy 5
Jackson 3
Kotlin
Logback Classic
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.20 by @renovate[bot] in #12162
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.21 by @renovate[bot] in #12186
Micronaut Modules
CI ⚙️Build 🐘
- chore(deps): update gradle to v9.2.1 by @renovate[bot] in #12204
- chore(deps): update softprops/action-gh-release action to v2.4.2 by @renovate[bot] in #12174
GraalVM
- chore(deps): update graalvm/setup-graalvm action to v1.4.2 by @renovate[bot] in #12160
- chore(deps): update graalvm/setup-graalvm action to v1.4.3 by @renovate[bot] in #12228
Micronaut Gradle Plugin
- chore(deps): update plugin io.micronaut.build.shared.settings to v7.6.6 by @renovate[bot] in #12155
- chore(deps): update plugin io.micronaut.build.shared.settings to v8.0.0-m9 by @renovate[bot] in #12166
- fix(deps): update dependency io.micronaut.build.internal:micronaut-gradle-plugins to v7.6.6 by @renovate[bot] in #12214
Full Changelog: v4.10.8...v5.0.0-M1