Skip to content

Latest commit

 

History

History
1394 lines (820 loc) · 34.5 KB

What_s_New_in_OpenUI5_1_48_fa1efac.md

File metadata and controls

1394 lines (820 loc) · 34.5 KB
loio
fa1efaca7d674995a0dc3a95ba0a4d08

What's New in OpenUI5 1.48

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


Version

Type

Category

Title

Description

Action

Available as of

1.48

Changed

Announcement

Third-Party Library Upgrades

Third-Party Library Upgrades

  • The Handlebars.js library has been upgraded from version 3.0.3 to 4.0.5. If you access the parent contexts in your Handlebars templates, make sure that you pass the compat flag when compiling:

    Handlebars.compile(source, {
    	compat: true
    });
    
    

    This change has also been applied to the OpenUI5 versions that are still in maintenance (1.28, 1.38., 1.44).

  • QUnit version 2.3.2 has been added (module sap.ui.thirdparty.qunit-2, resources sap/ui/thirdparty/qunit-2.js).

Changed•Announcement•Info Only•1.48

Info Only

2017-08-02

1.48

New

Feature

Support Assistant and Other Support Tools

Support Assistant and Other Support Tools

The new Support Assistant tool enables application developers to check whether they have built their applications in accordance with the best practices for building OpenUI5 apps. The tool uses a set of predefined rules to check all aspects of an application, for example, accessibility, performance, data-binding, and more. Support Assistant is integrated into One Page Acceptance Tests (OPA5) and can be used as part of OPA tests.

The main features of the tool are:

  • Creation and management of support rules

  • Application analysis

  • Results reporting

For more information, see Support Assistant.

We have also redesigned the other support tools, Technical Information Dialog and Diagnostics, reworked the Troubleshooting documentation section under Essentials, and created a Troubleshooting Tutorial tutorial.

New•Feature•Info Only•1.48

Info Only

2017-08-02

1.48

New

Feature

Reuse Components

Reuse Components

You now declare reuse components in the descriptor for applications (manifest.json). A new factory function has been introduced for creating reuse component instances within the context of the current component. You can extend apps easily on the component level by replacing the usage of a reuse component with a variant that modifies the manifest.json values for the reuse component.

You don't have to migrate old applications to the new logic to keep them working. But if you want to benefit from further improvements with regards to component loading and performance, as well as component extensibility (replace reuse component), you should consider updating the component usage accordingly.

For more information, see Using and Nesting Components and Manifest (Descriptor for Applications, Components, and Libraries).

New•Feature•Info Only•1.48

Info Only

2017-08-02

1.48

New

Feature

Theme Parameter Tool

Theme Parameter Tool

There is a new theme parameter tool for finding the best-fitting semantic LESS parameter for a new control. With this tool you can easily search, filter, and preview theme parameters.

With the tool, you can also preview all supported SAP themes and find information about the semantic parameter structure.

To find the tool, see Demo Apps.

New•Feature•Info Only•1.48

Info Only

2017-08-02

1.48

New

Control

sap.m.MessageView

sap.m.MessageView

Displays a summarized list of different types of messages. The MessageView is used to show the contents of sap.m.MessagePopover, but it can also be used in other container controls like sap.m.Dialog.

sap.m.MessageView also allows grouping of messages by setting the property groupItems and defining a groupName for each item. For more information, see the API Reference and the samples.

New•Control•Info Only•1.48

Info Only

2017-08-02

1.48

New

Control

sap.m.CustomTreeItem

sap.m.CustomTreeItem

Similar to sap.m.CustomListItem for the sap.m.List control, the sap.m.CustomTreeItem control allows you to define custom item content for sap.m.Tree. For more information, see the API Reference and the sample.

New•Control•Info Only•1.48

Info Only

2017-08-02

1.48

New

Control

sap.m.PDFViewer

sap.m.PDFViewer

sap.m.PDFViewer enables SAP Fiori developers to display PDF files in a consistent way across all browsers and devices. It encapsulates browser-specific PDF viewer plugins and provides a simple API to embed a PDF file into a page or to open it in a dialog box. For more information, see PDF Viewer, the API Reference, and the sample.

New•Control•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Feature

Improved Script Loading

Improved Script Loading

If loading a resource fails, a second retry is done.

Changed•Feature•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Feature

Date Intervals

Date Intervals

The DateFormat can format two dates as an interval. For more information, see Date Format.

Changed•Feature•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Feature

OpenUI5 OData V4 Model

OpenUI5 OData V4 Model

The new version of the OpenUI5 OData V4 model introduces the following features:

  • Automatic determination of $select and $expand parameters for OData V4 requests by setting autoExpandSelect in the model settings to true.

  • Automatic loading of "cross-service references" (a service that references metadata from other documents) by the OData V4 model when metadata from the referenced document is needed.

  • Support of the V4-specific lambda operators any and all on collections with new filter operators FilterOperator.All and FilterOperator.Any and it is possible to create entities on relative bindings

Caution:

Incompatibility Due to 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. Due to the bug, however, 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 sPath parameter. In both cases, you must not use the workaround with .value[0].

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

Info Only

2017-08-02

1.48

