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.40 to 1.42.
Version
Type
Category
Title
Description
Action
Available as of
1.42
New
Control
sap.f.DynamicPage
sap.f.DynamicPage
This control is an SAP Fiori 2.0 control, designed to support the basic SAP Fiori 2.0 floorplans. You can use this control as a basic layout for an app. It consists of a title, a header, content area, and a floating footer. It offers dynamic behavior when scrolling, where part of the header snaps to the title. It offers additional capabilities, such as expanding or snapping the header when clicking on the title, pinning or unpinning the header so that it always stays expanded, and more.
Expanded Mode
Collapsed Mode
There is an option for displaying a footer as a toolbar with additional actions. The footer is also known as a “floating footer”, as it appears to float above the content of the page. The benefit of the new footer look-and-feel is that it is easily recognized by the end user.
We now deploy new versions of OpenUI5 earlier to https://sdk.openui5.org/. As soon as a new minor version is released, it will also be available there. Check the version overview at https://sdk.openui5.org/versionoverview.html. To access a specific version, add the version number to the URL, for example, https://sdk.openui5.org/1.40.11/. For more information, see Variant for Bootstrapping from Content Delivery Network.
New•Announcement•Info Only•1.42
Info Only
2016-11-11
1.42
New
Control
sap.m.LightBox
sap.m.LightBox
The LightBox control is used to display an image in its original size. When the user clicks on a thumbnail, a LightBox containing the image opens in a new popup. The popup also contains a title and subtitle. For more information, see the API Reference and the Samples.
New•Control•Info Only•1.42
Info Only
2016-11-11
1.42
New
Control
sap.m.Tree
sap.m.Tree
The Tree control provides a tree structure for displaying data in a hierarchy. Since it extends sap.m.ListBase, it provides many of the same features already known from sap.m.List. For more information, see the API Reference and the Samples.
New•Control•Info Only•1.42
Info Only
2016-11-11
1.42
Changed
Control
sap.m.Carousel
sap.m.Carousel
The Carousel control has two enhancements.
The enumeration CarouselArrowsPlacement determines where the arrows will be placed (on the sides of the content or on the sides of the page indicator).
The page indicator now shows numbers instead of bullets, when the number of items in the Carousel is above nine.
The Combobox control now automatically scrolls to the selected element, so that the user sees the element selected in the initial dropdown box, which may not be visible in large dropdown boxes.
Changed•Control•Info Only•1.42
Info Only
2016-11-11
1.42
Changed
Control
sap.m.FeedListItem
sap.m.FeedListItem
The FeedListItem control now incorporates the sap.m.FormattedText control that allows HTML-formatted text to be displayed. For more information, see the API Reference and the Samples.
Changed•Control•Info Only•1.42
Info Only
2016-11-11
1.42
Changed
Control
sap.m.FlexBox
sap.m.FlexBox
The render type Bare has been added to the FlexBox control. It allows flex items to be rendered without a wrapping HTML tag. For more information, see the API Reference and the Sample.
Changed•Control•Info Only•1.42
Info Only
2016-11-11
1.42
Changed
Control
sap.m.IconTabBar
sap.m.IconTabBar
The IconTabBar control has two enhancements:
headerMode has a new value called Inline. This mode displays the text and the count in one row.
showOverflowSelectList can be enabled when you have a large number of tabs and cannot display them all at once. When this property is set, all tabs that cannot be shown are added to an overflow list.
We have implemented touch support on mobile devices for the MultiComboBox control. The behavior of the control is now aligned with other similar controls such as Select and ComboBox.
Changed•Control•Info Only•1.42
Info Only
2016-11-11
1.42
Changed
Control
sap.m.Slider / sap.m.RangeSlider
sap.m.Slider / sap.m.RangeSlider
These controls have two new properties:
inputsAsTooltips adds an input field above the slider handle. This enables users to directly enter the desired Slider value.
showAdvancedTooltip when enabled, the handle will always display the slider value as a tooltip.
With the use of a new additionalInfo property, you can now add descriptive text next to the displayed marker, for example Locked by User. For more information, see API Reference.
Changed•Control•Info Only•1.42
Info Only
2016-11-11
1.42
Changed
Control
sap.m.UploadCollection
sap.m.UploadCollection
The UploadCollection control has the following new properties:
uploadButtonInvisible: With this new property, you can make the Upload button invisible in your application if you want to prevent the user from uploading a file, either in the instant upload or in the upload pending scenario of the UploadCollection control.
terminationEnabled: With this new property, you can make the Terminate Upload button invisible in your application if you want to prevent the user from terminating an instant upload in the UploadCollection control.
You can now customize the search behavior in the filter details page with the use of the new property filterSearchOperator with the possible values Contains, Equals, and Starts With. There is also a new method setFilterSearchCallback that can set a custom filter callback if the predefined filters are not sufficient. For more information, see the API Reference and the Sample.
Changed•Control•Info Only•1.42
Info Only
2016-11-11
1.42
Changed
Control
sap.ui.layout.BlockLayout
sap.ui.layout.BlockLayout
The BlockLayout control has been updated to comply to the new SAP Fiori 2.0 design. The color schemes for Mixed, Bright, and Accent have been updated to the new design. For more information, see the Sample.
Changed•Control•Info Only•1.42
Info Only
2016-11-11
1.42
Changed
Control
sap.uxap.ObjectPageLayout
sap.uxap.ObjectPageLayout
You can set the footer with the footer aggregation and toggle its visibility using the showFooter property. The footer is slightly transparent, showing the underlying content and is used to provide additional actions. This aligns the Object Page control with the SAP Fiori 2.0 design concepts. For more information, see the API Reference and the Sample.
Changed•Control•Info Only•1.42
Info Only
2016-11-11
1.42
Changed
Feature
Behavior-Driven Development with Gherkin
Behavior-Driven Development with Gherkin
OpenUI5 now supports behavior-driven development (BDD) with Gherkin. Gherkin allows you to write feature files that get translated into executable regression tests. So you can keep your documentation and specification in sync with the actual implementation in your application. It integrates seamlessly with OPA5 and you can completely reuse your OPA and page objects. You only need to translate an OPA journey to a feature file. For more information, see Behavior-driven Development with Gherkin, the API Reference, and the Samples.
Changed•Control•Info Only•1.42
Info Only
2016-11-11
1.42
Changed
Feature
OpenUI5 OData V4 Model
OpenUI5 OData V4 Model
The new version of the OpenUI5 OData V4 model introduces the following features:
Deleting entries
Loading annotation files
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. Double check the detailed documentation of the features, as certain parts of a feature may be missing although you might expect these parts as given. While we aimed at being 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 (like tree binding). 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.
waitFor statements in actions and automatic waiting: When writing custom actions you can now add waitFor statements inside the action and they will be executed before the success callback. This allows you to have complex reuse actions that interact with multiple controls.
There is a new entry autoWait in the sap.ui.test.Opa.config.
Opa5.extendConfig({
autoWait: true
});
If it is set to true, every waitFor statement will execute extra checks before executing an action or success to see if the UI is in a stable state. For example, there is automatic waiting for XMLHttpRequests (request to your server). OPA will not continue before those requests are done. It also works with a mock server that has a delay. For more information, see API Reference: sap.ui.test.Opa5.waitFor.
New matcher sap.ui.test.matchers.I18NText: The I18NText matcher checks if a control property has the same value as a text from an i18n file. It also checks that the key is in the property file. This allows you to catch all your typos and make your tests independent from the browsers language. For more information, see the API Reference and the Samples.
Improved troubleshooting: When OPA encounters a timeout, it collects the most recent logs logged under the sap.ui.test namespace and puts it in the test's failure message. All parameters of the waitFor method are now validated up front to immediately cause the test to fail if there is a typo.
Slowing down the execution: You can now use the new URL parameter paExecutionDelay to pass on myOpaTest.qunit.html?opaExecutionDelay=700 to every OPA test. This means there will be a pause for 700 milliseconds before a new waitFor statement is executed. It helps when troubleshooting or if you want to watch OPA clicking through your application because it might be too fast to follow. There is also a dropdown list with three predefined values in your QUnit site.
Changed•Feature•Info Only•1.42
Info Only
2016-11-11
1.42
Changed
Feature
Navigation and Routing
Navigation and Routing
You can now use the title property for targets and a titleTarget for routes in the routing configuration to change the displayed title of an app. For more information, see Using the title Property in Targets.
Changed•Feature•Info Only•1.42
Info Only
2016-11-11
1.42
Changed
Feature
New Icons
New Icons
We have 10 new icons - check out the Icon Explorer in the Demo Kit for details.
Changed•Feature•Info Only•1.42
Info Only
2016-11-11
1.42
Deprecated
Control
sap.suite.ui.commons
sap.suite.ui.commons
The HeaderCell and HeaderCellItem controls have been deprecated with this release in sap.suite.ui.commons library. Please use other container controls instead (such as sap.m.VBox or sap.m.HBox).
Deprecated•Control•Info Only•1.42
Info Only
2016-11-11
1.42
Deprecated
Control
sap.ui.comp.navpopover.SemanticObjectController
sap.ui.comp.navpopover.SemanticObjectController
The prefetchNavigationTargets property and the prefetchDone event of sap.ui.comp.navpopover.SemanticObjectController, which is used in the sap.ui.comp.navpopover.SmartLink control, have been deprecated since the navigation target behavior for the SmartLink control has been changed to improve performance.
Deprecated•Control•Info Only•1.42
Info Only
2016-11-11
1.42
Changed
User Documentation
QUnit Testing Documentation
QUnit Testing Documentation
The documentation for QUnit testing has been updated and aligned with the new QUnit 2.0 API. All code samples have been replaced to match the new syntax: Unit Testing with QUnit.