Skip to content

Commit

Permalink
OpenUI5 Documentation Update 07.03.2024
Browse files Browse the repository at this point in the history
  • Loading branch information
openui5bot committed Mar 7, 2024
1 parent f1e01d0 commit 190b1c3
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1080,6 +1080,23 @@ Version 62

1.61.0

</td>
</tr>
<tr>
<td valign="top">

Version 63

</td>
<td valign="top">

\>=1.122

</td>
<td valign="top">

1.62.0

</td>
</tr>
</table>
Expand Down Expand Up @@ -2115,14 +2132,14 @@ Current version of the `manifest.json`
```

{
"_version": "1.61.0",
"_version": "1.62.0",

"start_url": "index.html",

"sap.app": {
"id": "sap.fiori.appName",
"type": "application",
"i18n": "",
"i18n": "i18n/i18n.properties",
"applicationVersion": {
"version": "1.2.2"
},
Expand Down Expand Up @@ -2200,7 +2217,7 @@ Current version of the `manifest.json`
}]
},
"dependencies": {
"minUI5Version": "1.121.0",
"minUI5Version": "1.122.0",
"libs": {
"sap.m": {
"minVersion": "1.34.0"
Expand Down
22 changes: 11 additions & 11 deletions docs/ECMAScript_Support_0cb44d7.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The following restrictions apply when you use modern ECMAScript:

For more information, see *Asynchronous Factory Function* in [Defining and Loading OpenUI5 Modules](ECMAScript_Support_0cb44d7.md#loio0cb44d7a147640a0890cefa5fd7c7f8e__section_UI5Mod).

5. Do not use async functions within predefined lifecycle hooks, such as[`sap/ui/core/mvc/Controller#onInit`](https://sdk.openui5.org/api/sap.ui.core.mvc.Controller%23methods/onInit).
5. Do not use async functions within predefined lifecycle hooks, such as [`sap/ui/core/mvc/Controller#onInit`](https://sdk.openui5.org/api/sap.ui.core.mvc.Controller%23methods/onInit).

For more information, see [Event Handler Registration](ECMAScript_Support_0cb44d7.md#loio0cb44d7a147640a0890cefa5fd7c7f8e__section_EHR).

Expand Down Expand Up @@ -84,7 +84,7 @@ Please continue to use the regular OpenUI5 APIs `sap.ui.define` and `sap.ui.requ
***
#### Asynchronous Factory Function
#### Asynchronous Factory Functions
Do **not** use an `async` factory function when loading or defining OpenUI5 modules. The OpenUI5 Loader will not wait for a returned Promise.
Expand Down Expand Up @@ -195,7 +195,7 @@ The usage of template literals with one or more expressions in the context of th
<a name="loio0cb44d7a147640a0890cefa5fd7c7f8e__section_EHR"/>
### Async Event Handler Registration
### Event Handler Registration
***
Expand Down Expand Up @@ -306,7 +306,7 @@ Lifecycle Hooks
***
#### Control Event Listener
#### Control Event Listeners
You can implement an asynchronous event handler for control events. However, OpenUI5 directly invokes the event handler without taking into account the returned Promise or any execution order.
Expand All @@ -327,7 +327,7 @@ You can implement an asynchronous event handler for control events. However, Ope
> ### Caution:
> Error Handling
>
> Errors in asynchronous event handlers must be carefully managed. If you use an `await` inside an event handler and it throws an error,this typically won't be caught by the code on the outside of the async function.
> Errors in asynchronous event handlers must be carefully managed. If you use an `await` inside an event handler and it throws an error, this typically won't be caught by the code on the outside of the async function.
***
Expand Down Expand Up @@ -387,7 +387,7 @@ Do **not** use an expression, only a literal, in the class name parameter inside
***
#### Variable Usage as Class Name
#### Variable Usages as Class Name
Do **not** use a variable as the class name parameter inside the `extend` call.
Expand All @@ -407,7 +407,7 @@ Do **not** use a variable as the class name parameter inside the `extend` call.
***
#### Template Literal as Class Name
#### Template Literals as Class Name
The usage of template literals with one or more expressions as the class name parameter inside the `extend` call is **not** supported.
Expand Down Expand Up @@ -479,7 +479,7 @@ An OpenUI5 library is typically initialized via an accompanying `library.js`. Wi
***
#### Expression as Parameter
#### Expressions as Parameter
Do **not** use an expression for the library name when initializing a library.
Expand All @@ -501,7 +501,7 @@ Do **not** use an expression for the library name when initializing a library.
***
#### Variable Usage as Parameter
#### Variable Usages as Parameter
Do **not** use a variable for the library name when initializing a library.
Expand All @@ -523,7 +523,7 @@ Do **not** use a variable for the library name when initializing a library.
***
#### Spread Element as Parameter
#### Spread Elements as Parameter
Do **not** use a spread element for the library name when initializing a library.
Expand All @@ -547,7 +547,7 @@ Do **not** use a spread element for the library name when initializing a library
***
#### Template Literal as Parameter
#### Template Literals as Parameter
Do **not** use a template literal with one or more expressions for the library name when initializing a library.
Expand Down
5 changes: 0 additions & 5 deletions docs/What_s_New_in_OpenUI5_1_121_91a4a2f.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,10 @@

view on: [demo kit nightly build](https://sdk.openui5.org/nightly/#/topic/91a4a2f59e444ada8d003369a580f61d) | [demo kit latest release](https://sdk.openui5.org/topic/91a4a2f59e444ada8d003369a580f61d)</div>

<link rel="stylesheet" type="text/css" href="css/sap-icons.css"/>

## What's New in OpenUI5 1.121

With this release OpenUI5 is upgraded from version 1.120 to 1.121.

> ### Note:
> Content marked as <span style="color:#666666;"><span class="SAP-icons-V5"></span></span>**[Preview](https://help.sap.com/docs/whats-new-disclaimer)** is provided as a courtesy, without a warranty, and may be subject to change. For more information, see the [preview disclaimer](https://help.sap.com/docs/whats-new-disclaimer).
****


Expand Down
Binary file modified docs/images/loio60070cbcd0b54f31abc595ab4f5adc0e_LowRes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 190b1c3

Please sign in to comment.