You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this release OpenUI5 is upgraded from version 1.97 to 1.98.
Version
Type
Category
Title
Description
Action
Available as of
1.98
Changed
Feature
OpenUI5 OData V2 Model
OpenUI5 OData V2 Model
The new version of the OpenUI5 OData V2 model introduces the following features:
The sap.ui.model.odata.v2.ODataListBinding#create method, which allows to create transient entries in a list binding similar to its counterpart in the OData V4 model. For more information, see Creating Entities.
You can now create inactive contexts using sap.ui.model.odata.v2.ODataListBinding#create. There is no POST request for an inactive context. The context will become active as soon as any of its properties is changed. Once this happens, the createActivate event is raised, enabling the application to create a new inactive context.
Inactive contexts do not influence sap.ui.model.odata.v2.ODataListBinding#getCount. They are neither pending changes nor are they reset by sap.ui.model.odata.v2.ODataModel#resetChanges. For more information, see Creating Entities.
The new version of the OpenUI5 OData V4 model introduces the following features:
You can now replace a row context of a list with a sibling entity of the same collection. The sibling entity must be available as a :1 navigation property and is accessed with an operation binding. For more information, see Draft Handling with the OData V4 Model.
An application can now create inactive contexts in a list binding using the bInactive parameter of sap.ui.model.odata.v4.ODataListBinding#create, provided the update group of the binding is an Auto group. There is no POST request for an inactive context. The context will become active as soon as any of its properties is changed. Once this happens, the createActivate event is raised, enabling the application to create a new inactive context.
Inactive contexts do not influence sap.ui.model.odata.v4.ODataListBinding#getCount. They are neither pending changes nor are they reset by sap.ui.model.odata.v4.ODataListBinding#resetChanges or sap.ui.model.odata.v4.ODataModel#resetChanges. For more information, see Creating an Entity in a Collection.
The sap.ui.model.odata.v4.ODataListBinding#getAllCurrentContexts method returns all current contexts without raising a request.
The experimental sap.ui.model.odata.v4.ODataContextBinding#moveEntityTo method introduced with OpenUI5 1.95 is deprecated.
Changed•Feature•Info Only•1.98
Info Only
2022-01-27
1.98
Changed
Control
sap.m.DateTimePicker, sap.m.TimePicker
sap.m.DateTimePicker, sap.m.TimePicker
We have introduced a shortcut button that focuses the current time. The button is shown if the new showCurrentTimeButton property is set to true. For more information, see the API Reference and the Sample.
Changed•Control•Info Only•1.98
Info Only
2022-01-27
1.98
Changed
Control
sap.m.DynamicDateRange (Experimental)
sap.m.DynamicDateRange (Experimental)
When the user types something in the input field of the control, the displayed suggestion items now appear in groups if the enableGroupHeaders property is set to true.
We have added new standard options to the control that represent the first or the last day of the current week, month, quarter, or year.
The StandardDynamicDateRangeKeys is now an enumeration with keys matching the values. The default value of the DynamicDateRange control’s options property is now a full array of the keys (before it was an empty array).
There is a change in the way how the control computes and displays the number of tabs that are in the overflow buttons at both sides of the tabs area, when the property overflow mode is set to StartAndEnd. Now, only the top-level tabs are counted and not the nested sub-tabs. For more information, see the API Reference and the Sample.
Changed•Control•Info Only•1.98
Info Only
2022-01-27
1.98
Changed
Control
sap.m.Label
sap.m.Label
We have introduced a new showColon property. If set to true, a colon (:) character is added to the label. This feature is useful in cases when the Label is used independently. In contrast, when the Label is in a Form or in a Simple Form, the colon (:) character is displayed automatically regardless of the value of the showColon property. For more information, see the API Reference.
Changed•Control•Info Only•1.98
Info Only
2022-01-27
1.98
Changed
Control
sap.m.List
sap.m.List
You can now display an avatar in your list instead of an image or icon. We have integrated the sap.m.Avatar control as an aggregation of StandardListItem. For more information, see the API Reference and the Sample.
Changed•Control•Info Only•1.98
Info Only
2022-01-27
1.98
Changed
Control
sap.m.p13n*
sap.m.p13n*
We have made personalization within a table or list more reusable. Different panels with reusable content for the various types of personalization are now available for freestyle use in your application.
The following panels are available (as experimental APIs):
sap.m.p13n.SelectionPanel
Defines a number of properties that allow you to select and deselect fields as columns in your table, for example, and to change their order.
sap.m.p13n.SortPanel
Defines a number of properties that allow you to sort your items based on various criteria, for example, in ascending or descending order.
sap.m.p13n.GroupPanel
Defines a number of properties that allow you to group your data.
The panels are aggregated to sap.m.p13n.Popup (experimental), which serves as a container for all the panels.
With the new firstDayOfWeek property, you can now set the first day of a week displayed in the Week and Month views of the control. If there is no valid value set, the default from the user locale is used. For more information, see the API Reference and the Sample.
Changed•Control•Info Only•1.98
Info Only
2022-01-27
1.98
Changed
Control
sap.m.upload.UploadSet
sap.m.upload.UploadSet
For the uploadCompleted event, an additional JSON response object is now passed. Along with it, some of its parameters are also passed such as response, responseXML, readyState, status, and headers. It helps you to understand if the upload is complete.
Changed•Control•Info Only•1.98
Info Only
2022-01-27
1.98
Changed
Control
sap.ui.integration.widgets.Card
sap.ui.integration.widgets.Card
We have introduced a new filter type – Search (experimental). To define it, you only have to set the filter's type property to Search, and then specify the optional initial value of the filter and the placeholder of the field. For more information, see the Search Filter section and the Sample in the Card Explorer.
Integration cards now support (experimentally) CSRF tokens as a method to prevent CSRF attacks. For more information, see the CSRF Tokens section and the Sample in the Card Explorer.
The submit action of the Adaptive card supports binding syntax. This allows card developers to map the values entered by the end user to the payload structure expected by the back-end service. For more information, see the Action Handlers section and the Sample in the Card Explorer.
We have added support for more HTTP request methods. Together with GET and POST, Integration cards now also support PUT, PATCH, DELETE, OPTIONS, and HEAD methods. For more information, see the Data Handling section in the Card Explorer.
Object cards are (experimentally) enhanced with new item types and a new attribute. The new item types are NumericData, which shows some KPIs, and Status. The new attribute is maxLines - it represents the maximum number of lines the text can take. For more information, see the Object Card section, the To Do Card sample, and Additional Object Details sample in the Card Explorer.
We have updated the sap.ui.integration.widgets.Card of type Adaptive with the new 1.01 version of UI5 Web Components. For more information, see the Adaptive Card section in the Card Explorer.
We have updated the sap.ui.integration.widgets.Card of type Adaptive to support the newest templating and markdown features available for Microsoft Adaptive Cards, by getting the latest versions of adaptivecards-templating, adaptive-expressions, and markdown-it. Due to changes in the templating syntax, developers should adapt their applications when they switch to version 1.98. For more information, see the Adaptive Card section and the Templating and Markdown Samples in the Card Explorer.
The sap.f.IllustratedMessage and its related classes are now moved to the sap.m library. The sap.f classes and their documentation are kept for compatibility reasons and are marked as deprecated. All of them extend their sap.m version.For more information, see the API Reference.
Deprecated•Control•Info Only•1.98
Info Only
2022-01-27
1.98
Deprecated
Control
sap.m.P13n*
sap.m.P13n*
The following entities have been deprecated and replaced with the new personalization panels: