All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
A list of unreleased changes can be found here.
v3.1.5 - 2023-12-12
v3.1.4 - 2023-11-20
v3.1.3 - 2023-06-06
- middleware/testRunner: Update resources from OpenUI5
f0c7291
v3.1.2 - 2023-04-12
- Fix JSDoc names of typedefs in MiddlewareUtil.
dbd6fe1
v3.1.1 - 2023-03-16
- Allow serving of propertyfiles of non component project types
1bc6ec7
v3.1.0 - 2023-03-01
v3.0.1 - 2023-02-16
v3.0.0 - 2023-02-09
- Transform to ES Modules (#501)
05e3013
- Remove "/proxy" endpoint (#550)
4bdf839
- Require Project Graph (#479)
d62f85a
- Require Node.js >= 16.18.0 / npm >= 8
63d216a
This package has been transformed to ES Modules. Therefore it no longer provides a CommonJS export. If your project uses CommonJS, it needs to be converted to ESM or use a dynamic import.
For more information see also:
- https://sap.github.io/ui5-tooling/updates/migrate-v3/
- https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
This removes the "/proxy" endpoint and the corresponding "connectUi5Proxy" middleware from the standard ui5-server. Internally, this middleware made use of the connect-openui5 proxy implementation (https://github.com/SAP/connect-openui5#proxy).
More sophisticated proxy solutions for ui5-server are already available in the form of custom middleware extensions from the UI5-community.
The UI5 Team might provide a dedicated custom middleware extension, with similar functionality, in the future.
- Server now requires a Project Graph instance instead.
- Standard middleware now rely on Project instances being available on Resources (see SAP/ui5-fs#381)
- MiddlewareRepository#addMiddleware has been removed. Custom middleware need to be added to the project graph instead
Support for older Node.js and npm releases has been dropped. Only Node.js v16.18.0 and npm v8 or higher are supported.
v2.4.1 - 2022-11-30
- Bump connect-openui5 from 0.10.2 to 0.10.3
20b6fc8
v2.4.0 - 2021-10-19
v2.3.1 - 2021-07-23
v2.3.0 - 2021-07-01
- server: Expose configuration options for SAP CSP policies
55d6a96
v2.2.10 - 2021-06-01
v2.2.9 - 2021-03-11
- Bump connect-openui5 from 0.10.1 to 0.10.2
849957d
v2.2.8 - 2021-02-09
v2.2.7 - 2020-11-06
v2.2.6 - 2020-10-22
- Improve parallel theme request handling
88bc0d6
- nonReadRequests middleware: Use response API
2d2325f
v2.2.5 - 2020-10-06
v2.2.4 - 2020-09-10
v2.2.3 - 2020-09-02
- middleware/testRunner: Update resources from OpenUI5
55b1fe7
v2.2.2 - 2020-08-11
v2.2.1 - 2020-07-14
- MiddlewareManager: Provide MiddlewareUtil to custom middleware using specVersion 2.1
3e249fa
- Node.js API: TypeScript type definition support (#334)
b66f9cc
v2.2.0 - 2020-07-01
- MiddlewareManager: Update SAP Target CSP Policies
269c22c
v2.1.0 - 2020-06-15
v2.0.3 - 2020-05-14
v2.0.2 - 2020-04-30
v2.0.1 - 2020-04-15
v2.0.0 - 2020-03-31
- Require Node.js >= 10
a8c7a13
- serveResources middleware: Expect *.properties files in UTF-8 by default
af7f9ad
- Handle encoding in request paths correctly
256b3f0
- Add MiddlewareUtil providing convenience functions to all middleware
b8ab775
- Add test runner middleware
ea77e20
If the project a "*.properties" resource originates from cannot be determined, or if the project does not define a propertiesFileSourceEncoding configuration or uses a legacy specVersion (<2.0), the serveResources middleware assumes that the resource is UTF-8 encoded instead of ISO-8859-1.
Support for older Node.js releases has been dropped. Only Node.js v10 or higher is supported.
v1.6.0 - 2020-02-24
- versionInfo: Fix pattern to glob for .library files
3621f78
v1.5.4 - 2020-02-10
- Ensure proper handling of multi-byte characters in streams (#280)
fe652e4
- serveIndex: Add missing dependency to "graceful-fs"
e09c472
v1.5.3 - 2020-01-24
- sslUtils: Fix Invalid Common Name error
db06db7
v1.5.2 - 2019-12-16
- Resolve ERR_CERT_REVOKED error for newly generated SSL certs
f2e1522
v1.5.1 - 2019-11-19
- Bump connect-openui5 from 0.8.0 to 0.9.0
0c6d502
v1.5.0 - 2019-11-07
- serveIndex: use serve-index for serving the application index
d6ea507
v1.4.0 - 2019-10-24
- Custom Middleware Extensibility: Allow multiple definitions of the same custom middleware (#246)
55a24ef
v1.3.0 - 2019-07-31
v1.2.0 - 2019-07-10
v1.1.3 - 2019-06-24
- serveResources: Correctly encode non UTF-8 resources
1ee6723
v1.1.2 - 2019-06-03
- Middleware: Allow usage without express server
4d971b4
v1.1.1 - 2019-05-13
v1.1.0 - 2019-04-25
- Bump @ui5/fs from 1.0.1 to 1.0.2 (#166)
5ff4765
- Bump @ui5/logger from 1.0.0 to 1.0.1 (#165)
21be52a
- Bump @ui5/builder from 1.0.0 to 1.0.1 (#126)
e22c118
- Bump @ui5/fs from 1.0.0 to 1.0.1
255766a
v1.0.0 - 2019-01-10
- Bump @ui5/project from 0.2.5 to 1.0.0 (#109)
84d31a5
- Bump @ui5/builder from 0.2.9 to 1.0.0 (#108)
8e39375
- Bump @ui5/fs from 0.2.0 to 1.0.0 (#107)
93e39af
- Bump @ui5/logger from 0.2.2 to 1.0.0 (#106)
3687ad6
v0.2.2 - 2018-10-29
v0.2.1 - 2018-07-17
v0.2.0 - 2018-07-12
v0.1.2 - 2018-07-10
- CSP Middleware: Export middleware, add report-uri
2091c0c