Skip to content

Latest commit

 

History

History
819 lines (469 loc) · 27.2 KB

what-s-new-in-openui5-1-98-d9f16f2.md

File metadata and controls

819 lines (469 loc) · 27.2 KB

What's New in OpenUI5 1.98

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 getAllCurrentContexts method for list bindings returns all current contexts without raising a request.For more information, see sap.ui.model.ListBinding#getAllCurrentContexts.

Changed•Feature•Info Only•1.98

Info Only

2022-01-27

1.98

Changed

Feature

OpenUI5 OData V4 Model

OpenUI5 OData V4 Model

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).

For more information, see the API Reference and the Samples.

Changed•Control•Info Only•1.98

Info Only

2022-01-27

1.98

Changed

Control

sap.m.IconTabBar

sap.m.IconTabBar

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.

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.SinglePlanningCalendar

sap.m.SinglePlanningCalendar

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.

Changed•Control•Info Only•1.98

Info Only

2022-01-27

1.98

Deprecated

Control

sap.f.IllustratedMessage / sap.m.IllustratedMessage

sap.f.IllustratedMessage / sap.m.IllustratedMessage

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:

  • sap.m.P13nDialog

  • sap.m.P13nColumnsPanel

  • sap.m.P13nSortPanel

  • sap.m.P13nGroupPanel

Deprecated•Control•Info Only•1.98

Info Only

2022-01-27

Related Information

What's New in OpenUI5 1.133

What's New in OpenUI5 1.132

What's New in OpenUI5 1.131

What's New in OpenUI5 1.130

What's New in OpenUI5 1.129

What's New in OpenUI5 1.128

What's New in OpenUI5 1.127

What's New in OpenUI5 1.126

What's New in OpenUI5 1.125

What's New in OpenUI5 1.124

What's New in OpenUI5 1.123

What's New in OpenUI5 1.122

What's New in OpenUI5 1.121

What's New in OpenUI5 1.120

What's New in OpenUI5 1.119

What's New in OpenUI5 1.118

What's New in OpenUI5 1.117

What's New in OpenUI5 1.116

What's New in OpenUI5 1.115

What's New in OpenUI5 1.114

What's New in OpenUI5 1.113

What's New in OpenUI5 1.112

What's New in OpenUI5 1.111

What's New in OpenUI5 1.110

What's New in OpenUI5 1.109

What's New in OpenUI5 1.108

What's New in OpenUI5 1.107

What's New in OpenUI5 1.106

What's New in OpenUI5 1.105

What's New in OpenUI5 1.104

What's New in OpenUI5 1.103

What's New in OpenUI5 1.102

What's New in OpenUI5 1.101

What's New in OpenUI5 1.100

What's New in OpenUI5 1.99

What's New in OpenUI5 1.97

What's New in OpenUI5 1.96

What's New in OpenUI5 1.95

What's New in OpenUI5 1.94

What's New in OpenUI5 1.93

What's New in OpenUI5 1.92

What's New in OpenUI5 1.91

What's New in OpenUI5 1.90

What's New in OpenUI5 1.89

What's New in OpenUI5 1.88

What's New in OpenUI5 1.87

What's New in OpenUI5 1.86

What's New in OpenUI5 1.85

What's New in OpenUI5 1.84

What's New in OpenUI5 1.82

What's New in OpenUI5 1.81

What's New in OpenUI5 1.80

What's New in OpenUI5 1.79

What's New in OpenUI5 1.78

What's New in OpenUI5 1.77

What's New in OpenUI5 1.76

What's New in OpenUI5 1.75

What's New in OpenUI5 1.74

What's New in OpenUI5 1.73

What's New in OpenUI5 1.72

What's New in OpenUI5 1.71

What's New in OpenUI5 1.70

What's New in OpenUI5 1.69

What's New in OpenUI5 1.68

What's New in OpenUI5 1.67

What's New in OpenUI5 1.66

What's New in OpenUI5 1.65

What's New in OpenUI5 1.64

What's New in OpenUI5 1.63

What's New in OpenUI5 1.62

What's New in OpenUI5 1.61

What's New in OpenUI5 1.60

What's New in OpenUI5 1.58

What's New in OpenUI5 1.56

What's New in OpenUI5 1.54

What's New in OpenUI5 1.52

What's New in OpenUI5 1.50

What's New in OpenUI5 1.48

What's New in OpenUI5 1.46

What's New in OpenUI5 1.44

What's New in OpenUI5 1.42

What's New in OpenUI5 1.40

What's New in OpenUI5 1.38