From 3946229ec9dfdafdd3c8f188c185fef1a537c47a Mon Sep 17 00:00:00 2001 From: Florian Vogt Date: Fri, 11 Apr 2025 17:13:39 +0200 Subject: [PATCH 1/2] feat(sapui5): Upgrade a UI5 version maintained in manifest.json or CommonDataModel.json Upgrades an UI5 version definied in following properties: - "sap.platform.cf/ui5VersionNumber" - "sap.cloud.portal/ui5VersionNumber" --- default.json | 7 +++++-- lts.json | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/default.json b/default.json index 505953d..1026eac 100644 --- a/default.json +++ b/default.json @@ -29,11 +29,14 @@ "ui5-deploy\\.ya?ml", "ui5-dist\\.ya?ml", "ui5-local\\.ya?ml", - ".*\\.html" + ".*\\.html", + "manifest.json", + "CommonDataModel.json" ], "matchStrings": [ "https:\\/\\/ui5\\.sap\\.com\\/(?[\\.0-9]+)", - "[\\w\\s\\:\\'\\\"-./@]+SAPUI5[\\w\\s\\:\\'\\\"-./@]+version: \"?(?[\\.0-9]+)\"?" + "[\\w\\s\\:\\'\\\"-./@]+SAPUI5[\\w\\s\\:\\'\\\"-./@]+version: \"?(?[\\.0-9]+)\"?", + "\\\"(sap\\.platform\\.cf|sap\\.cloud\\.portal)\\\":[\\w\\s\\:\\'\\\"{?,@\\[\\]_\\.]*\\\"ui5VersionNumber\\\":[\\s]*\\\"(?[\\.0-9]+)" ], "depNameTemplate": "sapui5", "datasourceTemplate": "custom.sapui5" diff --git a/lts.json b/lts.json index b1ea64d..dec01d7 100644 --- a/lts.json +++ b/lts.json @@ -29,11 +29,14 @@ "ui5-deploy\\.ya?ml", "ui5-dist\\.ya?ml", "ui5-local\\.ya?ml", - ".*\\.html" + ".*\\.html", + "manifest.json", + "CommonDataModel.json" ], "matchStrings": [ "https:\\/\\/ui5\\.sap\\.com\\/(?[\\.0-9]+)", - "[\\w\\s\\:\\'\\\"-./@]+SAPUI5[\\w\\s\\:\\'\\\"-./@]+version: \"?(?[\\.0-9]+)\"?" + "[\\w\\s\\:\\'\\\"-./@]+SAPUI5[\\w\\s\\:\\'\\\"-./@]+version: \"?(?[\\.0-9]+)\"?", + "\\\"(sap\\.platform\\.cf|sap\\.cloud\\.portal)\\\":[\\w\\s\\:\\'\\\"{?,@\\[\\]_\\.]*\\\"ui5VersionNumber\\\":[\\s]*\\\"(?[\\.0-9]+)" ], "depNameTemplate": "sapui5_lts", "datasourceTemplate": "custom.sapui5_lts" From 2ad7e87418ce7b288dc01859e94290ffa0da3490 Mon Sep 17 00:00:00 2001 From: Florian Vogt Date: Mon, 14 Apr 2025 07:25:05 +0200 Subject: [PATCH 2/2] docs(README.md): Add new checked files --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 644afec..6ec0d48 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ Automatically creates pull requests to your UI5 project whenever a new UI5 versi Information on the currently used UI5 version is updated in the following files: - ui5.yaml files - HTML files +- `manifest.json` and `CommonDataModel.json` files The UI5 Renovate Preset Config takes into account whether your project uses [OpenUI5](https://sdk.openui5.org/) or [SAPUI5](https://ui5.sap.com/).