Micronaut Core v4.5.0
What's Changed
New Features π
- Add support for optional field/method injection by @graemerocher in #10830
- NIO domain socket support by @yawkat in #10852
- New request body API by @yawkat in #10781
Bug Fixes π
- KSP: Correctly handle Java files compiled by KSP by @dstepanov in #10831
- Update SslSpec.groovy by @yawkat in #10853
- Interceptor should intercept non-abstract methods for abstract classes by @dstepanov in #10850
Improvements β
- Add support for json-schema media type. by @wetted in #10724
- Enable Http2ServerHandler by default by @yawkat in #10732
- Support accessing the injection point qualifier of each-beans by @dstepanov in #10753
- refactor: use Blocking HTTP Client in HealthEndpointSpec by @sdelamo in #10780
- HTTP/2 prior knowledge support by @yawkat in #10761
- Support ExecuteOn annotation with ServerWebSocket by @jeremyg484 in #10772
- Add API to access SSL session by @yawkat in #10792
- allow registering bean definitions prior to startup by @graemerocher in #10800
- Remove unnecessary noise printed during a normal build. by @mikehearn in #10769
- Fix exception message by @alvarosanchez in #10818
- Improve ability to introspect bean context prior to start by @graemerocher in #10805
- Make behaviour of @DefaultImplementation consistent by @graemerocher in #10820
- improve BeanProvider API by adding lookup methods by @graemerocher in #10824
- Small performance improvements by @dstepanov in #10845
- Add more media types by @altro3 in #10846
- Remove unnecessary semicolon by @altro3 in #10856
- Merge ConfigurableUriNamingStrategy into HyphenatedUriNamingStrategy by @yawkat in #10860
- Add HEAD_BODY attribute by @yawkat in #10859
Docs π
Dependency updates π
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.4 by @renovate in #10695
- fix(deps): update dependency org.slf4j:slf4j-api to v2.0.13 by @renovate in #10710
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.5 by @renovate in #10707
- fix(deps): update groovy monorepo to v4.0.21 by @renovate in #10703
- fix(deps): update netty monorepo to v4.1.109.final by @renovate in #10716
- fix(deps): update dependency io.micronaut.groovy:micronaut-runtime-groovy to v4.3.0 by @renovate in #10717
- fix(deps): update dependency com.squareup.okio:okio to v3.9.0 by @renovate in #10668
- fix(deps): update dependency org.graalvm.nativeimage:svm to v23.1.3 by @renovate in #10748
- fix(deps): update dependency com.fasterxml.jackson.dataformat:jackson-dataformat-yaml to v2.17.0 by @renovate in #10749
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.6 by @renovate in #10739
- fix(deps): update dependency io.micronaut.session:micronaut-session to v4.3.0 by @renovate in #10774
- chore(deps): update dependency io.micronaut.build.internal:micronaut-gradle-plugins to v6.7.1 by @renovate in #10764
- fix(deps): update dependency io.micronaut.rxjava3:micronaut-rxjava3-bom to v3.3.0 by @renovate in #10751
- fix(deps): update dependency io.micronaut.validation:micronaut-validation-bom to v4.5.0 by @renovate in #10778
- fix(deps): update dependency io.smallrye:smallrye-fault-tolerance to v6.3.0 by @renovate in #10779
- fix(deps): update dependency org.apache.logging.log4j:log4j-core to v2.23.1 by @renovate in #10791
- fix(deps): update netty monorepo to v4.1.110.final by @renovate in #10848
- fix(deps): update managed.jackson to v2.17.1 by @renovate in #10815
- fix(deps): update dependency org.testcontainers:spock to v1.19.8 by @renovate in #10814
- chore(deps): update dependency org.graalvm.buildtools.native:org.graalvm.buildtools.native.gradle.plugin to v0.10.2 by @renovate in #10840
- fix(deps): update dependency com.fasterxml.jackson.dataformat:jackson-dataformat-yaml to v2.17.1 - autoclosed by @renovate in #10802
- Update Kotlin and KSP by @dstepanov in #10854
Regressions π§
- #10797 Re-add Try-Catch for ConfigurationExceptions To DefaultPropertyPlaceholderResolver by @helios2k6 in #10798
Other Changes π‘
- Add ability to get constantValue for final fields by @altro3 in #10693
- build: expose context-propagation as api from http by @sdelamo in #10721
- Add jackson dataformat libs to managed block by @altro3 in #10709
- Handle primitive HTTP client responses with MessageBodyReader by @kevin-wise in #10699
- adding zip gzip and gpx to MediaType, issue #10673 by @PeterFokkinga in #10747
- Do not parallelize definition building if it gives no advantage by @andriy-dmytruk in #10776
- org.jetbrains.annotations.NotNull -> io.micronaut.core.annotation.NonNull by @altro3 in #10855
New Contributors
- @bitsnaps made their first contribution in #10736
- @PeterFokkinga made their first contribution in #10747
- @helios2k6 made their first contribution in #10798
Full Changelog: v4.4.10...v4.5.0