Contact Us About Sponsorship

Questions about Micronaut Foundation sponsorship?

Please complete this form, and we’ll follow up with you shortly.

[hubspot type=form portal=4547412 id=a7b3ddfa-64b0-47fd-8358-45fa6a09456a]

Micronaut Framework 4.9.0 Released!

by Sergio Del Amo Caballero Tags:

The Micronaut Foundation is excited to announce the release of Micronaut framework 4.9.0!

Micronaut Core Improvements

Netty 4.2.2

Micronaut 4.9.0 updates to Netty 4.2. This Netty release changes the default buffer allocator, which may affect application performance.

Event loop Carrier

micronaut-http-server-netty 4.9.0 introduces an experimental mode to run virtual threads on the Netty event loop. This can lead to more predictable performance when migrating from async code to virtual threads. Read “Transitioning to virtual threads using the Micronaut Loom Carrier“.

@ClassImport

@ClassImport annotation allows to process already compiled classes as if they were ordinary non-compiled classes.

@Mixin

It’s possible to define a Mixin class by annotating it with @Mixin and specifying which class does it reference.

Mixins only modify the Micronaut annotations metadata model. Original classes are not modified in any way. Mixins are currently supported only in Java.

HTTP/3

If you were using the experimental HTTP/3 support you need to replace the dependency io.netty.incubator:netty-incubator-codec-http3 with io.micronaut:micronaut-http-netty-http3.

Graceful Shutdown

This release includes a Graceful shutdown API. A graceful shutdown allows you to stop accepting new work and finish in-progress tasks.

Cache Control API

A fluid API CacheControl permits you to populate the HTTP Cache-Control header in an HTTP Response easily.

KSP 2

This release supports KSP 2 (starting from the version 2.0.2) and it’s tested to work with Kotlin 2.

Jakarta Data

Micronaut Data provides implementation support for the Jakarta Data 1.0 specification, allowing developers to leverage Jakarta Data’s standardized approach to data access within Micronaut applications.

Protocol Buffers Json Support

Micronaut gRPC, thanks to a community contribution, adds a new module that adds the ability to send JSON-serialized messages via a POST HTTP 1.1 call.

ProjectGen

Micronaut ProjectGen, a new experimental module, provides an API for generating JVM Projects (Gradle or Maven).

Persistence

  • Micronaut SQL updates ojdbc to 23.8.0.25.04, MariaDB to 3.5.3, and MySQL Connector to 9.2.0, Hikari to 6.3.0, and Tomcat JDBC to 11.0.7.
  • Micronaut Coherence updates to Coherence 25.03.1.

Cloud

Database Migration

Reactive Libraries

Security

Miscellaneous

NEXT STEPS

If you haven’t yet updated to Micronaut framework 4, this is an excellent opportunity to do so!

Please feel free to reach out to us if you need any assistance.