Releases: micronaut-projects/micronaut-core
Releases · micronaut-projects/micronaut-core
Micronaut Core 4.7.2
What's Changed
Bug Fixes 🐞
- Postpone to next round if annotation class is resolved. Fixes #11287 by @graemerocher in #11291
Improvements ⭐
- Improve displaying of circular dependency error by @andriy-dmytruk in #11299
Docs 📖
Dependency updates 🚀
- chore(deps): update plugin io.micronaut.build.shared.settings to v7.2.3 by @renovate in #11279
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.12 by @renovate in #11283
- chore(deps): update graalvm/setup-graalvm action to v1.2.5 by @renovate in #11289
- fix(deps): update dependency io.micronaut.build.internal:micronaut-gradle-plugins to v7.2.3 by @renovate in #11292
- chore(deps): update softprops/action-gh-release action to v2.0.9 by @renovate in #11296
- fix(deps): update dependency io.netty:netty-tcnative-boringssl-static to v2.0.69.final by @renovate in #11301
- fix(deps): update dependency net.bytebuddy:byte-buddy to v1.15.9 by @renovate in #11302
- fix(deps): update dependency net.bytebuddy:byte-buddy-agent to v1.15.10 by @renovate in #11305
Full Changelog: v4.7.1...v4.7.2
Micronaut Core 4.7.1
What's Changed
New Features 🎉
Bug Fixes 🐞
- Fix ByteBody stream writing for HTTP/2 by @yawkat in #11261
- Fix controller
@Body Object
parameters by @yawkat in #11267
Docs 📖
Dependency updates 🚀
- fix(deps): update dependency net.bytebuddy:byte-buddy to v1.15.4 by @renovate in #11251
- chore(deps): update graalvm/setup-graalvm action to v1.2.4 by @renovate in #11254
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.11 by @renovate in #11258
- fix(deps): update dependency io.micronaut.build.internal:micronaut-gradle-plugins to v7.2.2 by @renovate in #11264
- chore(deps): update plugin io.micronaut.build.shared.settings to v7.2.2 by @renovate in #11262
- fix(deps): update dependency net.bytebuddy:byte-buddy to v1.15.5 by @renovate in #11265
- fix(deps): update dependency net.bytebuddy:byte-buddy-agent to v1.15.5 by @renovate in #11269
- fix(deps): update dependency net.bytebuddy:byte-buddy to v1.15.7 by @renovate in #11274
Other Changes 💡
New Contributors
Full Changelog: v4.7.0...v4.7.1
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
Micronaut Core 4.6.6
What's Changed
Bug Fixes 🐞
- Fix outer injection point of constructor by @dstepanov in #11199
- Fix forwarding null when CancellableMonoSink is cancelled by @yawkat in #11221
Docs 📖
- Fix broken links in builtInExceptionHandlers.adoc by @graemerocher in #11180
Dependency updates 🚀
Other Changes 💡
Full Changelog: v4.6.5...v4.6.6
Micronaut Core 4.6.5
What's Changed
Bug Fixes 🐞
- Skip classes from introspection generation that are postponed by @graemerocher in #11155
- Store enum values as strings by @dstepanov in #11160
- Fix JsonView and Optional return type by @dstepanov in #11170
- Skip error routes when initial processing of malformed request fails by @yawkat in #11161
- Fix reentrant subscribe in StreamingNettyByteBody by @yawkat in #11051
Improvements ⭐
Dependency updates 🚀
Other Changes 💡
- Ignore any errors when getting jrt provider by @dstepanov in #11166
Full Changelog: v4.6.4...v4.6.5
Micronaut Core 4.6.4
What's Changed
Bug Fixes 🐞
- Fix stream backpressure when compressing by @yawkat in #11115
- Fix inject remapped beans with type arguments by @dstepanov in #11145
Dependency updates 🚀
- fix(deps): update dependency io.netty:netty-tcnative-boringssl-static to v2.0.66.final by @renovate in #11112
- fix(deps): update dependency com.github.javaparser:javaparser-symbol-solver-core to v3.26.2 by @renovate in #11147
- fix(deps): update dependency io.micronaut.reactor:micronaut-reactor-bom to v3.5.0 by @renovate in #11133
- fix(deps): update dependency io.micronaut.groovy:micronaut-runtime-groovy to v4.4.0 by @renovate in #11132
- fix(deps): update dependency io.micronaut.aws:micronaut-aws-bom to v4.7.1 by @renovate in #11126
- fix(deps): update dependency io.micronaut.rxjava2:micronaut-rxjava2-bom to v2.5.0 by @renovate in #11148
Other Changes 💡
- Update to the IDE guide for VS Code, which was out of date by @krisfoster in #11093
- Deprecate
MediaTypeCodec
and use Message Body Writer / Reader API for clients by @dstepanov in #11121 - Fix issue with root routing + improve tests by @dstepanov in #11123
- Add Kotlin Graalvm reproducer by @dstepanov in #11135
- Fix typo: localTransformers by @PiyalAhmed in #11146
New Contributors
- @krisfoster made their first contribution in #11093
- @PiyalAhmed made their first contribution in #11146
Full Changelog: v4.6.3...v4.6.4
Micronaut Core 4.6.3
What's Changed
Bug Fixes 🐞
- Fix NettyBodyAdapter backpressure for empty buffers by @yawkat in #11107
- Json body handler should be selected for ALL media type by @dstepanov in #11108
Dependency updates 🚀
- fix(deps): update dependency io.micronaut.build.internal:micronaut-gradle-plugins to v7.2.1 by @renovate in #11105
- chore(deps): update dependency gradle to v8.10 by @renovate in #11106
Full Changelog: v4.6.2...v4.6.3
Micronaut Core 4.6.2
What's Changed
Bug Fixes 🐞
- Correct custom media-type resolving by @dstepanov in #11102
- KSP: Fix interceptors with parameter defaults by @dstepanov in #11103
Dependency updates 🚀
- fix(deps): update dependency net.bytebuddy:byte-buddy to v1.14.19 by @renovate in #11096
- fix(deps): update dependency io.github.classgraph:classgraph to v4.8.175 by @renovate in #11099
- fix(deps): update dependency net.bytebuddy:byte-buddy-agent to v1.14.19 by @renovate in #11100
- chore(deps): update plugin io.micronaut.build.shared.settings to v7.2.1 by @renovate in #11104
Full Changelog: v4.6.1...v4.6.2
Micronaut Core 4.6.1
What's Changed
Bug Fixes 🐞
- Issue with Requires condition with missingClasses as string values by @radovanradic in #11087
- No-body default response should be NO_CONTENT by @dstepanov in #11086
- Fix recognition of reactive types by @dstepanov in #11085
KSP
- Fix overridden suspended method by @dstepanov in #11090
Dependency updates 🚀
- fix(deps): update managed.reactor to v3.6.9 by @renovate in #11088
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.7 by @renovate in #11091
New Contributors
- @radovanradic made their first contribution in #11087
Full Changelog: v4.6.0...v4.6.1
Micronaut Core 4.6.0
What's Changed
New Features 🎉
- Reintroduce build time init of compilation time metadata by @graemerocher in #10950
Bug Fixes 🐞
- Fix NPE in
BeanDefinitionProducer
by @dstepanov in #10956 - Correct cookies in simple request/response by @dstepanov in #10973
- Fix client channel option configuration by @yawkat in #10979
- KSP: Simple Java properties should have access to field annotations by @dstepanov in #11005
- Use ReentrantLock instead of synchronized in CancellableMonoSink by @yawkat in #11015
- Fix returning unit from suspended methods by @yawkat in #11006
- Allow DELETE request body in http-client-jdk by @yawkat in #11050
- KSP: Generate beans in the process method instead in the finish method by @dstepanov in #11052
- Fix resolution of
@Retryable(value=)
attribute by @Kushal-Dalasaniya in #11061 - Correct order of body handlers by @dstepanov in #11069
- Fix usage of
@Header(name="..")
by @dstepanov in #11060
Improvements ⭐
- Apply code improvements suggested by IDE by @dstepanov in #10906
- EachBean: Allow to inject the origin bean and the registration by @dstepanov in #10902
- Cleanup micronaut-router by @altro3 in #10935
- Properly handle missing classes in metadata + precalculated requirements by @dstepanov in #10936
- Support unix domain sockets for the access log handler by @yawkat in #10940
- Add config option for DNS resolution modes by @yawkat in #10937
- Don't store enum values. Store a class and the enum name instead by @dstepanov in #10963
- Add config options for form parsing limits by @yawkat in #10967
- Correct reading HTTP client response body without content type +
ByteBuffer
converters by @dstepanov in #10975 - Add a reflection util class to extract generic type and annotations for a class by @dstepanov in #10962
- Add
toString
for synthesized annotations by @dstepanov in #10984 - Type pollution test by @yawkat in #10918
- Support binding RouteMatch in server filter methods by @yawkat in #10961
- Code cleanup for inject-java by @altro3 in #10949
- Improvements to HTTP client timeout handling by @yawkat in #10983
- Code cleanup for io.micronaut.http.uri by @altro3 in #10857
- Allow for
@EachBean
to delegate the generics to the newly created bean definition by @dstepanov in #11003 - #9607: Endpoint path must support URI path as per rfc3986 appendix-B by @pragyamutluru in #10998
- Improve message body handlers by @dstepanov in #11002
- Correct HTTP client body handler by @dstepanov in #11019
- Implement
@PreMatching
request filter methods by @dstepanov in #11017 - 10799 deduce cloud environment app engine by @pragyamutluru in #11035
- Can't find micronautserviceconfigs when running as jlink-ed application by @rfscholte in #10982
- imp: remove @experimental from ServerFilter by @sdelamo in #11057
- Avoid using
ElementQuery#named
by @dstepanov in #11055 - Http server: Allow to disable not-found on missing body by @dstepanov in #11059
- Remove old HttpBody API by @yawkat in #11064
- Add API to access main context from bootstrap context by @yawkat in #11065
- Add a ByteBody-based write API by @yawkat in #11078
Dependency updates 🚀
- Update dependency com.fasterxml.jackson.dataformat:jackson-dataformat-yaml to v2.17.2 by @renovate in #10966
- Update dependency me.champeau.gradle:japicmp-gradle-plugin to v0.4.3 by @renovate in #10959
- chore(deps): update plugin io.micronaut.build.shared.settings to v6.7.1 by @renovate in #10970
- fix(deps): update dependency org.graalvm.nativeimage:svm to v23.1.4 by @renovate in #10985
- fix(deps): update micronaut.test to v4.4.0 by @renovate in #10986
- fix(deps): update vertx to v4.5.9 by @renovate in #10991
- chore(deps): update kotlin monorepo to v1.9.25 by @renovate in #10999
- fix(deps): update dependency net.bytebuddy:byte-buddy to v1.14.18 by @renovate in #11000
- fix(deps): update dependency net.bytebuddy:byte-buddy-agent to v1.14.18 by @renovate in #11001
- chore(deps): update managed.ksp to v1.9.25-1.0.20 by @renovate in #11008
- fix(deps): update netty monorepo to v4.1.112.final by @renovate in #11013
- fix(deps): update dependency org.testcontainers:spock to v1.20.1 by @renovate in #11034
- fix(deps): update dependency io.smallrye:smallrye-fault-tolerance to v6.4.0 by @renovate in #11020
- fix(deps): update selenium by @renovate in #11036
- fix(deps): update dependency com.github.javaparser:javaparser-symbol-solver-core to v3.26.1 by @renovate in #10886
- fix(deps): update managed.reactor to v3.6.8 by @renovate in #10867
- fix(deps): update dependency jakarta.persistence:jakarta.persistence-api to v3.2.0 by @renovate in #10865
- fix(deps): update dependency io.micronaut.rxjava3:micronaut-rxjava3-bom to v3.4.0 by @renovate in #10911
- fix(deps): update dependency io.micronaut.aws:micronaut-aws-bom to v4.6.0 by @renovate in #10894
- fix(deps): update dependency com.blazebit:blaze-persistence-core-impl to v1.6.12 by @renovate in #11056
- fix(deps): update dependency io.micronaut.rxjava2:micronaut-rxjava2-bom to v2.4.0 by @renovate in #10910
- fix(deps): update dependency io.micronaut.reactor:micronaut-reactor-bom to v3.4.1 by @renovate in #10901
- fix(deps): update dependency org.awaitility:awaitility to v4.2.2 by @renovate in #11062
- chore(deps): update graalvm/setup-graalvm action to v1.2.3 by @renovate in #11066
- fix(deps): update dependency org.slf4j:slf4j-api to v2.0.16 by @renovate in #11067
- chore(deps): update actions/checkout action to v4 by @renovate in #11038
- fix(deps): update selenium to v4.23.1 by @renovate in #11073
- chore(deps): update actions/setup-java action to v4 by @renovate in #11074
GraalVM 🏆
Other Changes 💡
- Uri template rewrite by @dstepanov in #10921
- Add
MatchArgumentQualifier
from Serde by @...