v4.2.0
版本发布时间: 2023-11-13 00:25:45
micronaut-projects/micronaut-core最新发布版本:v4.2.0(2023-11-13 00:25:45)
What's Changed
New Features 🎉
- Add StreamingFileUpload.asInputStream by @yawkat in https://github.com/micronaut-projects/micronaut-core/pull/9787
- Add DefaultHttpClient constructor with ssl builder by @yawkat in https://github.com/micronaut-projects/micronaut-core/pull/9875
- Facilitate troubleshooting with trace logging for health check results when
endpoints.health.details-visible
is unavailable. by @wetted in https://github.com/micronaut-projects/micronaut-core/pull/9895 - Respect @Format annotation for fields passed as http request body arguments by @oujesky in https://github.com/micronaut-projects/micronaut-core/pull/9883
- feat: dispatch OPTIONS requests by @sdelamo in https://github.com/micronaut-projects/micronaut-core/pull/10011
- Implement zealous block detection for HttpClient by @yawkat in https://github.com/micronaut-projects/micronaut-core/pull/10010
KSP
- KSP: skip
ExecutableVisitor
warning for default parameters by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9833 - KSP: Implement annotation defaults retrieval by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9786
- KSP: performance improvements by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9832
Bug Fixes 🐞
- Add alias annotations before the stereotypes by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9942
Improvements ⭐
- Polish
DefaultMutableConversionService
by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9744 - Performance optimizations by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9701
- imp: build route with a media type other than JSON by @sdelamo in https://github.com/micronaut-projects/micronaut-core/pull/9756
- Performance improvement and cleanup of
PropertySourcePropertyResolver
by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9766 - Changing Jakarta provide to
BeanProvider
as it's lazy by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9779 - Fix processing order of introduced method in Java by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9784
- Small bean context optimizations by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9788
- Correct how maps/sets are initialized with a correct size by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9834
- Improve default annotation values by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9838
- Support generating source files by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9960
- Improve usability of @Mapper annotation by @graemerocher in https://github.com/micronaut-projects/micronaut-core/pull/9980
- Replace DEFAULT_EVENT_LOOP_THREADS with a lazy getter by @yawkat in https://github.com/micronaut-projects/micronaut-core/pull/9815
- Bind form values as an array to simplify deserialization by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/10070
- Remove unused imports by @altro3 in https://github.com/micronaut-projects/micronaut-core/pull/10039
- Add BinaryTypeConfiguration by @timyates in https://github.com/micronaut-projects/micronaut-core/pull/9530
- AST: Support resolving the class element represented by
GenericElement
by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9757 - Another HTTP filters refactoring by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9722
- Skip calling
containsBean
forio.micronaut.context.BeanProvider
by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9768 - Implement enum constant in kotlin element factory by @altro3 in https://github.com/micronaut-projects/micronaut-core/pull/9774
- Conversion service improvements by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9770
- Improve bean qualifiers by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9778
- Add missing
@Override
annotations by @altro3 in https://github.com/micronaut-projects/micronaut-core/pull/10040 - change comment copy by @sdelamo in https://github.com/micronaut-projects/micronaut-core/pull/10103
- imp: avoid name shadowning of result by @sdelamo in https://github.com/micronaut-projects/micronaut-core/pull/10101
- Text proofreading by @altro3 in https://github.com/micronaut-projects/micronaut-core/pull/10038
- imp: Exception 'java.io.IOException' is never thrown in the method by @sdelamo in https://github.com/micronaut-projects/micronaut-core/pull/10102
- Checkstyle fixes. Remove tests conditions for JDK version less 17 by @altro3 in https://github.com/micronaut-projects/micronaut-core/pull/10045
Tests ✅
- Fix frequent CI failures of MDCReactorSpec by @jeremyg484 in https://github.com/micronaut-projects/micronaut-core/pull/10031
- Add tests clarifying annotations on hidden methods by @dstepanov in https://github.com/micronaut-projects/micronaut-core/pull/9821
- test: set explicitely WRITE_IN_METAINF=false by @sdelamo in https://github.com/micronaut-projects/micronaut-core/pull/9792
- Move old tests from JUnit4 to JUnit Jupiter by @altro3 in https://github.com/micronaut-projects/micronaut-core/pull/10041
- tck: RequestUriTest by @sdelamo in https://github.com/micronaut-projects/micronaut-core/pull/9986
Docs 📖
- docs: how to use the Micronaut ResourceLoader API with example using ResourceResolver by @wetted in https://github.com/micronaut-projects/micronaut-core/pull/10054
- Fixes in adoc format by @altro3 in https://github.com/micronaut-projects/micronaut-core/pull/10037
- docs: fix broken, stale, and deprecated links in user guide by @wetted in https://github.com/micronaut-projects/micronaut-core/pull/9819
- Clarify how to return text-plain responses for answers others than Strings by @wetted in https://github.com/micronaut-projects/micronaut-core/pull/9911
- Docs: Update reference field name in explaination by @dnyaneshwar2023 in https://github.com/micronaut-projects/micronaut-core/pull/10093
Dependency updates 🚀
- fix(deps): update dependency com.fasterxml.jackson.core:jackson-databind to v2.15.3 by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/9988
- fix(deps): update netty monorepo to v4.1.101.final by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/10097
- fix(deps): update managed.jackson to v2.15.3 by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/9997
- fix(deps): update asm to v9.6 by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/10047
- chore(deps): update plugin me.champeau.jmh to v0.7.2 by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/10043
- fix(deps): update dependency com.squareup.okio:okio to v3.6.0 by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/10064
- fix(deps): update dependency io.netty.incubator:netty-incubator-codec-http3 to v0.0.22.final by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/10081
- fix(deps): update dependency com.github.javaparser:javaparser-symbol-solver-core to v3.25.6 by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/10057
- Merge branch '4.1.x' into '4.2.x' by @sdelamo in https://github.com/micronaut-projects/micronaut-core/pull/10099
Kotlin
- Update Kotlin to 1.9.20 by @timyates in https://github.com/micronaut-projects/micronaut-core/pull/10059
- Update kotlin to 1.9.10 by @sdelamo in https://github.com/micronaut-projects/micronaut-core/pull/9793
Micronaut Modules
Micronaut AWS
- fix(deps): update dependency io.micronaut.aws:micronaut-aws-bom to v4.1.1 by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/10065
Micronaut Groovy
- fix(deps): update dependency io.micronaut.groovy:micronaut-runtime-groovy to v4.1.0 by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/10088
Micronaut Reactor
- build: Reactor 3.5.11 and Micronaut Reactor 3.0.3 by @sdelamo in https://github.com/micronaut-projects/micronaut-core/pull/9966
- fix(deps): update dependency io.micronaut.reactor:micronaut-reactor-bom to v3.0.4 by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/10015
CI ⚙️Build 🐘
- Use the current JDK for testing, but 17 for building by @timyates in https://github.com/micronaut-projects/micronaut-core/pull/9989
- Add Java 21 by @timyates in https://github.com/micronaut-projects/micronaut-core/pull/9978
- Fix develocity badge by @timyates in https://github.com/micronaut-projects/micronaut-core/pull/9996
GraalVM
- chore(deps): update graalvm/setup-graalvm action to v1.1.5 by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/10063
- chore(deps): update dependency org.graalvm.buildtools.native:org.graalvm.buildtools.native.gradle.plugin to v0.9.28 by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/10002
Micronaut Build Plugin
- chore(deps): update plugin io.micronaut.build.shared.settings to v6.5.7 by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/9976
- chore(deps): update dependency io.micronaut.build.internal:micronaut-gradle-plugins to v6.6.0 by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/10033
- chore(deps): update dependency io.micronaut.build.internal:micronaut-gradle-plugins to v6.6.1 by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/10105
SVM
- fix(deps): update dependency org.graalvm.nativeimage:svm to v23.1.1 by @renovate in https://github.com/micronaut-projects/micronaut-core/pull/9625
New Contributors
- @dnyaneshwar2023 made their first contribution in https://github.com/micronaut-projects/micronaut-core/pull/10093
Full Changelog: https://github.com/micronaut-projects/micronaut-core/compare/v4.1.12...v4.2.0
1、 artifacts.zip 6.28MB
2、 multiple.intoto.jsonl 49.61KB