Skip to content

Releases: micronaut-projects/micronaut-platform

Micronaut Platform 4.7.1

Micronaut Platform 4.7.0

13 Nov 17:40
Compare
Choose a tag to compare

Core

Micronaut Core contains multiple improvements. To highlight a few, it improves the HTTP Client implementations, the display of circular dependency errors, adds a new API FilterBodyParser, the possibility to disable normalization of property keys in @EachProperty beans, and it adds nicer HTML error pages.

LangChain4J

Micronaut LangChain4J provides integration with Langchain4j.

For example, Micronaut LangChain4J makes easy to inject your favourite language model in your Micronaut beans:

import dev.langchain4j.model.chat.ChatLanguageModel;
import jakarta.inject.Singleton;

@Singleton
class DefaultJokeGenerator implements JokeGenerator {
    private final ChatLanguageModel model;
    DefaultJokeGenerator(ChatLanguageModel model) {
        this.model = model;
    }

    @Override
    public String generateJoke() {
        return model.generate("Tell me a joke about Java?");
    }
}

GraalPy

Micronaut Graal Languages is a collection of components for integration of Graal based dynamic languages with Micronaut Framework.

With Micronaut GraalPy eases exposing Python modules as Java Beans within a Micronaut application. We published two guides:

Build Plugins

There are new versions of both Maven 4.7.1, and Gradle 4.4.4 Plugins.

Micronaut Security

Micronaut Security adds a new module, Micronaut Security Cross-Site Request Forgery (CSRF) to help you protect your applications against CSRF attacks. CSRF protection is integrated also in Micronaut Views with a CSRF Token View Model Processor, and CSRF hidden field in form generation.

Micrometer

Micronaut Micrometer updates to Micrometer 1.13.6 and it adds new module for Prometheus PushGateway.

Cloud

Analytics

Persistence

  • Micronaut OpenAPI keeps getting better and better thanks to community contribution.
  • Micronaut Data contains multiple improvements. Among others, it includes improvements to pagination and Criteria.
  • Micronaut SQL updates ojdbc to 23.5.0.24.07, MariaDB to 3.5.0, and MySQL Connector to 9.1.0, Hikari to 6.0.0, and Tomcat JDBC to 11.0.1. Moreover, it is now possible to disable individual datasources both in JPA and JDBC.
  • Micronaut R2DBC updates to r2dbc-io-asyncer-mysql to 1.3.0, r2dbc-mariadb to 1.3.0, and r2dbc-postgresql to 1.0.7.RELEASE.
  • Micronaut MongoDB updates to Mongo Java Driver 4.11.4.

Database Migration

Reactive Libraries

Misc

Micronaut Platform 4.6.3

Micronaut Platform 4.6.2

Micronaut Platform 4.6.1

04 Sep 12:06
Compare
Choose a tag to compare

Micronaut Platform 4.6.0

23 Aug 19:35
Compare
Choose a tag to compare

This release updates the Micronaut Platform BOM (Bill of materials) to the following releases:

  • Micronaut Core 4.6.2. Micronaut Core 4.6.x reintroduces the build-time initialization of the metadata built at compilation.

Runtimes

Dev & Tests

Validation

Reactive Libraries

Cloud

Database Migration Libraries

Persistence

Programming Languages

Messaging

Build

Analytics

Errors

Configuration

Serialization

