Gets UI5 version info for available UI5 versions.
Npm
npm install --save @sap-ux/ui5-info
Yarn
yarn add @sap-ux/ui5-info
Pnpm
pnpm add @sap-ux/ui5-info
import { getUI5Versions, type UI5VersionFilterOptions } from '@sap-ux/ui5-info';
const filterOptions: UI5VersionFilterOptions = {
minSupportedUI5Version: '1.84.0',
includeMaintained: true
};
const ui5Versions = await getUI5Versions(filterOptions);
/**
ui5Versions :
[
{
"version": "1.119.0",
"maintained": true,
},
{
"version": "1.117.0",
"maintained": false,
},
{
"version": "1.114.0",
"maintained": true,
},
{
"version": "1.108.0",
"maintained": false,
},
{
"version": "1.96.0",
"maintained": false,
},
{
"version": "1.84.0",
"maintained": true,
}
]
*/
See TypeScript doc for a full description of possible value for UI5VersionFilterOptions
SAP UI5