-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Migration Guide 2.11
Previously, the default scope attached to a @GraphQLApi
endpoint was @Dependent
. Now, unless you explicitly add a scope annotation to your endpoint, it will act as a @Singleton
bean. This is thus aligned with the default behavior of JAX-RS endpoints.
All database Dev Services now use the same database name, username and password:
- Database name:
quarkus
- Username:
quarkus
- Password:
quarkus
Except for Microsoft SQL Server, for which both the database and Testcontainers are less flexible:
- Database name: none
- Username:
SA
- Password:
Quarkus123
As a result of updating to Maven 3.8.6, jsoup
was removed from quarkus-bootstrap-bom
(quarkus-bom
respectively).
If you are using jsoup
, you will have to add an explicit version to the respective dependency declaration.
Quarkus 2.11 provides a new Redis API. Introducing this API has introduced a few breaking changes:
- Host Providers are now identified using
@Identifier
instead of@Named
- It is not possible to create dynamic clients - this was done to support pub/sub, which is now supported by the API
We recommend migrating to this new API. The old one is still available, but has been deprecated and will be removed at some point.
To migrate to the new API, we recommend injecting the RedisDataSource
(or ReactiveRedisDataSource
) in a constructor and then, retrieving the group of commands you need in your application:
private final KeyCommands<String> keyCommands;
private final StringCommands<String, Long> countCommands;
public IncrementService(RedisDataSource ds) {
countCommands = ds.string(Long.class);
keyCommands = ds.key();
}