@sap/ux-ui5-tooling 1.18.6 → 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 CHANGED
@@ -3,6 +3,20 @@ 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
+
6
20
  ## [1.18.6] - 2025-08-20
7
21
  ### Quality
8
22
  | Package | Change |
package/README.md CHANGED
@@ -431,11 +431,11 @@ With the following configuration, the local Fiori launchpad will be available at
431
431
  customMiddleware:
432
432
  - name: fiori-tools-preview
433
433
  afterMiddleware: fiori-tools-appreload
434
- configuration:
435
- flp:
436
- path: /test/flpSandbox.html
437
- theme: sap_horizon
438
- debug: true
434
+ configuration:
435
+ flp:
436
+ path: /test/flpSandbox.html
437
+ theme: sap_horizon
438
+ debug: true
439
439
  ```
440
440
 
441
441
  #### [Deprecated configuration](#deprecated-configuration)
@@ -455,15 +455,38 @@ This configuration is internally converted to following.
455
455
  customMiddleware:
456
456
  - name: fiori-tools-preview
457
457
  afterMiddleware: fiori-tools-appreload
458
- configuration:
459
- flp:
460
- path: /test/flpSandbox.html
461
- intent:
462
- object: preview
463
- action: app
464
- theme: sap_fiori_3
458
+ configuration:
459
+ flp:
460
+ path: /test/flpSandbox.html
461
+ intent:
462
+ object: preview
463
+ action: app
464
+ theme: sap_fiori_3
465
465
  ```
466
+ #### [Custom Init](#custom-init)
466
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
+ });
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
+ ```
467
490
 
468
491
  ## [**Tasks**](#tasks)
469
492