-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Migration Guide 2.4
Injection points targeting beans annotated with org.eclipse.microprofile.config.inject.ConfigProperties
, require to be annotated with the org.eclipse.microprofile.config.inject.ConfigProperties
qualifier as stated in the MicroProfile specification. Previous Quarkus versions were only requiring a single @Inject
.
This version of Quarkus updated to Hibernate Reactive 1.0.0.CR10
, in which a frequently used API changed signature;
to open a new Mutiny
.Session
from a Mutiny
.SessionFactory
you now have:
Uni<Session> openSession();
Uni<Session> openSession(String tenantId);
Uni<StatelessSession> openStatelessSession();
Uni<StatelessSession> openStatelessSession(String tenantId);
N.B. the difference: they no longer return a Mutiny.Session
directly but a Uni of such object.
We considered giving these a new name, and deprecate the existing name, but since it's an experimental component and we really like this name we decided breaking the API was the better choice, for the long term benefits.
A similar change was applied to the Stage
.SessionFactory
: all methods opening a Stage
.Session
are now returning a CompletionStage<Session>
.