v3.5.0 (2022-05-25)
GraalVM 22.1.0
Micronaut framework 3.5 supports GraalVM 22.1.0.
Micronaut Gradle Plugin v3.4.0 and Micronaut Maven Plugin v3.3.0 support GraalVM 22.1.0.
Incremental Compilation for Gradle Builds
Micronaut framework 3.5 supports fully incremental compilation, including GraalVM metadata for Gradle Builds.
Micronaut Data
Micronaut Data 3.4.0 supports:
- Postgres enums for JDBC.
- Pagination for reactive repositories and specifications.
- Pagination for async, coroutines repositories, and specifications.
Turbo Integration
Micronaut Views adds integration with Turbo
New Module - Micronaut Microstream
Micronaut Microstream eases working with MicroStream, a native Java object graph storage engine.
@scheduled with Time Zones
Optionally, you can specify a time zone when using the <<scheduling,@Scheduled
annotation>>.
@Scheduled(cron = '1/33 0/1 * 1/1 * ?', zoneId = "America/Chicago")
void runCron() {
...
..
Support validation groups with @Validated
You can enforce a subset of constraints using validation groups using groups on the @Validated
.
Advanced Listener Configuration
Micronaut framework 3.5.0 offers more flexibility in configuring the HTTP Server. Instead of configuring a single port, you can specify each listener manually.
EPHEMERAL FACTORIES
A Factory has the default scope @Singleton
, and it is destroyed with the context. Since Micronaut framework v3.5.0, you can dispose of the factory after producing a bean by annotating your factory class with @Prototype
and @Factory
Module upgrades
- Micronaut Test 3.2.0 adds support for KoTest 5.
- Micronaut AWS 3.5.0 adds a new module Micronaut AWS CDK. It also upgrades to the latest versions of the AWS SDKs.
- Micronaut Micrometer 4.3.0 updates to Micrometer 1.9.0.
- Micronaut GCP 4.2.0 updates to
grpc-auth
1.45.1 andgrpc-netty-shaded
. Moreover, we have clarified the documentation to support GraalVM Native Images when using the GCP libraries, and the Micronaut GCP Bom now includes thecom.google.cloud:native-image-support
dependency. - Micronaut AOT 1.1.0
- Micronaut SQL to 4.4.0
- Micronaut Problem JSON to 2.3.0
- Micronaut GRPC to 3.3.0 allows exposing a gRPC Health Check for a grpc-server.
- Micronaut Serialization to 1.1.0. It allows the serialization and deserialization of object arrays.
- Micronaut OpenAPI to 4.1.0 updates to Swagger 2.2.0.
- Micronaut R2DBC to 3.0.0 updates to R2DBC
1.0.0.RELEASE
. - Micronaut Security to 3.6.0.
- Micronaut Cache to 3.4.1.
- Micronaut Coherence to 3.4.1.
Several modules publish a BOM (Bill of Materials) or use a Gradle Version Catalogs:
- Micronaut JAX-RS to 3.3.0
- Micronaut Picocli to 4.2.1
- Micronaut ACME to 3.2.0.
- Micronaut MongoDB to 4.2.0
- Micronaut MQTT to 2.2.0.
- Micronaut Kafka to 4.3.0
Schema Migration Modules
- Micronaut Flyway 5.3.0 updates Flyway to 8.5.8.
- Micronaut Liquibase 5.3.0 updates Liquibase to 4.9.1