Skip to content

v3.0.0

Compare
Choose a tag to compare
@openui5bot openui5bot released this 09 Feb 14:39
· 181 commits to main since this release

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 ES Modules 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 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.

Features

  • MiddlewareUtil: Add getProject/getDependencies/resourceFactory API to interface (#547) ab28f78

All changes

v2.4.1...v3.0.0