Quarkus 4.0 drops Java 17 and adds opt-in HTTP/3
The major upstream release moves to Vert.x 5, Netty 4.2 and Jackson 3.1, and introduces Quarkus Data for blocking and reactive applications.
The Quarkus project formally announced Quarkus 4.0 on Nov. 25, after the core artifacts appeared on Maven Central. Quarkus 4.0 makes Java 21 the minimum and recommends Java 25. Java 17 is no longer supported, and the default container images now use Red Hat Universal Base Image 10. For teams upgrading from Quarkus 3, the first check is whether their build and deployment environments meet that new baseline.
What changed
Quarkus moved its networking stack to Vert.x 5 and Netty 4.2. The new quarkus-http3 extension opts an application into HTTP/3 over QUIC. On the server it runs alongside the existing HTTPS service on the same port, and HTTP/1.1 and HTTP/2 responses advertise HTTP/3 through Alt-Svc. The project says the extension also works with the Quarkus REST Client and in native executables. Applications do not have to adopt HTTP/3 as part of the upgrade.
The other major addition is Quarkus Data, which combines Panache-style data access with Jakarta Data repositories and type-safe queries for blocking and reactive applications. There is a caveat for teams evaluating persistence: although Quarkus 4.0 itself is released, the announcement says Hibernate ORM 8.0, Hibernate Reactive 5.1 and Hibernate Search 9.0 are not final yet. The release ships candidate versions of Jakarta Persistence 4.0 and Jakarta Data 1.1.
Who should test first
The project flags Jackson 3.1 as a likely source of application and extension changes because both APIs and defaults have changed. It also calls out changes to the gRPC extension and reactive SQL driver APIs. Developers who call Vert.x directly, including through the SmallRye Mutiny bindings, have more to check: Vert.x 5 removed callback-based APIs in favor of futures.
What to do before upgrading
The release announcement recommends starting with quarkus update --stream=4.0. The migration guide marks which changes the tool can handle automatically. Use those markings to separate automated changes from manual review. On a test branch, check the JDK used by CI and the deployed runtime, then rerun serialization and integration tests around any gRPC, reactive SQL or direct Vert.x code. Test HTTP/3 separately if you plan to enable it; the migration does not depend on adopting the new transport.
sources
- Quarkus 4.0 release announcementquarkus.io
- Quarkus 4.0 migration guidegithub.com
- Maven Central: Quarkus 4.0.0 core artifactsrepo.maven.apache.org
comments · 0