Quarkus 4.0 is out. Treat it as a migration, not a version bump

Quarkus 4.0 is out. Treat it as a migration, not a version bump

Quarkus 4.0 is official. The project announced it on its blog on November 25, 2026, and was upfront about it: this is a new major version and it has breaking changes. The 4.0.0 artifacts were tagged a week earlier, on November 18, and a 4.0.1 patch release landed on November 25, the same day as the announcement. So if you were waiting for the first bugfix release before touching it, that one already exists.

The list of changes is long. Quarkus 4 needs Java 21 at minimum, recommends Java 25, and no longer supports Java 17. Networking and I/O move to Eclipse Vert.x 5 and Netty 4.2. Jackson goes to 3.1. Persistence moves to Hibernate ORM 8.0 with Jakarta Persistence 4.0 and Jakarta Data 1.1. On top of that you get Quarkus Data (Panache-style data access combined with Jakarta Data repositories), opt-in HTTP/3 through a new quarkus-http3 extension, and container images that now default to UBI 10.

Our take: plan it like a project

I'll be blunt. Nearly every layer a typical Quarkus service touches changes in this release: the JDK, the HTTP stack, JSON, the ORM, the base image. Any one of those would be a normal sprint ticket. All of them together is a migration, and it deserves a branch, a test plan and someone who owns it.

When we build cloud-native backends for enterprise clients, the upgrades that go badly are rarely the ones with scary release notes. They're the ones where a team bumps a version in the POM on a Friday, the build goes green, and the problem shows up three weeks later in a client nobody thought to test. Quarkus 4 has a few spots where that is likely to happen.

Move to Java 21 first, on its own

This is the one thing you can do today. Before touching Quarkus 4, check whether your current service already builds and runs on a Java 21 JDK. If it does, ship that change by itself: CI images, Dockerfiles, local dev setups, the lot. Let it run in production for a while.

Why split it out? Because if you change the JDK and the framework in the same deploy and something breaks, you've doubled the places to look. From our Docker work, the JDK version tends to be hiding in more places than people expect: a base image here, a build agent there, a forgotten Gradle toolchain setting in a side module.

The UBI 10 default belongs in the same bucket. If your Dockerfiles install extra OS packages, or your image scanner has allowlists tuned to the old base, expect some noise when the image changes underneath you.

Jackson 3 is where the time will go

The Quarkus team says outright that the Jackson upgrade is very likely to affect apps moving to 4.0. Their warning covers two things: the API itself changed a lot, and some defaults behave differently in ways that are easy to miss.

The API changes don't worry me much. They break the build, you fix them, done. The subtle default changes are a different story, because the compiler won't tell you about them. If a field that used to be left out of a response now shows up, or a date comes out in a different shape, your tests may still pass while the clients consuming that JSON quietly break.

This is where our mobile work makes me nervous. In our native iOS and Android projects, the backend JSON contract is the thing the app trusts most and checks least. A web frontend can be redeployed in minutes. An app build that's been in the store for eight months can't, and some of your users will never update it. We've seen this pattern in healthcare and IoT apps, where a small backend serialization change turned into a support ticket wave from devices running old versions.

So before you upgrade, record real responses from your current version for your most-used endpoints and keep them as snapshot fixtures. After the upgrade, diff the new responses against them. It's an afternoon of work and it catches exactly the kind of change the compiler can't see. Then search your codebase for custom serializers, deserializers and anything that configures an ObjectMapper directly. Those are the spots to review by hand.

Hibernate ORM 8 isn't final yet

This part surprised me a bit. Quarkus 4.0 upgrades to Hibernate ORM 8.0, but none of the Hibernate pieces involved have reached a final release yet: ORM 8.0, Search 9.0 and Reactive 5.1 are all still pending. Quarkus 4.0 ships candidate releases of the specifications and plans to switch to the final versions later.

That's a reasonable call for the Quarkus project, but it changes the math for you. If your service is data-heavy, with complex mappings, custom types or lots of native queries, you're effectively signing up to upgrade the persistence layer twice: once now, once when the final versions land. For our Swiss enterprise clients with formal change-approval processes, "we're running a candidate release of the ORM in production" is a hard sentence to get past a compliance review. My advice for that kind of team: get the branch building and the tests running against 4.0 now, and wait for the final Hibernate versions before going live.

Quarkus Data looks interesting, and Jakarta Data repositories are a cleaner model than a lot of hand-written DAO code I've seen. But don't rewrite your repositories during the migration. Upgrade first, keep behaviour identical, and refactor later when you can test it in isolation.

HTTP/3: opt-in, and probably stay that way for now

HTTP/3 comes through the new quarkus-http3 extension. It shares a port with the HTTPS server you already run. Clients still talking HTTP/1.1 or HTTP/2 find out that HTTP/3 is available from an Alt-Svc header in the responses they get back.

The mobile developer in me likes this. Apps on patchy cellular connections are exactly the clients that should benefit from a newer transport. The pentester in me has questions. During our pentesting engagements, new protocol support is one of the first places we look, because firewall rules, WAF policies and monitoring are usually written with the old protocols in mind.

There's also a practical catch. When we set up Cloudflare for DDoS protection on travel platforms, the edge is what clients actually talk to. Turning on HTTP/3 at your Quarkus origin may buy you very little if a CDN or load balancer sits in front of it. And if the origin advertises HTTP/3 through Alt-Svc but something in between doesn't pass that traffic, clients try, fail and fall back. Not dangerous, just wasted effort. Check your network path before you flip it on.

The short version

If I were running a Quarkus 3 service today, here's the order I'd go in:

  1. Move to a Java 21 runtime on your current version and ship that alone.
  2. Read the official migration guide end to end before anyone opens a branch.
  3. Record JSON snapshots of your busiest endpoints, then upgrade and diff.
  4. If you depend heavily on Hibernate, test on 4.0 now but hold production until the final ORM releases ship.
  5. Leave HTTP/3 off until you know what sits between your users and your origin.

None of this is exotic. It's the same boring discipline that makes any big upgrade survivable, and you can see how we've handled similar moves in our past projects. Quarkus 4 looks like a solid release. It just touches enough moving parts that "bump the version and see" isn't a plan.

If a Quarkus 3 service with years of Jackson customizations and mobile clients you can't force-update sounds familiar, let's talk. Planning and running upgrades like this is a regular part of our web and mobile development work.

expert-analysisframework-upgradejavaquarkustech-news