v4.5.0
What's Changed
Enhancements to Existing Modules
Micronaut Core
- NIO domain socket support micronaut-projects/micronaut-core#10852
- New request body API micronaut-projects/micronaut-core#10781
Micronaut Data
The big features in Micronaut Data for this release are multi-tenancy via discriminator (partition key) and cursor based pagination.
- Support
@IdClass
and multiple@Id
by @dstepanov in micronaut-projects/micronaut-data#2871 - Support discriminator multitenancy by @dstepanov in micronaut-projects/micronaut-data#2876
- Initial addition of cursored pagination for SQL by @andriy-dmytruk in micronaut-projects/micronaut-data#2884
Micronaut Servlet
Micronaut Servlet features several new enhancements:
- Support configuring minThreads and maxThreads micronaut-projects/micronaut-servlet#722
- Support Virtual Threads in Jetty & Tomcat micronaut-projects/micronaut-servlet#701
- Make servlet more flexible / support servlet annotations micronaut-projects/micronaut-servlet#702
- Support for http/2 over plaintext for Jetty & Tomcat micronaut-projects/micronaut-servlet#706
- Support MessageBodyReader/Writer abstraction in Servlet micronaut-projects/micronaut-servlet#707
- Attribute binders for ServletConfig/ServletContext micronaut-projects/micronaut-servlet#708
- allow registering other servlet container initializers micronaut-projects/micronaut-servlet#711
- Support management port in servlet micronaut-projects/micronaut-servlet#712
- Support for access log for each servlet server implementation micronaut-projects/micronaut-servlet#713
Micronaut Micrometer
Micronaut 4.5 includes several useful community contributions to the Micrometer module:
- Build more tags using method context by @hrothwell in micronaut-projects/micronaut-micrometer#753
- Add micronaut-micrometer-registry-otlp binding for micrometer-registry-otlp by @cltnschlosser in micronaut-projects/micronaut-micrometer#729
- Adding support for histograms by @lcavadas in micronaut-projects/micronaut-micrometer#740
New Modules
Micronaut JSON Schema
A new module is available for generating JSON schema definitions from classes at build time.
Micronaut SourceGen
A new SourceGen module is available for writing source generators, generating Builder classes and generating Wither classes. The goal is to provide a long term replacement for Lombok and simplify the ability to write new source generators with the framework.
Micronaut Guice
A new Guice module is available that allows the import of existing Guice modules, simplifying migration to Micronaut for Guice users.
New Features 🎉
- Adds Guice, JSON Schema and SourceGen modules by @graemerocher in #1481
Dependency updates 🚀
- views 5.3.0 by @sdelamo in #1453
- fix(deps): update dependency org.graalvm.buildtools:native-maven-plugin to v0.10.2 by @renovate in #1468
- fix(deps): update dependency io.micronaut.security:micronaut-security-bom to v4.8.0 by @renovate in #1480
- fix(deps): update dependency io.micronaut.sql:micronaut-sql-bom to v5.7.0 by @renovate in #1483
- fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.10.0 by @renovate in #1482
- fix(deps): update dependency io.micronaut.openapi:micronaut-openapi-bom to v6.10.0 by @renovate in #1484
- fix(deps): update dependency io.micronaut.views:micronaut-views-bom to v5.4.0 by @renovate in #1485
- fix(deps): update dependency io.micronaut.spring:micronaut-spring-bom to v5.7.0 by @renovate in #1486
- fix(deps): update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3.5.0 by @renovate in #1487
- fix(deps): update dependency io.micronaut.r2dbc:micronaut-r2dbc-bom to v5.5.0 by @renovate in #1489
- fix(deps): update dependency io.micronaut.data:micronaut-data-bom to v4.8.0 by @renovate in #1488
- fix(deps): update dependency io.micronaut.neo4j:micronaut-neo4j-bom to v6.6.0 by @renovate in #1490
- fix(deps): update dependency io.micronaut.opensearch:micronaut-opensearch-bom to v1.1.0 by @renovate in #1491
- fix(deps): update dependency com.google.cloud.tools:jib-maven-plugin to v3.4.3 by @renovate in #1492
- fix(deps): update dependency io.micronaut.problem:micronaut-problem-json-bom to v3.4.0 by @renovate in #1493
- fix(deps): update dependency io.micronaut.liquibase:micronaut-liquibase-bom to v6.4.0 by @renovate in #1496
- fix(deps): update dependency io.micronaut.tracing:micronaut-tracing-bom to v6.6.0 by @renovate in #1494
- fix(deps): update dependency io.micronaut.sourcegen:micronaut-sourcegen-bom to v1.1.0 by @renovate in #1500
- fix(deps): update dependency io.micronaut.kafka:micronaut-kafka-bom to v5.5.0 by @renovate in #1499
- fix(deps): update dependency io.micronaut.flyway:micronaut-flyway-bom to v7.3.0 by @renovate in #1498
- fix(deps): update dependency org.apache.maven.plugins:maven-shade-plugin to v3.6.0 by @renovate in #1501
- fix(deps): update dependency com.microsoft.azure:azure-functions-maven-plugin to v1.35.0 by @renovate in #1497
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.5.1 by @renovate in #1502
- fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.10.1 by @renovate in #1503
- fix(deps): update dependency io.micronaut.graphql:micronaut-graphql-bom to v4.4.0 by @renovate in #1504
- fix(deps): update dependency io.micronaut.validation:micronaut-validation-bom to v4.6.0 by @renovate in #1508
- fix(deps): update dependency io.micronaut.security:micronaut-security-bom to v4.9.0 by @renovate in #1507
- fix(deps): update dependency io.micronaut.picocli:micronaut-picocli-bom to v5.4.0 by @renovate in #1506
- fix(deps): update dependency io.micronaut.jaxrs:micronaut-jaxrs-bom to v4.5.0 by @renovate in #1505
- chore(deps): update dependency gradle to v8.8 by @renovate in #1509
- fix(deps): update dependency io.micronaut.servlet:micronaut-servlet-bom to v4.9.0 by @renovate in #1511
- fix(deps): update dependency io.micronaut.openapi:micronaut-openapi-bom to v6.11.0 by @renovate in #1510
- chore(deps): update dependency gradle to v8.8 by @renovate in #1513
- fix(deps): update dependency io.micronaut.eclipsestore:micronaut-eclipsestore-bom to v1.5.0 by @renovate in #1515
- fix(deps): update dependency io.micronaut.grpc:micronaut-grpc-bom to v4.5.0 by @renovate in #1516
- fix(deps): update dependency io.micronaut.aws:micronaut-aws-bom to v4.6.0 by @renovate in #1518
- chore(deps): update dependency gradle to v8.8 by @renovate in #1517
- fix(deps): update dependency io.micronaut.controlpanel:micronaut-control-panel-bom to v1.4.0 by @renovate in #1520
- fix(deps): update dependency io.micronaut.data:micronaut-data-bom to v4.8.1 by @renovate in #1519
- fix(deps): update dependency io.micronaut.nats:micronaut-nats-bom to v4.4.0 by @renovate in #1521
- fix(deps): update dependency io.micronaut.rxjava3:micronaut-rxjava3-bom to v3.4.0 by @renovate in #1522
- fix(deps): update dependency io.micronaut.rxjava2:micronaut-rxjava2-bom to v2.4.0 by @renovate in #1523
- fix(deps): update dependency io.micronaut.micrometer:micronaut-micrometer-bom to v5.7.0 by @renovate in #1524
- fix(deps): update dependency io.micronaut.microstream:micronaut-microstream-bom to v2.5.0 by @renovate in #1525
- fix(deps): update dependency io.micronaut.objectstorage:micronaut-object-storage-bom to v2.5.0 by @renovate in #1526
- fix(deps): update dependency io.micronaut.reactor:micronaut-reactor-bom to v3.4.0 by @renovate in #1527
- fix(deps): update dependency io.micronaut.servlet:micronaut-servlet-bom to v4.9.1 by @renovate in #1528
- fix(deps): update dependency io.micronaut.azure:micronaut-azure-bom to v5.5.0 by @renovate in #1529
Other Changes 💡
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.4.4 by @renovate in #1430
- fix(deps): update dependency io.micronaut.grpc:micronaut-grpc-bom to v4.4.1 by @renovate in #1426
- Remove regressions that no longer cause issues by @timyates in #1428
- fix(deps): update dependency io.micronaut.maven:micronaut-maven-plugin to v4.5.3 by @renovate in #1431
- fix(deps): update dependency org.apache.maven.plugins:maven-jar-plugin to v3.4.1 by @renovate in #1434
- chore(deps): update gradle/gradle-build-action action to v3.3.1 by @renovate in #1432
- fix(deps): update dependency io.micronaut.views:micronaut-views-bom to v5.2.1 by @renovate in #1433
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.4.5 by @renovate in #1437
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.4.6 by @renovate in #1441
- fix(deps): update dependency io.micronaut.testresources:micronaut-test-resources-bom to v2.5.1 by @renovate in #1440
- chore(deps): update actions/checkout action to v4.1.3 by @renovate in #1438
- fix(deps): update dependency io.micronaut.openapi:micronaut-openapi-bom to v6.9.1 by @renovate in #1447
- fix(deps): update dependency io.micronaut.build.internal.publishing:io.micronaut.build.internal.publishing.gradle.plugin to v6.7.1 by @renovate in #1445
- chore(deps): update plugin io.micronaut.build.shared.settings to v6.7.1 by @renovate in #1444
- fix(deps): update dependency org.apache.maven.plugins:maven-shade-plugin to v3.5.3 by @renovate in #1446
- chore(deps): update gradle/gradle-build-action action to v3.3.2 by @renovate in #1451
- chore(deps): update actions/checkout action to v4.1.4 by @renovate in #1450
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.4.7 by @renovate in #1457
- fix(deps): update dependency org.apache.maven.plugins:maven-install-plugin to v3.1.2 by @renovate in #1456
- fix(deps): update dependency org.apache.maven.plugins:maven-deploy-plugin to v3.1.2 by @renovate in #1455
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.4.8 by @renovate in #1458
- chore(deps): update actions/checkout action to v4.1.6 by @renovate in #1463
- fix(deps): update dependency com.microsoft.azure:azure-functions-maven-plugin to v1.34.0 by @renovate in #1466
- fix(deps): update dependency com.github.spotbugs:spotbugs-annotations to v4.8.5 by @renovate in #1461
- fix(deps): update dependency io.micronaut.tracing:micronaut-tracing-bom to v6.5.2 by @renovate in #1460
- fix(deps): update dependency io.micronaut.testresources:micronaut-test-resources-bom to v2.5.2 by @renovate in #1467
- fix(deps): update dependency io.micronaut.data:micronaut-data-bom to v4.7.1 by @renovate in #1473
- fix(deps): update dependency org.apache.maven:maven-core to v3.9.7 by @renovate in #1474
- fix(deps): update dependency org.codehaus.mojo:exec-maven-plugin to v3.3.0 by @renovate in #1470
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.4.9 by @renovate in #1464
- fix(deps): update dependency io.micronaut.servlet:micronaut-servlet-bom to v4.8.0 by @renovate in #1477
- fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.5.0 by @renovate in #1478
- fix(deps): update dependency io.micronaut.micrometer:micronaut-micrometer-bom to v5.6.0 by @renovate in #1479
- chore(deps): update actions/checkout action to v4.1.6 by @renovate in #1475
Full Changelog: v4.4.0...v4.5.0