-
Terminally Deprecated ElementsElementDescriptionuse
GeneratedResourceBuildItem.getData()
insteadAs of GraalVM 21.2 finalFieldsWritable is no longer needed when registering fields for reflection. This will be removed in a future version of Quarkus.useReflectiveHierarchyBuildItem.builder(String)
insteaduseReflectiveHierarchyBuildItem.builder(DotName)
insteaduseReflectiveHierarchyBuildItem.builder(Type)
insteadIn favor ofRemovedResourceBuildItem(ArtifactKey, Set)
This was initially added to support Truffle, but it is no longer needed so the build item should not be usedIgnored.useMethodInfo.descriptor(Function)
useType.descriptor(Function)
useMethodInfo.genericSignature(Function)
useGenericSignature.forType(Type, Function, StringBuilder)
useGenericSignature.genericSignatureIfRequired()
useGenericSignature.genericSignatureIfRequired(Function)
-
Deprecated ClassesClassDescription
--enable-all-security-services
was removed in GraalVM 21.1 https://github.com/oracle/graal/pull/3258This was initially added to support Truffle, but it is no longer needed so the build item should not be usedIgnored.useProcessInheritIODisabledBuildItem
insteadIn the future, it will be possible to request multiple output types.In the future, it will be possible to request multiple output types.In the future, it will be possible to request multiple output types.in favor ofGlobUtil
-
Deprecated FieldsFieldDescriptionIf you want to serve static resources use
io.quarkus.vertx.http.deployment.spi.GeneratedStaticResourceBuildItem
instead.Use more precise capabilityCapability.SMALLRYE_METRICS
Tika has been moved to the QuarkiverseJNI is always enabled starting from GraalVM 19.3.1.Useio.quarkus.runtime.graal.GraalVM.Version.CURRENT
instead.Useio.quarkus.runtime.graal.GraalVM.Version.MINIMUM
instead.Useio.quarkus.runtime.graal.GraalVM.Version.MINIMUM_SUPPORTED
instead.
-
Deprecated MethodsMethodDescriptionin favor of
ApplicationArchive.getResolvedPaths()
in favor ofApplicationArchive.getKey()
in favor ofApplicationArchive.getResolvedPaths()
in favor ofApplicationArchive.getRootDirectories()
Returns paths representing the archive root directories. Note that every path in this collection is guaranteed to be a directory. If the actual application archive appears to be a JAR, this collection will include a path to the root of the mountedFileSystem
created from the JAR.in favor ofArchiveRootBuildItem.getResolvedPaths()
in favor ofArchiveRootBuildItem.getRootDirectories()
in favor ofArchiveRootBuildItem.getResolvedPaths()
in favor ofArchiveRootBuildItem.getRootDirectories()
Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()
instead.Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()
instead.Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()
instead.Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()
instead.Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()
instead.useGeneratedResourceBuildItem.getData()
insteadAs of GraalVM 21.2 finalFieldsWritable is no longer needed when registering fields for reflection. This will be removed in a future verion of Quarkus.As of GraalVM 21.2 finalFieldsWritable is no longer needed when registering fields for reflection. This will be removed in a future version of Quarkus.useReflectiveHierarchyBuildItem.builder(String)
insteaduseReflectiveHierarchyBuildItem.builder(DotName)
insteaduseReflectiveHierarchyBuildItem.builder(Type)
insteadSince GraalVM 20.2.0 the native image server has become an experimental feature and is disabled by default.--enable-all-security-services
was removed in GraalVM 21.1 https://github.com/oracle/graal/pull/3258JNI is always enabled starting from GraalVM 19.3.1.This used to be the default prior to GraalVM 20.2.0 and this configuration item was used to disable it as it was not stable. Since GraalVM 20.2.0 the native image server has become an experimental feature.Usequarkus.native.monitoring
instead.GraalVM 23.1+ will always build with full stack traces.inlineBeforeAnalysis is always enabled starting from GraalVM 21.3.Use the global quarkus.default-locale.Use the global quarkus.default-locale.This construct should not be needed in most use cases since directly loading deployment/application classes at processing time in build steps is safe. However, there are use cases where this method comes in handy, such as referring to classes that were generated in previous build steps usingGeneratedClassBuildItem
.useMethodInfo.descriptor(Function)
useType.descriptor(Function)
useMethodInfo.genericSignature(Function)
useGenericSignature.forType(Type, Function, StringBuilder)
useGenericSignature.genericSignatureIfRequired()
useGenericSignature.genericSignatureIfRequired(Function)
in favor ofGlobUtil.toRegexPattern(String)
Transforms the givenglob
to a regular expression suitable for passing toPattern.compile(String)
.Glob syntax
Construct Description *
Matches a (possibly empty) sequence of characters that does not contain slash ( /
)**
Matches a (possibly empty) sequence of characters that may contain slash ( /
)?
Matches one character, but not slash [abc]
Matches one character given in the bracket, but not slash [a-z]
Matches one character from the range given in the bracket, but not slash [!abc]
Matches one character not named in the bracket; does not match slash [a-z]
Matches one character outside the range given in the bracket; does not match slash {one,two,three}
Matches any of the alternating tokens separated by comma; the tokens may contain wildcards, nested alternations and ranges \
The escape character
-
Deprecated ConstructorsConstructorDescriptionin favor of {@link #CapabilityBuildItem(String, String))} that also accepts the provider of the capability to be highlighted in the error messages in case of detected capability conflicts.This method was previously used to enable JNI from Quarkus extensions, but JNI is always enabled starting from GraalVM 19.3.1.Use the Builder instead.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.In favor of
RemovedResourceBuildItem(ArtifactKey, Set)
-
Deprecated Enum ConstantsEnum ConstantDescriptionThis packaging type is no longer recommended for use.
ContainerRuntimeStatusBuildItem.isContainerRuntimeAvailable()
instead