Releases: micronaut-projects/micronaut-core
Releases · micronaut-projects/micronaut-core
Micronaut Core v4.3.9
What's Changed
Other Changes 💡
- Fix casting in the class writing by @dstepanov in #10535
Full Changelog: v4.3.8...v4.3.9
Micronaut Core 4.3.8
What's Changed
KSP Fixes 🐞
Bug Fixes 🐞
- Correct generating a copy constructor by @dstepanov in #10519
- Fix special case of NameUtils.underscoreSeparate where the first char is the separator char by @wetted in #10516
Dependency updates 🚀
- fix(deps): update dependency io.netty.incubator:netty-incubator-transport-native-io_uring to v0.0.25.final by @renovate in #10518
- fix(deps): update dependency io.netty:netty-tcnative-boringssl-static to v2.0.63.final by @renovate in #10525
CI ⚙️Build 🐘
- chore(deps): update gradle/gradle-build-action action to v2.12.0 by @renovate in #10498
- chore(deps): update dependency org.graalvm.buildtools.native:org.graalvm.buildtools.native.gradle.plugin to v0.10.1 - autoclosed by @renovate in #10522
Full Changelog: v4.3.7...v4.3.8
Micronaut Core v4.3.7
What's Changed
Bug Fixes 🐞
- KSP: Fix duplicate properties when an accessor is overriden by @dstepanov in #10497
- Fixes the inject java tests leaking file handles by @graemerocher in #10496
Full Changelog: v4.3.6...v4.3.7
Micronaut Core 4.3.6
What's Changed
Docs 📖
- doc: change Grails creator copy by @sdelamo in #10431
- doc: Document how to retrieve RouteMatch by @sdelamo in #10493
KSP Fixes 🐞
- KSP: Mark dependencies as aggregated if the visitor is of aggregated type by @dstepanov in #10487
Dependency updates 🚀
- Update dependency io.netty.incubator:netty-incubator-codec-http3 to v0.0.25.Final by @renovate in #10479
- fix(deps): update netty monorepo to v4.1.107.final by @renovate in #10494
Micronaut Modules
Micronaut Validation
Micronaut Session
Micronaut Groovy
- fix(deps): update dependency io.micronaut.groovy:micronaut-runtime-groovy to v4.2.0 by @renovate in #10468
CI ⚙️Build 🐘
Full Changelog: v4.3.5...v4.3.6
Micronaut Core 4.3.5
What's Changed
KSP
- KSP: Fix processing elements with a high priority visitor by @dstepanov in #10476
Bug Fixes 🐞
- Fix parameter expressions for executable methods by @dstepanov in #10469
Docs 📖
- doc: link to static resources guide by @sdelamo in #10459
- remove withJansi by @podollb in #10470
- doc: dont consider bean-introspection experimental by @sdelamo in #10463
Dependency updates 🚀
- Update dependency org.slf4j:slf4j-api to v2.0.12 by @renovate in #10461
- Update dependency org.testcontainers:spock to v1.19.5 by @renovate in #10472
GraalVM 🏆
- Inline
SameSiteConverter
to fix Graalvm Dev build by @dstepanov in #10466
CI ⚙️Build 🐘
Full Changelog: v4.3.4...v4.3.5
Micronaut Core 4.3.4
What's Changed
KSP
- KSP: Fix empty arrays in annotations by @dstepanov in #10437
- KSP: Exclude companion object from enum constants list by @altro3 in #10451
Bug Fixes 🐞
- Restore thread contexts in reversed order by @lgathy in #10445
- Fix for context propagation bug by @lgathy in #10444
- Fix overridden methods list by @dstepanov in #10447
Dependency updates 🚀
- Update dependency io.micronaut.aws:micronaut-aws-bom to v4.4.1 by @renovate in #10442
- Update Jackson to
2.16.1
by @timyates in #10455
Other Changes 💡
- Upgraded Native Build Tool version and removed native metadata that exist in the shared repo by @msupic in #10453
Build & CI ⚙️
Tests ✅
- small style fix in docs/streaming/HeadlineController.kt by @matey-jack in #10448
New Contributors
- @matey-jack made their first contribution in #10448
Full Changelog: v4.3.3...v4.3.4
Micronaut Core 4.3.3
What's Changed
Bug Fixes 🐞
- Fix incorrect detection of imperative route for async/reactive void methods by @dstepanov in #10432
Other Changes 💡
Full Changelog: v4.3.2...v4.3.3
Micronaut Core 4.3.2
What's Changed
Bug Fixes 🐞
- Filter out unrecognized type elements by @dstepanov in #10428
- Fix NoSuchBean classcast exception when generating message by @timyates in #10429
Improvements ⭐
Docs 📖
Dependency updates 🚀
- chore(deps): update plugin io.micronaut.build.shared.settings to v6.6.2 by @renovate in #10412
- fix(deps): update dependency org.testcontainers:spock to v1.19.4 by @renovate in #10426
Full Changelog: v4.3.1...v4.3.2
Micronaut Core 4.3.1
What's Changed
Bug Fixes 🐞
- Fix boxing a primitive value by @dstepanov in #10407
- KSP: Use correct resolver by @dstepanov in #10409
Dependency updates 🚀
Full Changelog: v4.3.0...v4.3.1
Micronaut Core v4.3.0
What's Changed
New Features 🎉
Bug Fixes 🐞
-
Fail
PostponeToNextRoundException
on error generic element by @dstepanov in #10387 -
Fix getting the name of
FilteringCompositeQualifier
by @dstepanov in #10397
KSP Improvements and Bug Fixes
- KSP: Allow to instantiate a bean with all defaults by @dstepanov in #10351
- KSP: Allow to specify extra all-open annotations by @dstepanov in #10360
- KSP: support defaults on bean constructors by @dstepanov in #10371
- KSP: use
overrides
method instead offindOverridee()
by @dstepanov in #10272 - KSP: Don't create beans from interfaces by @dstepanov in #10349
- KSP: Allow to use a creator by @dstepanov in #10355
- KSP: Fix mapping problems caused by unrecognized annotation container by @dstepanov in #10361
- KSP: Visit inner-inner classes by @dstepanov in #10365
- KSP: Fix default methods with 32+ parameters by @dstepanov in #10398
Other Changes 💡
- Optimize Netty direct response by @dstepanov in #10181
- Refactor filtering to improve performance by @dstepanov in #10167
- Optimize routing by @dstepanov in #10177
- Correct nullable router signature by @dstepanov in #10201
- Allow to skip parsing the request's url into
URI
by @dstepanov in #10178 - Catch errors on
fulfillArguments
by @dstepanov in #10214 - Restore
RequestLifecycle
for backwards compatibility with Servet by @dstepanov in #10224 - Allow to disable filters based on the request by @dstepanov in #10172
- Add cache for DateTimeFormatter for @Format annotations by @altro3 in #10198
- Improve bytecode generation code by @dstepanov in #10265
- Cleanup code in
isAccessible
by @dstepanov in #10287 - Add test reproducing importing a bean with a primitive parameter by @dstepanov in #10316
- Reuse loaded native elements by @dstepanov in #10381
- Allow client config of WebSocket per message deflate by @jeremyg484 in #10357
- accept breaking changes by @sdelamo in #10405
Improvements ⭐
- systemd socket activation support by @yawkat in #10072
- Remove unused Netty attributes by @dstepanov in #10185
- Use cached
MessageBodyReader
for reading the body by @dstepanov in #10186 - Execute async controller methods without Reactor by @dstepanov in #10212
- More detailed error messages by @dstepanov in #10223
- Move URI validation step back to RoutingInBoundHandler by @yawkat in #10232
- Replace chunked write API by @yawkat in #10138
- Fix request backpressure by @yawkat in #10142
- Reimplement
EnclosedElementsQuery
to improve performance by @dstepanov in #10237 - Implement decompression in PipeliningServerHandler by @yawkat in #10155
- Compression support in PipeliningServerHandler by @yawkat in #10246
- Replace HttpServerKeepAliveHandler by @yawkat in #10250
- Use FastThreadLocal for context propagation if available by @yawkat in #10254
- Use Javac's
overrides
to determine if the method is overridden by @dstepanov in #10281 - Downgrade HTTP client log message by @oliverblaha in #10257
- Do not include malformed URI in error message by @be-a-bee in #10324
- Avoid having
TypeConverter
defined as beans by @dstepanov in #10315 - Small RequestHandler refactor by @yawkat in #10326
- Make NettyJsonHandler implement NettyBodyWriter by @yawkat in #10339
- Expression implementation improvements by @dstepanov in #10320
- AST: Introduce
MethodElement#getOverriddenMethods
to get all the methods overridden by this method by @dstepanov in #10342 - Java AST: Mark primitive types as non-null by @dstepanov in #10348
- Allow to reference a method in a class annotation expression by @dstepanov in #10332
- Improve how AOP proxy target is generated by @dstepanov in #10358
- Inject
InterceptorRegistry
into an AOP proxy, avoid multiple get bean calls by @dstepanov in #10359 - extract netty cookie into its own module by @sdelamo in #10364
- imp: add default methods to BeanDefinition to ease checking whether a method is annotated by @sdelamo in #10261
- Correct cache key of overridden method lookup by @dstepanov in #10380
- Reprocess types with errors
TypeElementVisitorProcessor
and allow to veto elements by @dstepanov in #10385 - Add support Access-Control-Allow-Private-Network CORS header. by @altro3 in #10400
- Log level properties case insensitive by @altro3 in #10396
Docs 📖
- Correct malformed asciidoc tags and indents with streaming file upload docs. by @wetted in #10094
- Document it is possible to use Java Records for immutable configuration with @ConfigurationProperties by @wetted in #10096
- Document Micronaut Context dependency requirement for immutable configuration properties, scheduling, and context events. by @wetted in #10095
- Improve PathVariable Docs by @wetted in #10275
- Clarify use of defaultValue element of PathVariable annotation by @wetted in #10289
- doc: Kotlin inline value classes No @introspected by @sdelamo in #10319
- doc: change Grails creator copy by @sdelamo in #10087
Dependency updates 🚀
- fix(deps): update dependency org.jetbrains:annotations to v23.1.0 by @renovate in #10144
- Update dependency org.tomlj:tomlj to v1.1.1 by @renovate in #10336
- Update dependency org.yaml:snakeyaml to v2.2 by @renovate in #10308
- Update jmh to v1.37 by @renovate in #10313
- Update dependency com.squareup.okio:okio to v3.7.0 by @renovate in #10286
- Update dependency org.testcontainers:spock to v1.19.3 by @renovate in #10306
- Update dependency com.github.javaparser:javaparser-symbol-solver-core to v3.25.8 by @renovate in https://...