API

  • [Micronaut JAX-RS 4.6.0 ](https://...
Read more

v4.5.1

23 Jul 16:25
Compare
Choose a tag to compare

What's Changed

Other Changes 💡

  • fix(deps): update dependency org.apache.maven:maven-core to v3.9.8 by @renovate in #1547
  • fix(deps): update dependency com.github.spotbugs:spotbugs-annotations to v4.8.6 by @renovate in #1548
  • fix(deps): update dependency io.micronaut.gcp:micronaut-gcp-bom to v5.6.1 by @renovate in #1552
  • fix(deps): update dependency io.micronaut.oraclecloud:micronaut-oraclecloud-bom to v4.1.1 by @renovate in #1556
  • fix(deps): update dependency org.apache.maven.plugins:maven-jar-plugin to v3.4.2 by @renovate in #1555
  • fix(deps): update dependency io.micronaut.servlet:micronaut-servlet-bom to v4.9.2 by @renovate in #1554
  • fix(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.3.0 by @renovate in #1546
  • fix(deps): update dependency org.apache.maven.plugins:maven-failsafe-plugin to v3.3.0 by @renovate in #1545
  • fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.10.2 by @renovate in #1553
  • fix(deps): update dependency org.projectlombok:lombok to v1.18.34 by @renovate in #1559
  • fix(deps): update dependency io.micronaut.beanvalidation:micronaut-hibernate-validator-bom to v4.4.0 by @renovate in #1558
  • fix(deps): update dependency org.junit:junit-bom to v5.10.3 by @renovate in #1557
  • fix(deps): update dependency io.micronaut.validation:micronaut-validation-bom to v4.6.1 by @renovate in #1565
  • fix(deps): update dependency io.micronaut.data:micronaut-data-bom to v4.8.3 by @renovate in #1562
  • fix(deps): update dependency com.microsoft.azure:azure-functions-maven-plugin to v1.36.0 by @renovate in #1561
  • fix(deps): update dependency io.micronaut.testresources:micronaut-test-resources-bom to v2.5.4 by @renovate in #1571
  • fix(deps): update dependency io.micronaut.reactor:micronaut-reactor-bom to v3.4.1 by @renovate in #1576
  • fix(deps): update dependency io.micronaut.data:micronaut-data-bom to v4.8.4 by @renovate in #1574
  • fix(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.3.1 by @renovate in #1569
  • fix(deps): update dependency org.apache.maven.plugins:maven-failsafe-plugin to v3.3.1 by @renovate in #1568
  • fix(deps): update dependency io.micronaut.test:micronaut-test-bom to v4.4.0 by @renovate in #1578
  • fix(deps): update dependency io.micronaut.views:micronaut-views-bom to v5.4.1 by @renovate in #1581
  • fix(deps): update dependency io.micronaut.security:micronaut-security-bom to v4.9.1 by @renovate in #1580
  • fix(deps): update dependency io.micronaut.openapi:micronaut-openapi-bom to v6.11.1 by @renovate in #1579
  • fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.5.4 by @renovate in #1582
  • fix(deps): align graalvm versions with micronaut-core by @auke- in #1567
  • fix(deps): update dependency io.micronaut.sourcegen:micronaut-sourcegen-bom to v1.1.1 by @renovate in #1584
  • fix(deps): update dependency io.micronaut.micrometer:micronaut-micrometer-bom to v5.7.1 by @renovate in #1583
  • fix(deps): update dependency org.graalvm.sdk:graal-sdk to v23.1.4 by @renovate in #1577
  • fix(deps): update dependency org.graalvm.nativeimage:svm to v23.1.4 by @renovate in #1575

New Contributors

Full Changelog: v4.5.0...v4.5.1

v4.5.0

11 Jun 06:18
Compare
Choose a tag to compare

What's Changed

Enhancements to Existing Modules

Micronaut Core

Micronaut Data

The big features in Micronaut Data for this release are multi-tenancy via discriminator (partition key) and cursor based pagination.

Micronaut Servlet

Micronaut Servlet features several new enhancements:

Micronaut Micrometer

Micronaut 4.5 includes several useful community contributions to the Micrometer module:

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 🎉

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-nat...
Read more

Micronaut Platform 4.4.3

26 May 07:18
Compare
Choose a tag to compare

What's Changed

Micronaut Modules

Other Changes 💡

  • Fix missing jackson-databind alias by @melix in #1471

Full Changelog: v4.4.2...v4.4.3

Micronaut Platform 4.4.2

03 May 11:49
Compare
Choose a tag to compare

What's Changed

Dependency Upgrades 🚀

Micronaut Modules

Maven

fix(deps): update dependency org.apache.maven.plugins:maven-deploy-plugin to v3.1.2 (#1455)
fix(deps): update dependency org.apache.maven.plugins:maven-install-plugin to v3.1.2 (#1456)
fix(deps): update dependency org.apache.maven.plugins:maven-shade-plugin to v3.5.3 (#1446)

CI ⚙️Build 🐘

  • chore(deps): update actions/checkout action to v4.1.4 (#1450)
  • chore(deps): update gradle/gradle-build-action action to v3.3.2 (#1451)

Micronaut Build Plugin

  • build settings 7.0.1
  • chore(deps): update plugin io.micronaut.build.shared.settings to v6.7.1 (#1444)
  • fix(deps): update dependency io.micronaut.build.internal.publishing:io.micronaut.build.internal.publishing.gradle.plugin to v6.7.1 (#1445)

Full Changelog: v4.4.1...v4.4.2