docs

Compatibility Version Information

Compatibility version flags were introduced to allow applications to react to incompatible changes in OpenUI5.

Caution:

The concept of compatibility versions has been abandoned as of OpenUI5 version 1.28. Therefore, no new compatibility version flags will be introduced in the future. If you start building a new application, please set data-sap-ui-compat-version="edge" on your OpenUI5 bootstrap tag.

This ensures that the newest behavior of all features is applied. Other version definitions, including the default value, are deprecated.


Previous Function of the Compatibility Version Flag (deprecated)

As described in the compatibility rules, changes to OpenUI5 features are compatible; see Compatibility Rules for more information. In some cases, however, it used to make sense to change the behavior of a feature, for example, in order to change the default values or to use an optimized implementation. These changes could result in incompatibilities.

Note:

We recommend adopting new feature versions as soon as possible.

The compatibility version configuration worked as follows:

OpenUI5 supports the following compatibility version flags:

Flag Description
`data-sap-ui-compat-version-sapMeTabContainer` The `TabContainer` was deprecated in 1.15. When the compatibility version is 1.16 or higher, an error is logged to the console indicating that `sap.m.IconTabBar` should be used instead. Default value: 1.14
`data-sap-ui-compat-version-sapMeProgessIndicator` \--
`data-sap-ui-compat-version-sapMGrowingList` \--
`data-sap-ui-compat-version-sapMListAsTable` \--
`data-sap-ui-compat-version-sapMDialogWithPadding` By default, the content area of `Dialog` had paddings. To make the padding consistent with other popups, the padding is removed for compatibility versions 1.16 or higher. If the padding is still needed inside the content area of `Dialog`, you can use the [Container Content Padding CSS Classes](/docs/04_Essentials/using-container-content-padding-css-classes-c71f6df.html). Default value: 1.14

Related Information

Compatibility Rules