@sap/ux-ui5-tooling 1.6.6 → 1.7.1
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 +15 -0
- package/README.md +3 -1
- package/dist/cli/index.js +6878 -6213
- package/dist/middlewares/fiori-tools-appreload.js +175 -271
- package/dist/middlewares/fiori-tools-preview.js +2720 -706
- package/dist/middlewares/fiori-tools-proxy.js +102001 -108052
- package/dist/middlewares/fiori-tools-servestatic.js +177 -275
- package/dist/tasks/cf-deploy/index.js +956 -467
- package/dist/tasks/deploy/index.js +1877 -1214
- package/dist/templates/control-property-editor/app.css +1 -1
- package/dist/templates/control-property-editor/app.js +49 -49
- package/dist/templates/control-property-editor/ui5-adaptation.js +1 -1
- package/dist/templates/variants-management/preview.html +1 -1
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
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
|
+
## [1.7.1] - 2022-08-11
|
|
6
|
+
### Added
|
|
7
|
+
- Added a check if the SAPUI5 version is available on the SAPUI5 SDK when starting the application. If not, the nearest highest patch version is used instead.
|
|
8
|
+
|
|
9
|
+
## [1.7.0] - 2022-07-28
|
|
10
|
+
### Changed
|
|
11
|
+
- Improved error handling of the `fiori-tools-proxy`
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- Fixed an issue where previewing an application using a full url destination was not working
|
|
15
|
+
|
|
16
|
+
## [1.6.7] - 2022-07-14
|
|
17
|
+
### Changed
|
|
18
|
+
- The `fiori-tools-proxy` is now using the [@sap-ux/backend-proxy-middleware](https://www.npmjs.com/package/@sap-ux/backend-proxy-middleware) for proxying requests to the backend
|
|
19
|
+
|
|
5
20
|
## [1.6.0] - 2022-05-05
|
|
6
21
|
### Changed
|
|
7
22
|
- The `fiori-tools-proxy` is now using the [@sap-ux/ui5-proxy-middleware](https://www.npmjs.com/package/@sap-ux/ui5-proxy-middleware) for proxying the UI5 sources
|
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ Set this parameter to get more log information.
|
|
|
48
48
|
|
|
49
49
|
### [**2. Proxy**](#2-proxy)
|
|
50
50
|
|
|
51
|
-
The proxy middleware provides you with the capabilities to connect to
|
|
51
|
+
The proxy middleware provides you with the capabilities to connect to different back-end systems or to switch the SAPUI5 version of the application. The proxy is based on the [@sap-ux/ui5-proxy-middleware](https://www.npmjs.com/package/@sap-ux/ui5-proxy-middleware) for proxying the UI5 sources (starting with version `1.6.0`) and the [@sap-ux/backend-proxy-middleware](https://www.npmjs.com/package/@sap-ux/backend-proxy-middleware) for connecting to different back-end systems (starting with version `1.6.7`). Both `@sap-ux/ui5-proxy-middleware` and `@sap-ux/backend-proxy-middleware` are based on the [http-proxy-middleware](https://www.npmjs.com/package/http-proxy-middleware).
|
|
52
52
|
|
|
53
53
|
### Configuration Examples
|
|
54
54
|
|
|
@@ -189,6 +189,8 @@ By using the proxy configuration one can also change the SAPUI5 version, which i
|
|
|
189
189
|
|
|
190
190
|
Starting with `ux-ui5-tooling` version `1.4.7`, if the `version` property is not set in the `ui5.yaml`, then the `minUI5Version` from `manifest.json` will be used for the application preview. If the `version` property is set, but it is empty, then the `latest` SAPUI5 version from https://ui5.sap.com will be used for the application preview. For any other case the value of the `version` property will be used for the application preview.
|
|
191
191
|
|
|
192
|
+
Starting with `ux-ui5-tooling` version `1.7.1` a check for the SAPUI5 version of the application was added, which checks if the version is availble on the SAPUI5 SDK. If not, then the nearest, highest patch, version is used instead.
|
|
193
|
+
|
|
192
194
|
**Note:** all UI5 requests are routed through the proxy. Sometimes this can cause performance issues. If you don't want route the UI5 requests through the proxy, then you can set parameter `directLoad: true`. This will inject the UI5 url in the HTML file of the application and thus the UI5 libs will be loaded directly.
|
|
193
195
|
|
|
194
196
|
```
|