NewsCrawler.org

Quarkus 4.0 released with Java 21 as the minimum and Vert.x 5 networking

Quarkus 4.0 released with Java 21 as the minimum and Vert.x 5 networking
Dev UI Observability dashboard showing OpenTelemetry traces and metrics
Details of a trace in the Dev UI Observability dashboard
Details of a metric in the Dev UI Observability dashboard
Image: Reddit

Quarkus 4.0, a new major version, was two years in the making. It includes breaking changes, so the team recommends reading the announcement before upgrading. Quarkus 4 requires Java 21, Java 25 is recommended, and Java 17 is no longer supported. The networking layer moves to Vert.x[1] 5 and Netty[2] 4.2.

CDI[3] is upgraded to 5.0, adding the @Reserve, @Eager and @AutoClose annotations. The release also upgrades to Jackson 3.1, Jakarta REST 4, Hibernate ORM 8 and Jakarta Persistence 4.0. It introduces Quarkus Data, opt-in HTTP/3 through the quarkus-http3 extension, and an Observability dashboard in the Dev UI.

Native transports can be epoll, kqueue or io_uring, and a single property runs blocking REST endpoints on virtual threads. Quarkus Agent MCP is now the recommended way to use AI coding agents with Quarkus. The article says the Jackson changes are very likely to affect applications, and it points to the Jackson section of the migration guide.

Repository Quarkus github.com

Open source Java framework for building fast, low-memory apps, including native executables, for cloud and serverless.

Stars: 16,003Forks: 3,378License: Apache-2.0Updated:

Read the original quarkus.ioDiscussion

Sources

Published: First seen: Читать по-русски

Open as a page