Changelog
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.
v4.0.6 - 2025-06-02
Bug Fixes
- Log error in case UI5 Server uses HTTP/2 with Node 24 (#722)
71dd7af
v4.0.5 - 2024-09-11
Dependency Updates
- Bump path-to-regexp and router
f713647
v4.0.4 - 2024-08-27
Bug Fixes
- Ensure SSL credentials are only readable by owner
7220dbb
v4.0.3 - 2024-08-09
Bug Fixes
- serveResources: Do not process manifest.json in test-resources
964e784
v4.0.2 - 2024-08-01
Dependency Updates
- Bump devcert-sanscache from 0.4.8 to 5.0.1
4a06c57
v4.0.1 - 2024-07-31
Bug Fixes
- serveResources: Improve cache invalidation (#688)
777afa5
v4.0.0 - 2024-07-23
Breaking Changes
- Drop node v21 support
2af0d4f
- Replace console.log with process.stderr (#643)
d42c79f
- Require Node.js 20.11.x/>=21.2.0 and npm >=10
39cc1a2
Features
- manifest.json: Auto-fill supportedLocales
a39c8de
BREAKING CHANGE
Messages will now be written to stderr instead of stdout.
JIRA: CPOUI5FOUNDATION-802
Related to: https://github.com/SAP/ui5-tooling/issues/701
Sibling of: https://github.com/SAP/ui5-tooling/pull/930,
https://github.com/SAP/ui5-cli/pull/686
Support for older Node.js and npm releases has been dropped.
Only Node.js 20.11.x and >=21.2.0 as well as npm v10 or higher are supported.
v3.2.1 - 2024-05-15
Bug Fixes
- middleware/versionInfo: Only process dependencies of type 'library'
4c99455
v3.2.0 - 2024-04-24
Features
- serveResources: Dynamically generate missing library manifest.json
d31f2c5
v3.1.5 - 2023-12-12
Bug Fixes
v3.1.4 - 2023-11-20
v3.1.3 - 2023-06-06
Bug Fixes
- middleware/testRunner: Update resources from OpenUI5
f0c7291
v3.1.2 - 2023-04-12
Bug Fixes
- Fix JSDoc names of typedefs in MiddlewareUtil.
dbd6fe1
v3.1.1 - 2023-03-16
Bug Fixes
- Allow serving of propertyfiles of non component project types
1bc6ec7
v3.1.0 - 2023-03-01
Features
- CSP: Increase defaultPolicy2 to sap-target-level-3 (#580)
5a981a1
v3.0.1 - 2023-02-16
Bug Fixes
- MiddlewareUtil: Provide framework configuration getters to custom tasks (#579)
58bf4f5
v3.0.0 - 2023-02-09
Breaking Changes
BREAKING CHANGE
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:
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 https://github.com/SAP/ui5-fs/pull/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.
Features
- MiddlewareUtil: Add getProject/getDependencies/resourceFactory API to interface (#547)
ab28f78
v2.4.1 - 2022-11-30
Dependency Updates
- Bump connect-openui5 from 0.10.2 to 0.10.3
20b6fc8
v2.4.0 - 2021-10-19
Features
- Enhance versionInfo middleware to serve sap-ui-version.json (#420)
c6f83f5
v2.3.1 - 2021-07-23
v2.3.0 - 2021-07-01
Features
- server: Expose configuration options for SAP CSP policies
55d6a96
v2.2.9 - 2021-03-11
Dependency Updates
- 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
Bug Fixes
- Improve parallel theme request handling
88bc0d6
- nonReadRequests middleware: Use response API
2d2325f
v2.2.5 - 2020-10-06
Bug Fixes
- Discovery middleware shouldn't fail when lib names overlap (#362)
f5067ce
v2.2.4 - 2020-09-10
v2.2.3 - 2020-09-02
Bug Fixes
- middleware/testRunner: Update resources from OpenUI5
55b1fe7
v2.2.2 - 2020-08-11
v2.2.1 - 2020-07-14
Bug Fixes
- 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
Bug Fixes
- MiddlewareManager: Update SAP Target CSP Policies
269c22c
Features
v2.1.0 - 2020-06-15
Features
- csp: enable tracking and serving of csp reports (#323)
e0a0c5e
v2.0.3 - 2020-05-14
v2.0.2 - 2020-04-30
Bug Fixes
- CSP Middleware: Use res.getHeader/setHeader methods (#312)
c53525c
v2.0.1 - 2020-04-15
Dependency Updates
- Bump devcert-sanscache from 0.4.6 to 0.4.8 (#306)
2a9d517
v2.0.0 - 2020-03-31
Breaking Changes
- Require Node.js >= 10
a8c7a13
- serveResources middleware: Expect *.properties files in UTF-8 by default
af7f9ad
Bug Fixes
- Handle encoding in request paths correctly
256b3f0
Features
- Add MiddlewareUtil providing convenience functions to all middleware
b8ab775
- Add test runner middleware
ea77e20
BREAKING CHANGE
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
Bug Fixes
- versionInfo: Fix pattern to glob for .library files
3621f78
Features
- serveThemes: Support experimental CSS variables and skeleton build (#278)
47d4b55
v1.5.4 - 2020-02-10
Bug Fixes
- 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
Bug Fixes
- sslUtils: Fix Invalid Common Name error
db06db7
v1.5.2 - 2019-12-16
Bug Fixes
- Resolve ERR_CERT_REVOKED error for newly generated SSL certs
f2e1522
v1.5.1 - 2019-11-19
Dependency Updates
- Bump connect-openui5 from 0.8.0 to 0.9.0
0c6d502
v1.5.0 - 2019-11-07
Features
- serveIndex: use serve-index for serving the application index
d6ea507
v1.4.0 - 2019-10-24
Features
- Custom Middleware Extensibility: Allow multiple definitions of the same custom middleware (#246)
55a24ef
v1.3.0 - 2019-07-31
Features
v1.2.0 - 2019-07-10
Features
- Server: Add handling for custom middleware (#200)
037b3bc
v1.1.3 - 2019-06-24
Bug Fixes
- serveResources: Correctly encode non UTF-8 resources
1ee6723
v1.1.2 - 2019-06-03
Bug Fixes
- Middleware: Allow usage without express server
4d971b4
v1.1.1 - 2019-05-13
Bug Fixes
- Makes CSP middleware work in an environment without express server (#184)
c3089ad
v1.1.0 - 2019-04-25
Dependency Updates
Features
- Add Server Option to Send SAP's Target CSPs by default (#179)
4f05967
v1.0.0 - 2019-01-10
Dependency Updates
v0.2.2 - 2018-10-29
v0.2.1 - 2018-07-17
v0.2.0 - 2018-07-12
v0.1.2 - 2018-07-10
Bug Fixes
- CSP Middleware: Export middleware, add report-uri
2091c0c
v0.1.1 - 2018-07-10
Features
- simplistic serveIndex with additional properties
fa04ee2
- Add CSP middleware (#3)
f9ec3ee
v0.1.0 - 2018-06-26
v0.0.1 - 2018-06-06