-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Migration Guide 3.19
Note
|
We highly recommend the use of Items marked below with ⚙️ ✅ are automatically handled by |
We migrated all the Quarkus config properties to the new @ConfigMapping
based framework.
If you develop extensions and are injecting some configuration classes into your extensions, be aware that they are now interfaces and using methods instead of fields.
For some very commonly consumed config classes, we kept a compatibility layer for common properties but these compatibility layers will disappear in the future.
We encourage extension owners to move to the new config infrastructure based on @ConfigMapping
.
You can find a lot of examples here: https://github.com/quarkusio/quarkus/pulls?q=is%3Apr+ConfigMapping+in%3Atitle+is%3Aclosed
And don’t hesitate to ping us if you have questions or need any help.
To ease the transition, the following configuration classes have been kept around (but limited to very few properties) and are deprecated:
-
GlobalDevServicesConfig
: useDevServicesConfig
instead -
HttpConfiguration
: useVertxHttpConfig
instead -
HttpBuildTimeConfig
: useVertxHttpBuildTimeConfig
instead
In passing, we made a few adjustments to some properties that were annoying when using YAML:
-
In Vert.x HTTP,
quarkus.http.cors
is deprecated and may be replaced withquarkus.http.cors.enabled
-
In Logging JSON (the extension in Core),
quarkus.log.*.json
is deprecated and may be replaced withquarkus.log.*.json.enabled