@deprecated
annotation is used for obsolete public code, which will be removed with the next major release. The annotation always needs the specific major version tag, in which the code should be removed. Always add a meaningful comment with information about the corresponding replacement and how the deprecated code can be removed.@feature-deprecated
annotation is used for obsolete code during the development of a feature, when the code is still hidden behind a feature flag. This is important, so that code, that is not public, will not trigger deprecation warnings. This annotation has to be changed to the correct @deprecated
annotation, when the feature is released and the corresponding feature flag is removed. Always add the name of the corresponding feature flag to the annotation, so that it will not be forgotten, when the flag is removed.@major-deprecated
annotation is used for breaking code which has to stay behind a specific major feature flag until the next major release. Always add the name of the corresponding feature flag to the annotation, so that it will not be forgotten, when the flag is removed.@internal
annotation is used for newly introduced code, which is not yet released. This ensures, that it will not be treated as public API until the corresponding feature is released and makes it possible to change the code in any way until the final release. Always add the name of the corresponding feature flag to the annotation, so that it will not be forgotten, when the corresponding feature is released.@internal annotation
for new public API.@internal
annotation.@feature-deprecated
annotation.@deprecated
annotation.@major-deprecated
annotation. Hide breaking code behind additional major feature flag! Also create a separate changelog for the change with the major flag.trunk
branch, the changes have to stay behind a special feature flag, which is especially marked as a major feature flag.@internal
annotation for new public API.@internal
annotation.@major-deprecated
annotation.@major-deprecated
annotation.func_get_args()
.
Code Example: Add an argumentfunc_get_args()
.
Code Example: Add an argumentfunc_get_args()
.
Code Example: Add an argumentfunc_get_args()
.
Code Example: Add an argumentgetDecorated
call.
Code Example: Add a public functiondisplay
, position
, visibility
, z-index
, pointer-events
, overflow
, transform
display
, position
, visibility
, z-index
, pointer-events
, overflow
, transform
is--*
.deprecated
tag from TWIG including a comment with the normal annotation.