@sap/ux-ui5-tooling 1.18.5 → 1.18.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/README.md +39 -14
- package/dist/cli/index.js +19739 -19721
- package/dist/middlewares/fiori-tools-preview.js +7329 -762
- package/dist/middlewares/fiori-tools-proxy.js +7363 -784
- package/dist/middlewares/fiori-tools-servestatic.js +10 -1
- package/dist/tasks/cf-deploy/index.js +66450 -59883
- package/dist/tasks/deploy/index.js +7441 -888
- package/package.json +22 -22
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,29 @@ All notable changes to this project are documented in this file.
|
|
|
3
3
|
|
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/) and the changelog is formatted based on [Keep a Changelog](http://keepachangelog.com/).
|
|
5
5
|
|
|
6
|
+
## [1.18.7] - 2025-09-04
|
|
7
|
+
### Quality
|
|
8
|
+
| Package | Change |
|
|
9
|
+
|---|---|
|
|
10
|
+
| [@sap-ux/preview-middleware](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/preview-middleware)) | [`0.23.0` -> `0.23.5`] |
|
|
11
|
+
| [@sap-ux/adp-tooling](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/adp-tooling)) | [`0.15.21` -> `0.15.24`] |
|
|
12
|
+
| [@sap-ux/backend-proxy-middleware](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/backend-proxy-middleware)) | [`0.9.12` -> `0.9.17`] |
|
|
13
|
+
| [@sap-ux/btp-utils](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/btp-utils)) | [`1.1.0` -> `1.1.1`] |
|
|
14
|
+
| [@sap-ux/deploy-tooling](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/deploy-tooling)) | [`0.16.42` -> `0.16.46`] |
|
|
15
|
+
| [@sap-ux/reload-middleware](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/reload-middleware)) | [`0.3.0` -> `0.3.1`] |
|
|
16
|
+
| [@sap-ux/serve-static-middleware](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/serve-static-middleware)) | [`0.3.0` -> `0.4.0`] |
|
|
17
|
+
| [@sap-ux/store](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/store)) | [`1.1.2` -> `1.1.4`] |
|
|
18
|
+
| [@sap-ux/ui5-proxy-middleware](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/ui5-proxy-middleware)) | [`1.5.9` -> `1.5.10`] |
|
|
19
|
+
|
|
20
|
+
## [1.18.6] - 2025-08-20
|
|
21
|
+
### Quality
|
|
22
|
+
| Package | Change |
|
|
23
|
+
|---|---|
|
|
24
|
+
| [@sap-ux/preview-middleware](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/preview-middleware)) | [`0.21.2` -> `0.23.0`] |
|
|
25
|
+
| [@sap-ux/adp-tooling](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/adp-tooling)) | [`0.15.13` -> `0.15.21`] |
|
|
26
|
+
| [@sap-ux/deploy-tooling](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/deploy-tooling)) | [`0.16.38` -> `0.16.42`] |
|
|
27
|
+
| [@sap-ux/ui5-proxy-middleware](https://github.com/SAP/open-ux-tools) ([source](https://github.com/SAP/open-ux-tools/tree/HEAD/packages/ui5-proxy-middleware)) | [`1.5.8` -> `1.5.9`] |
|
|
28
|
+
|
|
6
29
|
## [1.18.5] - 2025-08-06
|
|
7
30
|
### Quality
|
|
8
31
|
| Package | Change |
|
package/README.md
CHANGED
|
@@ -176,18 +176,20 @@ By the default the `fiori-tools-proxy` will read the proxy configuration from th
|
|
|
176
176
|
|
|
177
177
|
```
|
|
178
178
|
#### [Ignoring Certificate Errors](#ignoring-certificate-errors)
|
|
179
|
-
By default, the `fiori-tools-proxy` will verify the SSL certificates and will throw an error if the validation fails. One can set the parameter `
|
|
179
|
+
By default, the `fiori-tools-proxy` will verify the SSL certificates and will throw an error if the validation fails. One can set the parameter `ignoreCertErrors: true` to ignore the certificate errors. Setting this parameter to `true` also allows the usage of self-signed certificates.
|
|
180
180
|
|
|
181
181
|
```
|
|
182
182
|
- name: fiori-tools-proxy
|
|
183
183
|
afterMiddleware: compression
|
|
184
184
|
configuration:
|
|
185
|
-
|
|
185
|
+
ignoreCertErrors: true
|
|
186
186
|
backend:
|
|
187
187
|
- path: /sap
|
|
188
188
|
url: https://my.backend.com:1234
|
|
189
189
|
|
|
190
190
|
```
|
|
191
|
+
|
|
192
|
+
**Note**: The singular form `ignoreCertError` is also supported for backward compatibility but is deprecated. When using the singular form, a deprecation warning will be displayed encouraging migration to `ignoreCertErrors` (plural).
|
|
191
193
|
#### [Providing Credentials](#providing-credentials)
|
|
192
194
|
### Local Testing
|
|
193
195
|
For local testing the logon credentials to a backend system need to be provided using the secure storage of the operating system.
|
|
@@ -429,11 +431,11 @@ With the following configuration, the local Fiori launchpad will be available at
|
|
|
429
431
|
customMiddleware:
|
|
430
432
|
- name: fiori-tools-preview
|
|
431
433
|
afterMiddleware: fiori-tools-appreload
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
434
|
+
configuration:
|
|
435
|
+
flp:
|
|
436
|
+
path: /test/flpSandbox.html
|
|
437
|
+
theme: sap_horizon
|
|
438
|
+
debug: true
|
|
437
439
|
```
|
|
438
440
|
|
|
439
441
|
#### [Deprecated configuration](#deprecated-configuration)
|
|
@@ -453,15 +455,38 @@ This configuration is internally converted to following.
|
|
|
453
455
|
customMiddleware:
|
|
454
456
|
- name: fiori-tools-preview
|
|
455
457
|
afterMiddleware: fiori-tools-appreload
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
458
|
+
configuration:
|
|
459
|
+
flp:
|
|
460
|
+
path: /test/flpSandbox.html
|
|
461
|
+
intent:
|
|
462
|
+
object: preview
|
|
463
|
+
action: app
|
|
464
|
+
theme: sap_fiori_3
|
|
463
465
|
```
|
|
466
|
+
#### [Custom Init](#custom-init)
|
|
467
|
+
|
|
468
|
+
If you want to add custom modifications to the local SAP Fiori Launchpad sandbox file that is served at a virtual endpoint, you can do so by creating a `.js` or `.ts` file (depending on your setup).
|
|
469
|
+
This file can then be used as a custom init in the configuration options. It will be executed after the standard initialization of the middleware.
|
|
470
|
+
|
|
471
|
+
**test/myCustomInit.js**
|
|
472
|
+
```js
|
|
473
|
+
// Example for setting the ABAP date format
|
|
474
|
+
sap.ui.require(['sap/base/i18n/Formatting'], function(Formatting) {
|
|
475
|
+
Formatting.setABAPDateFormat('1');
|
|
476
|
+
});
|
|
464
477
|
|
|
478
|
+
// If you are on a UI5 version lower than 1.120 you need to use
|
|
479
|
+
//sap.ui.getCore().getConfiguration().getFormatSettings().setLegacyDateFormat('1');
|
|
480
|
+
```
|
|
481
|
+
|
|
482
|
+
```yaml
|
|
483
|
+
customMiddleware:
|
|
484
|
+
- name: fiori-tools-preview
|
|
485
|
+
afterMiddleware: fiori-tools-appreload
|
|
486
|
+
configuration:
|
|
487
|
+
flp:
|
|
488
|
+
init: /test/myCustomInit
|
|
489
|
+
```
|
|
465
490
|
|
|
466
491
|
## [**Tasks**](#tasks)
|
|
467
492
|
|