Changed

Feature

One Page Acceptance Tests (OPA5)

One Page Acceptance Tests (OPA5)

Changed•Feature•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Control

sap.f.Avatar

sap.f.Avatar

With the use of the new detailBox aggregation, you can automatically open a sap.m.LightBox instance on user interaction with the sap.f.Avatar.

Changed•Control•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Control

sap.f.DynamicPage

sap.f.DynamicPage

It is now possible to initialize the control with collapsed header. To enable the feature, set property headerExpanded to false.

Changed•Control•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Control

sap.m.ComboBox

sap.m.ComboBox

sap.m.ComboBox now highlights matching characters in the dropdown list. This behaviour is now aligned with all select controls.

Changed•Control•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Control

sap.m.DatePicker

sap.m.DatePicker

You can now set specific date or date ranges as non-working days by using the new type of the sap.ui.unified.DateTypeRange class, sap.ui.unified.CalendarDayType.NonWorking.

For more information, see the sample.

Changed•Control•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Control

sap.m.GenericTile

sap.m.GenericTile

With a new overflow concept that allows more flexibility in the layout of the tile designs, generic tiles are displayed in LineMode like list items when the screen width is less than 450px. With a screen width greater than 450px, the tiles are no longer truncated and the complete text is shown in a wrapped in-line design.

Compact and Cozy content densities are available for small (< 450px) and large (> 450px) screens. For more information, see the API Reference and the samples.

Changed•Control•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Control

sap.m.PlanningCalendar

sap.m.PlanningCalendar

  • You can now set specific date or date ranges as non-working days by using the new type of the sap.ui.unified.DateTypeRange class, sap.ui.unified.CalendarDayType.NonWorking.

  • You can now expand the grouping of overlapping appointments in the months view of the sap.m.PlanningCalendar. You can do this by setting the new property groupAppointmentsMode to sap.ui.unified.GroupAppointmentsMode.Expanded.

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

Changed•Control•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Control

sap.m.TextArea

sap.m.TextArea

sap.m.TextArea controls with a limited text length can determine how to handle text that exceeds that length. By setting showExceededText=true, you can decide if those characters are visible or cut. The text area changes its value state and shows a counter of the extra characters when the threshold is reached. For more information, see the API Reference and the sample.

Changed•Control•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Control

sap.m.UploadCollection

sap.m.UploadCollection

When grouping of UploadCollectionItems you can now provide the grouping feature for UploadCollection. After you have selected the grouping criteria, the grouping information is displayed as group header in the upload collection list. For more information, see the API Reference and the samples.

Changed•Control•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Control

sap.m.Wizard

sap.m.Wizard

sap.m.Wizard now allows editing of any step in the sequence. By using the association currentStep and the method setCurrentStep, you can programmatically reach and then edit any step in the sequence. For more information, see the API Reference and the samples.

Changed•Control•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Control

sap.ui.layout.BlockLayout

sap.ui.layout.BlockLayout

  • New options for coloring individual cells have been added. For each BlockLayoutCell, you can set backgroundColorSet and backgroundColorShade. There are 11 predefined color sets, each with 4 color shades. The sets and shades can be easily customized in UI theme designer. You can also set an image as the background of a cell.

  • An additional breaking point for M-sized displays has been added.

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

Changed•Control•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Control

sap.tnt.ToolPage

sap.tnt.ToolPage

IconTabBar can now be used in sap.tnt.ToolPage button in the chart container. The ToolHeader is enhanced to allow IconTabBar elements. When inside the ToolHeader, the IconTabBar can use only labels and no icons.

  • You can now have no tab selected by setting the selectedKey property to a non-existing key value.

  • When IconTabHeader is used on smartphones and tablets, only completely visible tabs are displayed (no truncation). The rest of the tabs will overflow.

For more information, see the sample.

Changed•Control•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Control

sap.ui.table

sap.ui.table

You can now highlight items in the tables of the sap.ui.table library (sap.ui.table.Table, sap.ui.table.TreeTable, sap.ui.table.AnalyticalTable), for example to indicate an error. For more information, see the API Reference for sap.ui.table.RowSettings and sap.ui.table.Table.setRowSettingsTemplate, and the sample.

Changed•Control•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Control

sap.ui.unified.Calendar

sap.ui.unified.Calendar

  • You can now show and hide week numbers with the use of a new property showWeekNumbers. This feature is disabled for the Islamic calendar.

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

  • You can now set specific dates or date ranges to be displayed as non-working by using the specialDates aggregation and sap.ui.unified.CalendarDayType.NonWorking enumeration type.

    For more information, see the sample.

Changed•Control•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

Control

sap.ui.unified.ColorPicker

sap.ui.unified.ColorPicker

A responsive variant of the color picker control is now available in the sap.ui.unified library that is compatible for use with controls from the other responsive OpenUI5 libraries.

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

Changed•Control•Info Only•1.48

Info Only

2017-08-02

1.48

Changed

User Documentation

Documentation Updates

Documentation Updates

In addition to the documentation for new features, the following changes have been applied to the documentation:

Changed•User Documentation•Info Only•1.48

Info Only

2017-08-02

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

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