Skip to content

fix(deps): update dependency io.micronaut.platform:micronaut-platform to v4.8.2 #1217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 4.7.x
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 8, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.micronaut.platform:micronaut-platform (source) 4.7.6 -> 4.8.2 age adoption passing confidence

Release Notes

micronaut-projects/micronaut-platform (io.micronaut.platform:micronaut-platform)

v4.8.2: Micronaut Platform 4.8.2

What's Changed

Other Changes 💡
  • Revert "fix(deps): update dependency io.micronaut.sourcegen:micronaut-sourcegen-bom to v1.7.3 (#​1966)"

  • fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.8.11 (#​1973)

  • fix(deps): update dependency org.graalvm.nativeimage:svm to v23.1.7 (#​1969)

  • fix(deps): update dependency org.graalvm.sdk:graal-sdk to v24.2.1 (#​1974)

  • Micronaut Core 4.8.11

Full Changelog: micronaut-projects/micronaut-platform@v4.8.1...v4.8.2

v4.8.1: Micronaut Platform 4.8.1

WARNING

Unfortunately there is an issue with the release. If you upgrade to 4.8.1 you will have to rollback the version of Micronaut SourceGen to 1.7.2

configurations.all {
    resolutionStrategy {
        eachDependency { DependencyResolveDetails details ->
            if (details.requested.group == "io.micronaut.sourcegen") {
                details.useVersion("1.7.2")
            }
        }
    }
}

What's Changed

Bug Fixes 🐞
Micronaut Modules

Full Changelog: micronaut-projects/micronaut-platform@v4.8.0...v4.8.1

v4.8.0: Micronaut Platform 4.8.0

Micronaut Core Improvements

SourceGen integration

Micronaut Core 4.8.x has rewritten some of its internals leveraging Micronaut SourceGen. For example, Micronaut SourceGen powers bytecode generation of internal metadata and expressions.

Dependency Injection Debugging

Micronaut 4.8.0 allows you to activate dependency injection tracing to help you understand what Micronaut is doing at startup and when a particular bean is created.

@Client definitionType member

definitionType, a new member of the @Client annotation, helps in scenarios where you want to share an interface between client and server.

Bean Mappers Merging

Bean Mappers support merging:

@​Introspected
record ChristmasPresent(
    String packagingColor,
    String type,
    Float weight,
    String greetingCard
) {
}

@​Introspected
record PresentPackaging(
    Float weight,
    String color
) {
}

@​Introspected
record Present(
    Float weight,
    String type
) {
}
public interface ChristmasMappers {
    @​Mapping(from = "packaging.color", to = "packagingColor")
    @​Mapping(from = "#{packaging.weight + present.weight}", to = "weight")
    @​Mapping(from = "#{'Merry christmas'}", to = "greetingCard")
    ChristmasPresent merge(PresentPackaging packaging, Present present);

}

Liveness Probe for Deadlocked Threads

Thanks to a community contribution, Micronaut 4.8.0 ships a new liveness probe that uses the ThreadMXBean to check for deadlocked threads.

Improved Kubernetes Integration

The Micronaut Kubernetes Client OpenApi is a Kubernetes client that uses Micronaut Netty HTTP Client and the generated APIs and modules from the OpenApi Spec of the official Java client library for Kubernetes.
Advantages of this client over the official Java client library for Kubernetes:

  • No extra dependencies needed (OkHttp, Bouncy Castle, Kotlin, etc.)
  • Unified configuration with Micronaut HTTP client
  • Support for plugging in filters
  • Native Image compatibility

Runtimes

Update to Jetty 12.

Jetty 11 contains an open CVE 2024-6763. That CVE is only addressed in Jetty 12. Because of that, we did a major upgrade of Micronaut Servlet updating to Jetty 12.0.18, Tomcat 11.0.5, and Undertow 2.3.18.Final.

Modules such as io.micronaut.aws:micronaut-function-aws-test, io.micronaut.gcp:micronaut-gcp-function-http-test, io.micronaut.azure:micronaut-azure-function-http-test, and io.micronaut.oraclecloud:micronaut-oraclecloud-function-http-test allow you to test and run during development your serverless HTTP triggered function as if you were using a runtime such as netty. We migrated these modules to use a built-in Java HTTP server instead of relying on a Jetty 11 bridge.

Runtime based on Built-In Java HTTP Server

This release introduces a new Server runtime based on the Built-In Java HTTP Server. It is now possible to have a Micronaut Application leveraging the built-in HTTP Server and HTTP Client available in Java without any extra dependencies.

Tracing, Observation, and Distributed Configuration

Micronaut Tracing updates to OpenTelemetry 1.48.0.

Micronaut Micrometer adds:

Micronaut Discovery Client allows you to create a Consult watch to detect distributed configuration changes.

Build and Source Generation

Micronaut Gradle Plugins

Update the Micronaut Gradle Plugins version to use the latest version (as of this writing 4.5.1)

Generation of Sources from a JSON Schema
Source Generation

Persistence

  • Micronaut SQL updates ojdbc to 23.7.0.25.01, MariaDB to 3.5.1, and MySQL Connector to 9.2.0, Hikari to 6.2.1, and Tomcat JDBC to 11.0.5.
  • Micronaut Coherence 5.x updates to Coherence 25.03.

Database Migration

Cloud

Reactive Libraries

Persistence

Security

  • Micronaut Security improves Oracle Cloud Identity Domain OpenID Connect integration and it adds support for the end-session endpoint when using Microsoft login.

Miscellaneous


Configuration

📅 Schedule: Branch creation - "after 10pm" in timezone Europe/Prague, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the type: dependency-upgrade Upgrade a dependency label Apr 8, 2025
@renovate renovate bot force-pushed the renovate/micronaut.platform branch from a3876ab to 4592650 Compare April 15, 2025 18:27
@renovate renovate bot changed the title fix(deps): update dependency io.micronaut.platform:micronaut-platform to v4.8.0 fix(deps): update dependency io.micronaut.platform:micronaut-platform to v4.8.1 Apr 15, 2025
@renovate renovate bot changed the title fix(deps): update dependency io.micronaut.platform:micronaut-platform to v4.8.1 fix(deps): update dependency io.micronaut.platform:micronaut-platform to v4.8.2 Apr 17, 2025
@renovate renovate bot force-pushed the renovate/micronaut.platform branch from 4592650 to 9b5da15 Compare April 17, 2025 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: dependency-upgrade Upgrade a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants