Skip to content

Quarkus 3.31#3614

Open
snazy wants to merge 5 commits intoapache:mainfrom
snazy:quarkus-3.31
Open

Quarkus 3.31#3614
snazy wants to merge 5 commits intoapache:mainfrom
snazy:quarkus-3.31

Conversation

@snazy
Copy link
Member

@snazy snazy commented Jan 29, 2026

Updates Quarkus to 3.31.x.

The Mongo-DB changes are necessary to account for the new way to define (multiple) Mongo drivers and that have an active flag. The internal-ish Mongo related classes in the Quarkus extension have changed. The added config-source makes the whole change transparent to users.

@github-project-automation github-project-automation bot moved this to PRs In Progress in Basic Kanban Board Jan 29, 2026
@snazy snazy marked this pull request as draft January 29, 2026 17:14
@snazy snazy force-pushed the quarkus-3.31 branch 4 times, most recently from 6f51bc0 to 45476ca Compare January 29, 2026 21:10
@snazy snazy force-pushed the quarkus-3.31 branch 3 times, most recently from 9b4a713 to e64b27f Compare February 4, 2026 13:15
@snazy snazy force-pushed the quarkus-3.31 branch 4 times, most recently from 3d51bd7 to d28c9a2 Compare February 4, 2026 19:27
@snazy snazy marked this pull request as ready for review February 4, 2026 19:27
@snazy snazy requested review from adutra and dimas-b February 4, 2026 19:27
Copy link
Contributor

@dimas-b dimas-b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice upgrade 🎉

I wonder whether the new MongoDbBackendBuilder is usable in older Quarkus versions 🤔

@snazy
Copy link
Member Author

snazy commented Feb 4, 2026

I wonder whether the new MongoDbBackendBuilder is usable in older Quarkus versions 🤔

Nope, it's sadly not.
Older Quarkus versions do not know that active-property and the whole mechanism how the beans/instances are created is very different.
I'd have loved to split out the Mongo specific change, but it doesn't work, not even partially just the Instance<MongoClient> as that approach requires the new active-property.

HttpServer httpServer;

private Response request(Map<String, String> headers) {
var baseUri = URI.create("http://localhost:" + httpServer.getPort());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't you inject @TestHTTPResource URL testUrl?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW this was just a nit, no need to change.

renovate-bot and others added 5 commits February 6, 2026 08:09
The Mongo-DB changes are necessary to account for the new way to define (multiple) Mongo drivers and that have an `active` flag. The internal-ish Mongo related classes in the Quarkus extension have changed. The added config-source makes the whole change transparent to users.
@github-project-automation github-project-automation bot moved this from PRs In Progress to Ready to merge in Basic Kanban Board Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants