Skip to content

Latest commit

 

History

History
1133 lines (661 loc) · 31 KB

What_s_New_in_OpenUI5_1_50_759e9f3.md

File metadata and controls

1133 lines (661 loc) · 31 KB
loio
759e9f3aa50d4fd08538655f373b0038

What's New in OpenUI5 1.50

With this release OpenUI5 is upgraded from version 1.48 to 1.50.


Version

Type

Category

Title

Description

Action

Available as of

1.50

New

Feature

New Demo Kit (already available as of version 1.48.5)

New Demo Kit (already available as of version 1.48.5)

The Demo Kit app has a new modern design that is intuitive and can be used on both desktop and mobile devices.

The global search has been improved and the results are now displayed in categories. They also include results from the Samples section, which was not possible with the old Demo Kit since the Explored app was a decoupled app.

The new Demo Kit contains the following sections:

  • Landing page with getting started information

  • Documentation with detailed information

  • API Reference with JavaScript documentation about the framework and the UI controls, including details for the corresponding properties, aggregations, associations, events, and methods

  • Samples, showcasing almost all controls with ability to download the sample code

  • Demo Apps, showcasing real-life scenarios that can easily be downloaded

New•Feature•Info Only•1.50

Info Only

2017-11-09

1.50

New

Feature

Unicode Common Locale Data Repository (CLDR)

Unicode Common Locale Data Repository (CLDR)

The Unicode Common Locale Data Repository (CLDR) has been updated to version 31.

The correct plural category for a given number is now handled by the locale-specific plural rules offered by CLDR. Different languages use different plural forms, some languages have only singular and plural, others require additional forms, for example, dual (two), paucal (few), or many.

New•Feature•Info Only•1.50

Info Only

2017-11-09

1.50

New

Feature

Date Interval Types

Date Interval Types

Date interval types are introduced to format two date-related properties from a model for displaying in the UI. Additionally they are used to parse and validate the values in UI controls before they are saved back to the model. The new interval types are:

  • sap.ui.model.type.DateInterval - a date interval (without time)

  • sap.ui.model.type.DateTimeInterval - a date interval with the exact point of time

  • sap.ui.model.type.TimeInterval - a time interval (without date)

For more information, see sap.ui.model.type.DateTimeInterval and the API Reference.

New•Feature•Info Only•1.50

Info Only

2017-11-09

1.50

New

Feature

animationMode

animationMode

The configuration option animationMode replaces animation, which is now deprecated. The new option supports several states (full, basic, minimal, none), which allow controls to extend support for animations in a more granular way instead of a binary on/off state. For more information, see Configuration Options and URL Parameters, Implementing Animation Modes, and the API Reference.

New•Feature•Info Only•1.50

Info Only

2017-11-09

1.50

New

Control

sap.m.PlanningCalendarLegend

sap.m.PlanningCalendarLegend

sap.m.PlanningCalendarLegend enables two types of items to be displayed in the sap.m.PlanningCalendar as a legend - types of days (for example, special dates and holidays) and appointments.For more information, see the API Reference.

New•Control•Info Only•1.50

Info Only

2017-11-09

1.50

Changed

Feature

OpenUI5 OData V4 Model

OpenUI5 OData V4 Model

The new version of the OpenUI5 OData V4 model introduces an adapter that allows you to use an OData V2 service together with the OData V4 model in read scenarios. The adapter offers the following features:

  • Metadata is converted, including some V2 annotations.

  • Data in the response is converted.

  • Literals in the request URI are converted, except for Edm.DateTime, Edm.DateTimeOffset, Edm.Time, and Edm.Binary.

  • $select, $expand, and $orderby are handled. Cases that are not supported by OData V2, like $orderby in $expand, lead to an error.

  • All unsupported query options lead to an error.

Caution:

Incompatibility Due to a Bug Fix

The following bug has been reported: If you call the sap.ui.model.odata.v4.Context#getObject() or the sap.ui.model.odata.v4.Context#requestObject() methods without a parameter, the expected and documented behavior is that the same result is returned as if the parameter sPath="" had been specified. However, due to the bug, the return value wraps the expected output that can then only be accessed via .value[0], for example oContext.getObject().value[0].

If you have used this workaround, your application will break starting with OpenUI5 version 1.44.6.

Solution: If your application needs to run with both the fixed and unfixed versions of OpenUI5, specify the sPath="" parameter, for the sPath parameter. In both cases, you must not use the workaround with .value[0] any longer.

Restriction:

Due to the limited feature scope of this version of the OpenUI5 OData V4 model, check that all required features are in place before developing applications. Check the detailed documentation of the features, as certain parts of a feature may be missing. While we aim to be compatible with existing controls, some controls might not work due to small incompatibilities compared to sap.ui.model.odata.(v2.)ODataModel, or due to missing features in the model (such as tree binding). This also applies to controls such as TreeTable and AnalyticalTable, which are not supported together with the OpenUI5 OData V4 model. The interface for applications has been changed for easier and more efficient use of the model. For a summary of these changes, see Changes Compared to OData V2 Model.

For more information, see OData V4 Model, the API Reference, and the sample in the Demo Kit.

Changed•Feature•Info Only•1.50

Info Only

2017-11-09

1.50

Changed

Feature

Support Assistant: OPA Test Sample Added

Support Assistant: OPA Test Sample Added

With the roll-out of Support Assistant in version 1.48, we introduced the possibility to use the tool in OPA tests to check if there are issues in the different states of an application. This is possible by enabling the available OPA extension.

As of this version, there is now a sample of the OPA integration in the Demo Kit. It demonstrates how you can extend existing OPA tests by making calls to the assertions in the Support Assistant extension. These assertions may have different severity, execution scope and subset of rules which are taken into consideration. The sample also shows how to execute rule checks and how to get reports.

As of this version, there is now a sample of the OPA integration in the Demo Kit. For more information, see Integrating the Rules in OPA Tests and the Sample.

Changed•Feature•Info Only•1.50

Info Only

2017-11-09

1.50

Changed

Control

sap.f.DynamicPage

sap.f.DynamicPage

sap.f.DynamicPage has the following new features:

  • You can now define the priority of the DynamicPageTitle areas with the use of the new primaryArea property. The primary area shrinks at a slower rate, remaining visible as long as possible.

  • With the new content aggregation of the DynamicPageTitle, you can add content in the middle area of the title. This content is displayed both in the expanded and collapsed states of the DynamicPageHeader.

For more information, see the API Reference.

Changed•Control•Info Only•1.50

Info Only

2017-11-09

1.50

Changed

Control

sap.f.semantic.SemanticPage

sap.f.semantic.SemanticPage

To align with the latest SAP Fiori design guidelines, the following changes were implemented:

  • The position of the draft indicator is changed to be the first one before the finalizing actions in the footer toolbar of the page.

  • A new Edit button was added as the main action and the order of the actions changed to Edit, Delete, Copy, and Add.

For more information, see Semantic Page (sap.f), the API Reference, and the sample.

Changed•Control•Info Only•1.50

Info Only

2017-11-09

1.50

Changed

Control

sap.m.Label

sap.m.Label

sap.m.Label has the following new properties:

  • wrapping: Determines whether text within a label is wrapped. The default value is false. If set to false, the label text only uses one line and any exceeding text is truncated and replaced with an ellipsis. When you use the Label within a sap.m.Form the label text is automatically displayed as wrapped.

  • displayOnly: Determines whether the label is in displayOnly mode. Controls in this mode are non-interactive, non-focusable, cannot be edited, and do not form part of the tab chain. The displayOnly property is used in Form controls when they are in preview mode.

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

Changed•Control•Info Only•1.50

Info Only

2017-11-09

1.50

Changed

Control

sap.m.MessageStrip

sap.m.MessageStrip

sap.m.MessageStrip now supports a limited set of formatting tags for the text. The available tags are <a>, <em>, <strong>, and <u>. To enable the additional formatting tags, you have to set the enableFormattedText property to true. For more information, see the API Reference and the Samples.

Changed•Control•Info Only•1.50

Info Only

2017-11-09

1.50

Changed

Control

sap.m.Panel

sap.m.Panel

sap.m.Panel has a new parameter for the expand event that identifies whether the user or the application is expanding or collapsing the Panel control. The parameter is called triggeredByInteraction and is true when the panel is expanded as a result of a user action. For more information, see the API Reference and the Samples.

Changed•Control•Info Only•1.50

Info Only

2017-11-09

1.50

Changed

Control

sap.m.PlanningCalendar

sap.m.PlanningCalendar

  • You can now directly navigate to a date with fewer clicks.

  • With the use of the new builtInViews property the app developer can now define which of the built-in views are displayed. For more information, see the API Reference and the sample.

  • To save space, the days are now displayed on the same line as the dates. If you want to display the day names on a separate line, set the showDayNamesLine property to true.For more information, see the API Reference and the sample.

Changed•Control•Info Only•1.50

Info Only

2017-11-09

1.50

Changed

Control

sap.m.ProgressIndicator

sap.m.ProgressIndicator

You can now set the control in a display-only state using the new displayOnly property. When set to true, the control has different visualization and is not active, not editable, and cannot be focused. For more information, see the API Reference and the Samples.

Changed•Control•Info Only•1.50

Info Only

2017-11-09

1.50

Changed

Control

sap.m.RatingIndicator

sap.m.RatingIndicator

A new state can be set using the displayOnly property. It enables visually distinguishable rendering of the RatingIndicator (gray color), denoting it as non-interactive in forms. All controls in this mode are also non-focusable and not part of the tab chain. For more information, see the API Reference and the Sample.

Changed•Control•Info Only•1.50

Info Only

2017-11-09

1.50

Changed

Control

sap.m.semantic.SemanticPage

sap.m.semantic.SemanticPage

You can now set the background color of the page using the new backgroundDesign property. For more information, see Semantic Page (sap.m) and the API Reference.

Changed•Control•Info Only•1.50

Info Only

2017-11-09

1.50

Changed

Control

sap.m.UploadCollection

sap.m.UploadCollection

UploadCollectionItem has been extended to display folders in the UploadCollection control. When you click the file name or item thumbnail, you can perform custom actions by adding an event handler to the press event. With the deletePress event, you can control the deletion of an item. For more information, see the API Reference and the sample.

Changed•Control•Info Only•1.50

Info Only

2017-11-09

1.50

Changed

Control

sap.m.Tree

sap.m.Tree

The toggleOpenState event has been added. For more information, see the API Reference and the sample.

Changed•Control•Info Only•1.50

Info Only

2017-11-09

1.50

Changed

Control

sap.ui.unified.Calendar

sap.ui.unified.Calendar

The days of the previous/next month are no longer visible whenever the sap.ui.unified.Calendar displays multiple months. For more information, see the API Reference and the sample.

Changed•Control•Info Only•1.50

Info Only

2017-11-09

1.50

Changed

Control

sap.ui.layout.form.Form/sap.ui.layout.form.SimpleForm

sap.ui.layout.form.Form/sap.ui.layout.form.SimpleForm

The samples, including the descriptions, have been simplified and are now more consistent. For more information, see the Form and the SimpleForm samples.

Changed•Control•Info Only•1.50

Info Only

2017-11-09

Parent topic:Previous Versions

Related Information

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

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