@sap/ux-ui5-tooling 1.9.4 → 1.9.5
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 +403 -0
- package/dist/cli/index.js +632 -435
- package/dist/middlewares/fiori-tools-appreload.js +51 -47
- package/dist/middlewares/fiori-tools-preview.js +646 -432
- package/dist/middlewares/fiori-tools-proxy.js +2363 -3866
- package/dist/tasks/cf-deploy/index.js +622 -422
- package/dist/tasks/deploy/index.js +628 -429
- package/dist/templates/variants-management/preview.html +1 -1
- package/package.json +13 -12
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
All notable changes to this project are documented in this file.
|
|
3
|
+
|
|
4
|
+
This project adheres to [Semantic Versioning](http://semver.org/) and the changelog is formatted based on [Keep a Changelog](http://keepachangelog.com/).
|
|
5
|
+
|
|
6
|
+
## [1.9.5] - 2023-04-19
|
|
7
|
+
### Fixed
|
|
8
|
+
- Fixed an issue with not finding the preview helper library `locate-reuse-libs.js` in older apps after its default location was changed
|
|
9
|
+
|
|
10
|
+
## [1.9.2] - 2023-03-09
|
|
11
|
+
### Fixed
|
|
12
|
+
- Fixed an issue which prevented starting the fiori-tools-appreload middleware with default setting
|
|
13
|
+
- Fixed an issue with FLP embedded preview failing to load when encountering unknown encodings
|
|
14
|
+
|
|
15
|
+
## [1.9.1] - 2023-02-23
|
|
16
|
+
### Fixed
|
|
17
|
+
- Fixed an issue where checking the UI5 version fails when the user is behind a corporate proxy
|
|
18
|
+
|
|
19
|
+
## [1.8.5] - 2023-01-12
|
|
20
|
+
### Added
|
|
21
|
+
- The `fiori-tools-proxy` now supports more configuration properties. Please see README for more details
|
|
22
|
+
|
|
23
|
+
## [1.8.4] - 2022-12-16
|
|
24
|
+
### Fixed
|
|
25
|
+
- Fixed an issue where project path was incorrectly added to telemetry data
|
|
26
|
+
|
|
27
|
+
## [1.8.2] - 2022-11-17
|
|
28
|
+
### Changed
|
|
29
|
+
- Minor improvements in `WorkspaceConnector.js` when using developer variant creation
|
|
30
|
+
|
|
31
|
+
## [1.8.1] - 2022-11-03
|
|
32
|
+
### Fixed
|
|
33
|
+
- Improved Regex for determining if host is a trusted host, when using developer variant creation
|
|
34
|
+
- Fixed an issue where the SAPUI5 version check breaks the starting of the preview
|
|
35
|
+
|
|
36
|
+
## [1.8.0] - 2022-10-20
|
|
37
|
+
### Fixed
|
|
38
|
+
- Fixed an issue with previewing applications when the user is behind a corporate proxy
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
- The `fiori-tools-appreload` middleware now watches also for changes in typescript files
|
|
42
|
+
|
|
43
|
+
## [1.7.4] - 2022-09-08
|
|
44
|
+
### Fixed
|
|
45
|
+
- Fixed an issue where the use of the `pathPrefix` property was not working
|
|
46
|
+
|
|
47
|
+
## [1.7.1] - 2022-08-11
|
|
48
|
+
### Added
|
|
49
|
+
- 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
|
|
50
|
+
|
|
51
|
+
## [1.7.0] - 2022-07-28
|
|
52
|
+
### Changed
|
|
53
|
+
- Improved error handling of the `fiori-tools-proxy`
|
|
54
|
+
|
|
55
|
+
### Fixed
|
|
56
|
+
- Fixed an issue where previewing an application using a full url destination was not working
|
|
57
|
+
|
|
58
|
+
## [1.6.7] - 2022-07-14
|
|
59
|
+
### Changed
|
|
60
|
+
- 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
|
|
61
|
+
|
|
62
|
+
## [1.6.0] - 2022-05-05
|
|
63
|
+
### Changed
|
|
64
|
+
- 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
|
|
65
|
+
|
|
66
|
+
## [1.5.5] - 2022-04-21
|
|
67
|
+
### Fixed
|
|
68
|
+
- Fixed an issue with the `fiori-tools-servestatic` middleware not serving files starting with a dot
|
|
69
|
+
|
|
70
|
+
## [1.5.4] - 2022-04-07
|
|
71
|
+
### Fixed
|
|
72
|
+
- Fixed an issue with escaping runtime arguments on Windows with Node.js version 16
|
|
73
|
+
|
|
74
|
+
## [1.5.3] - 2022-03-24
|
|
75
|
+
### Added
|
|
76
|
+
- Added support of new run configuration UI options
|
|
77
|
+
|
|
78
|
+
### Fixed
|
|
79
|
+
- Fixed an issue where developer variant creation is not starting with SAPUI5 version 1.100.0 and higher
|
|
80
|
+
- Fixed an issue where an exception was thrown for SAPUI5 versions <= 1.65 when starting the application preview
|
|
81
|
+
|
|
82
|
+
## [1.5.2] - 2022-03-10
|
|
83
|
+
### Fixed
|
|
84
|
+
- Fixed an issue with the validation of SAPUI5 snapshot versions when starting developer variant creation
|
|
85
|
+
|
|
86
|
+
### Changed
|
|
87
|
+
- If a port is explictly defined when previewing the application, then this port is not automatically changed, if it is occupied
|
|
88
|
+
|
|
89
|
+
## [1.5.1] - 2022-02-24
|
|
90
|
+
### Fixed
|
|
91
|
+
- Fixed an issue with reading and comparing UI5 versions
|
|
92
|
+
- Fixed an issue with previewing applications using services behind a corporate proxy
|
|
93
|
+
|
|
94
|
+
### Changed
|
|
95
|
+
- Build is no longer executed automatically before starting the application in an external Fiori Launchpad to accomodate custom build procedures
|
|
96
|
+
|
|
97
|
+
## [1.5.0] - 2022-02-10
|
|
98
|
+
### Fixed
|
|
99
|
+
- Fixed an issue with reading and comparing UI5 versions
|
|
100
|
+
- Fixed an issue with previewing applications using project based destination
|
|
101
|
+
|
|
102
|
+
### Changed
|
|
103
|
+
- Requests are not forwarded anymore to next available middleware if UI5 proxy returns 404
|
|
104
|
+
|
|
105
|
+
## [1.4.7] - 2022-01-27
|
|
106
|
+
### Changed
|
|
107
|
+
- Forward request to next available middleware if UI5 proxy response returns 404
|
|
108
|
+
- Consolidate UI5 version handling
|
|
109
|
+
|
|
110
|
+
## [1.4.6] - 2022-01-13
|
|
111
|
+
### Fixed
|
|
112
|
+
- Improved variant management validation logic
|
|
113
|
+
|
|
114
|
+
## [1.4.3] - 2021-11-18
|
|
115
|
+
### Changed
|
|
116
|
+
- Updated help texts
|
|
117
|
+
|
|
118
|
+
### Fixed
|
|
119
|
+
- Fixed an issue with resetting the IAppState on the Object Page
|
|
120
|
+
|
|
121
|
+
## [1.4.1] - 2021-11-04
|
|
122
|
+
### Fixed
|
|
123
|
+
- Fixed minor issues
|
|
124
|
+
|
|
125
|
+
## [1.4.0] - 2021-10-21
|
|
126
|
+
### Added
|
|
127
|
+
- Added a new option to create delivery variants/views
|
|
128
|
+
|
|
129
|
+
### Fixed
|
|
130
|
+
- Removed wrong WARN messages in the terminal when executing `npx fiori run`
|
|
131
|
+
|
|
132
|
+
## [1.3.7] - 2021-10-07
|
|
133
|
+
### Changed
|
|
134
|
+
- Fixed minor issues and refactoring
|
|
135
|
+
|
|
136
|
+
## [1.3.5] - 2021-09-23
|
|
137
|
+
### Added
|
|
138
|
+
- Added help options for SAP Fiori tools CLI. Typing `npx fiori help` will give the list of commands that the command line tools support. Help text for individual `fiori` commands can also be displayed, e.g. `npx fiori add help`.
|
|
139
|
+
|
|
140
|
+
### Fixed
|
|
141
|
+
- Stability fixes
|
|
142
|
+
|
|
143
|
+
## [1.3.3] - 2021-09-09
|
|
144
|
+
### Added
|
|
145
|
+
- Added instructions for users on how to retrieve the URL of a deployed application on Cloud foundry
|
|
146
|
+
|
|
147
|
+
### Fixed
|
|
148
|
+
- Fixed Regex for injecting the UI5 URL into the application's HTML file
|
|
149
|
+
|
|
150
|
+
## [1.3.1] - 2021-08-12
|
|
151
|
+
### Fixed
|
|
152
|
+
- Fixed minor issues
|
|
153
|
+
|
|
154
|
+
## [1.3.0] - 2021-07-29
|
|
155
|
+
### Added
|
|
156
|
+
- Provided the possibility to load UI5 libs directly from CDN, instead of loading via the fiori-tools-proxy
|
|
157
|
+
- Introduced iAppState handling. The iAppState is now being deleted when an application is reloaded
|
|
158
|
+
|
|
159
|
+
## [1.2.5] - 2021-07-15
|
|
160
|
+
### Changed
|
|
161
|
+
- Internal improvements and refactoring
|
|
162
|
+
|
|
163
|
+
## [1.2.4] - 2021-07-01
|
|
164
|
+
### Changed
|
|
165
|
+
- Minor fixes and refactoring
|
|
166
|
+
|
|
167
|
+
## [1.2.3] - 2021-06-17
|
|
168
|
+
### Added
|
|
169
|
+
- Added new configuration parameter `fallthrough` for the fiori-tools-servestatic middleware
|
|
170
|
+
|
|
171
|
+
## [1.2.1] - 2021-06-03
|
|
172
|
+
### Fixed
|
|
173
|
+
- Updated dependencies versions because of security fixes
|
|
174
|
+
|
|
175
|
+
### Added
|
|
176
|
+
- Support for previewing application with destinations that have as URL the full path to the OData service
|
|
177
|
+
|
|
178
|
+
## [1.2.0] - 2021-05-20
|
|
179
|
+
### Fixed
|
|
180
|
+
- Fixed previewing an application with MTA configuration
|
|
181
|
+
|
|
182
|
+
## [1.1.11] - 2021-05-06
|
|
183
|
+
### Added
|
|
184
|
+
- Added new command `npx fiori undeploy` to undeploy an application from ABAP system
|
|
185
|
+
|
|
186
|
+
### Fixed
|
|
187
|
+
- Fixed an issue causing the application preview to fail if a custom port greater than 9010 is specified
|
|
188
|
+
|
|
189
|
+
## [1.1.9] - 2021-04-08
|
|
190
|
+
### Added
|
|
191
|
+
* Added support in proxy for backend system credentials stored in secure store or in .env file
|
|
192
|
+
* Added new proxy configuration property: xfwd
|
|
193
|
+
* Added a client property to the YAML file to be used for proxy destination handling
|
|
194
|
+
|
|
195
|
+
## [1.1.5] - 2021-03-11
|
|
196
|
+
### Fixed
|
|
197
|
+
* Improved handling of runtime arguments
|
|
198
|
+
|
|
199
|
+
### Added
|
|
200
|
+
* Added support for proxying WebSockets
|
|
201
|
+
|
|
202
|
+
## [1.1.4] - 2021-02-25
|
|
203
|
+
### Fixed
|
|
204
|
+
* Fixed handling of the ui5 version parameter in the Fiori CLI
|
|
205
|
+
* Hide credentials from proxy url
|
|
206
|
+
|
|
207
|
+
### Added
|
|
208
|
+
* Notify user when new version is available to install
|
|
209
|
+
|
|
210
|
+
## [1.1.2] - 2021-02-11
|
|
211
|
+
### Fixed
|
|
212
|
+
* Fixed fetching of user information when creating a system
|
|
213
|
+
|
|
214
|
+
## [1.1.0] - 2021-01-27
|
|
215
|
+
### Fixed
|
|
216
|
+
* Fixed HTTPS support for the Livereload of the application
|
|
217
|
+
* Fixed automatic SSL certificate creation
|
|
218
|
+
* Fixed handling of boolean parameters in the Fiori cli
|
|
219
|
+
* Fixed caching issues
|
|
220
|
+
|
|
221
|
+
## [1.0.28] - 2021-01-14
|
|
222
|
+
### Added
|
|
223
|
+
* Support preview of applications based on datasource url of a destination configuration inside a destination instance
|
|
224
|
+
|
|
225
|
+
### Fixed
|
|
226
|
+
* Fixed several issues in conjunction with preview start in SAP Business Application Studio
|
|
227
|
+
* Improved UI of the web page for providing the service key to a service
|
|
228
|
+
|
|
229
|
+
## [1.0.26] - 2020-12-03
|
|
230
|
+
### Added
|
|
231
|
+
* Preview support of applications based on SAP API Business Hub services
|
|
232
|
+
* Additional instructions provided to the user when generating `flp-config` to allow integration with the Launchpad module using SAP Business Application Studio
|
|
233
|
+
|
|
234
|
+
### Fixed
|
|
235
|
+
* Fixed issue when reading the NO_PROXY configuration
|
|
236
|
+
|
|
237
|
+
## [1.0.25] - 2020-11-18
|
|
238
|
+
### Fixed
|
|
239
|
+
* Use ATO Catalog to fetch ATO settings
|
|
240
|
+
* Other minor fixes
|
|
241
|
+
|
|
242
|
+
### Added
|
|
243
|
+
* Proxy support for SAP API Business Hub in SAP Business Application Studio
|
|
244
|
+
|
|
245
|
+
## [1.0.24] - 2020-11-05
|
|
246
|
+
### Fixed
|
|
247
|
+
* Fixed dependency installation in the application folder
|
|
248
|
+
* Unable to change folder for a project while generating the deployment configuration on windows
|
|
249
|
+
* Fixed the generated xs-app.json for non-SAP systems
|
|
250
|
+
|
|
251
|
+
### Added
|
|
252
|
+
* Added support for multiple paths configuration for the fiori-tools-servestatic middleware
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
## [1.0.22] - 2020-10-21
|
|
256
|
+
### Fixed
|
|
257
|
+
* Reduced bundle size
|
|
258
|
+
|
|
259
|
+
## [1.0.21] - 2020-10-07
|
|
260
|
+
### Fixed
|
|
261
|
+
* Build sources are no longer minified to improve debugging.
|
|
262
|
+
* Error logging improved
|
|
263
|
+
* Fixed issues with unit tests
|
|
264
|
+
|
|
265
|
+
### Added
|
|
266
|
+
* Provided API to read and remove flex changes from the user's workspace
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
## [1.0.19] - 2020-09-23
|
|
270
|
+
### Fixed
|
|
271
|
+
* Connectivity service information was missing from the generated mta.yaml for destinations that require it for deployment
|
|
272
|
+
|
|
273
|
+
### Added
|
|
274
|
+
* Support for specifying username/password provided in an environment variable and passing these as CLI arguments, instead of entering these in ui5.yaml file for deployment
|
|
275
|
+
* Provide API to write flex changes into the user's workspace
|
|
276
|
+
|
|
277
|
+
## [1.0.18] - 2020-09-09
|
|
278
|
+
|
|
279
|
+
### Fixed
|
|
280
|
+
* Fixed issue with re-deployment to ABAP
|
|
281
|
+
* Updated version of the livereload package
|
|
282
|
+
* Fixed configuration for Fiori Launchpad when deploying to Cloud Foundry
|
|
283
|
+
|
|
284
|
+
### Added
|
|
285
|
+
* Support deployment to S/4HANA Cloud
|
|
286
|
+
|
|
287
|
+
## [1.0.16] - 2020-09-02
|
|
288
|
+
|
|
289
|
+
### Fixed
|
|
290
|
+
* Fix for UI5 parameters provided as string instead of array
|
|
291
|
+
* Fix for caching of ui5 sources
|
|
292
|
+
* Correct documentation for command to add deployment config
|
|
293
|
+
* Improvement for command prompt when creating deployment config for mta project
|
|
294
|
+
|
|
295
|
+
### Added
|
|
296
|
+
* Updated documentation with info relevant to Cloud Foundry
|
|
297
|
+
|
|
298
|
+
## [1.0.15] - 2020-08-12
|
|
299
|
+
|
|
300
|
+
### Fixed
|
|
301
|
+
* Intent ID is not overwritten when creating the SAP Fiori Launchpad deploy configuration
|
|
302
|
+
|
|
303
|
+
## [1.0.11] - 2020-07-29
|
|
304
|
+
|
|
305
|
+
### Fixed
|
|
306
|
+
* Fixed path re-write issue in App Studio
|
|
307
|
+
* Fixed Windows bundling issue
|
|
308
|
+
* Fixed issue with fiori run command on Windows
|
|
309
|
+
* Other minor fixes
|
|
310
|
+
|
|
311
|
+
### Added
|
|
312
|
+
* Deploy to Cloud Foundry
|
|
313
|
+
* Confirmation added when starting the deployment process
|
|
314
|
+
* Confirmation added for app name during deploy config generation
|
|
315
|
+
* Confirmation added for target name during deploy config generation
|
|
316
|
+
* Confirmation added for sap client during deploy config generation
|
|
317
|
+
|
|
318
|
+
## [1.0.9] - 2020-07-16
|
|
319
|
+
|
|
320
|
+
### Fixed
|
|
321
|
+
|
|
322
|
+
* Fix loading of custom libs
|
|
323
|
+
|
|
324
|
+
### Added
|
|
325
|
+
|
|
326
|
+
* Add run command to Fiori CLI
|
|
327
|
+
* Read fiori run cli params in the proxy middleware
|
|
328
|
+
* Readme file updated
|
|
329
|
+
|
|
330
|
+
## [1.0.8] - 2020-07-01
|
|
331
|
+
### Fixed
|
|
332
|
+
- Readme file updated
|
|
333
|
+
|
|
334
|
+
## [1.0.7] - 2020-06-17
|
|
335
|
+
### Fixed
|
|
336
|
+
- Minor stability fixes
|
|
337
|
+
|
|
338
|
+
## [1.0.0] - 2020-06-16
|
|
339
|
+
Release status: GA
|
|
340
|
+
|
|
341
|
+
We are pleased to announce the official GA of the ux-ui5-tooling.
|
|
342
|
+
|
|
343
|
+
## [0.0.89] - 2020-06-03
|
|
344
|
+
### Added
|
|
345
|
+
- Multiple back-ends support
|
|
346
|
+
- Support for custom UI5 modules
|
|
347
|
+
|
|
348
|
+
## [0.0.86] - 2020-05-20
|
|
349
|
+
### Added
|
|
350
|
+
- Additional deploy functionality (see `npx fiori help`)
|
|
351
|
+
- New command `fiori add flp-config` to add Fiori launchpad configuration
|
|
352
|
+
- System keys can be uploaded to users secure store
|
|
353
|
+
|
|
354
|
+
### Fixed
|
|
355
|
+
- Logged URL after deploy is now correct and can be opened
|
|
356
|
+
- Namespace check for `z` space during deploy configuration is not case sensitive anymore
|
|
357
|
+
- Package name is now all capitals when sending to backend during deployment
|
|
358
|
+
- Warning before overwriting existing deploy configuration
|
|
359
|
+
|
|
360
|
+
## [0.0.85] - 2020-05-08
|
|
361
|
+
### Added
|
|
362
|
+
- Downloading of UI5 sources from NPM
|
|
363
|
+
|
|
364
|
+
### Fixed
|
|
365
|
+
- Reading proxy configuration from VSCode
|
|
366
|
+
- Loading UI5 sources in SAP Business Application Studio
|
|
367
|
+
- Live reload configuration
|
|
368
|
+
|
|
369
|
+
## [0.0.84] - 2020-04-22
|
|
370
|
+
### Added
|
|
371
|
+
- Destinations support for SAP Business Application Studio
|
|
372
|
+
|
|
373
|
+
### Fixed
|
|
374
|
+
- Cookies and CSRF token issues fixed
|
|
375
|
+
|
|
376
|
+
## [0.0.81] - 2020-04-09
|
|
377
|
+
### Added
|
|
378
|
+
- Deploy to ABAP functionality with OAuth support
|
|
379
|
+
- New middleware for serving local ui5 sources
|
|
380
|
+
- Support of snapshot UI5 versions for internal users
|
|
381
|
+
|
|
382
|
+
### Fixed
|
|
383
|
+
- Fix preview with local UI5 resources
|
|
384
|
+
- Add proper handling for ui5Uri arg
|
|
385
|
+
- Add proper handling of space separated & quoted runtime args
|
|
386
|
+
|
|
387
|
+
## [0.0.79] - 2020-03-24
|
|
388
|
+
### Fixed
|
|
389
|
+
- Resolved issue when requests are tunneled via proxy
|
|
390
|
+
|
|
391
|
+
## [0.0.68] - 2020-02-07
|
|
392
|
+
### Added
|
|
393
|
+
- CHANGELOG.md documenting the changes
|
|
394
|
+
- Internal: enhanced test coverage
|
|
395
|
+
|
|
396
|
+
## [0.0.65] - 2020-01-31
|
|
397
|
+
### Fixed
|
|
398
|
+
- Resolved issues when proxying OData requests to SAP systems with CSRF protection enabled
|
|
399
|
+
|
|
400
|
+
## [0.0.62] - 2020-01-17
|
|
401
|
+
### Added
|
|
402
|
+
- Initial version
|
|
403
|
+
- Included proxy and live load middlewares
|