Micronaut Core 4.7.0
What's Changed
New Features π
- Add support lost
java.time
classes: by @altro3 in #11142 - feat: nicer error pages for HTML responses by @sdelamo in #11210
- Add ability to disable normalization for property keys in EachProperty by @altro3 in #11216
Bug Fixes π
- Fix for service loader by @andriy-dmytruk in #11229
- KSP: Properly update current round resolver in all helper classes by @dstepanov in #11239
- Correct checking for internal/experimental API usage by @dstepanov in #11249
Other Changes π‘
- Add
MessageBodyHandlerRegistry#getReader
which will fail on missing reader by @dstepanov in #11130 - Cache Micronaut META-INF services by @dstepanov in #11129
- Fix typo: cachedFormatter by @PiyalAhmed in #11150
- Fix typo by @PiyalAhmed in #11167
- Merge 4.6 into 4.7 by @dstepanov in #11172
- Fix typo: errorBody by @PiyalAhmed in #11171
- Polish BeanDefinitionWriter by @PiyalAhmed in #11197
- Checkstyle fixes by @altro3 in #11217
- Use @PreMatching for CORS Preflight request by @dstepanov in #11097
Improvements β
- Replace the DefaultHttpClient constructors with a builder by @yawkat in #11109
- Allow customization of the Bootstrap in NettyClientCustomizer by @yawkat in #11110
- Introduce ByteBody-based server response type by @yawkat in #11094
- Remove JsonView filter by @dstepanov in #11189
- Refactor DefaultHttpClient to use ByteBody for the request body by @yawkat in #11158
- ByteBody-based response handling for the HTTP client by @yawkat in #11177
- HTTP client refactor by @yawkat in #11182
- Correct routing check by @dstepanov in #11225
- Make
MediaType
comparable by @dstepanov in #11226 - Implement pcap logging for netty HTTP client by @yawkat in #11117
- fix(router): get 'uri' mapping default value if no 'uris' found in http annotation by @weesftw in #11187
- RawHttpClient by @yawkat in #11227
Docs π
- Fix typo by @PiyalAhmed in #11179
- Fixed file name and links by @shukawam in #11219
- Remove warning about Logbook bug by @msdousti in #10118
- Docs: Adding KSP support by @ChaimaaeROUAI in #11235
- Fix link to javadoc of HTTP annotation and Micronaut Context Package by @ChaimaaeROUAI in #11245
- fix link to javadoc of AST package by @sdelamo in #11243
- Update introspection documentation by @ChaimaaeROUAI in #11240
Dependency updates π
- fix(deps): update vertx to v4.5.10 by @renovate in #11157
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.8 by @renovate in #11163
- chore(deps): update dependency gradle to v8.10.1 by @renovate in #11175
- fix(deps): update dependency com.squareup.okio:okio to v3.9.1 by @renovate in #11181
- fix(deps): update dependency io.github.classgraph:classgraph to v4.8.176 by @renovate in #11190
- fix(deps): update groovy monorepo to v4.0.23 by @renovate in #11185
- fix(deps): update managed.reactor to v3.6.10 by @renovate in #11195
- chore(deps): update dependency gradle to v8.10.2 by @renovate in #11203
- fix(deps): update dependency io.smallrye:smallrye-fault-tolerance to v6.4.1 by @renovate in #11211
- fix(deps): update dependency io.micronaut.session:micronaut-session to v4.4.0 by @renovate in #11218
- chore(deps): update actions/checkout action to v4.2.0 by @renovate in #11214
- fix(deps): update dependency io.micronaut.rxjava3:micronaut-rxjava3-bom to v3.5.0 by @renovate in #11196
- fix(deps): update dependency org.graalvm.buildtools.native:org.graalvm.buildtools.native.gradle.plugin to v0.10.3 by @renovate in #11176
- fix(deps): update dependency io.micronaut.validation:micronaut-validation-bom to v4.7.0 by @renovate in #11222
- fix(deps): update dependency io.github.classgraph:classgraph to v4.8.177 by @renovate in #11230
- fix(deps): update dependency org.testcontainers:spock to v1.20.2 by @renovate in #11234
- fix(deps): update netty monorepo to v4.1.114.final by @renovate in #11236
- fix(deps): update asm to v9.7.1 by @renovate in #11238
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.9 by @renovate in #11246
- fix(deps): update dependency net.bytebuddy:byte-buddy to v1.15.3 by @renovate in #11237
- fix(deps): update dependency me.champeau.gradle:japicmp-gradle-plugin to v0.4.4 by @renovate in #11250
New Contributors
- @shukawam made their first contribution in #11219
- @msdousti made their first contribution in #10118
- @ChaimaaeROUAI made their first contribution in #11235
- @weesftw made their first contribution in #11187
Full Changelog: v4.6.6...v4.7.0