diff --git a/CHANGELOG.md b/CHANGELOG.md index 881d15a7..cbd81e92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.19.1 (29-05-2024) + +- Change Edm.Byte to int for OData to TS type generation + ## 1.19.0 (24-05-2024) - New preference entry added: `ui5.plugin.parsingDelay`. It serves as a delay for parsing, which can be handy for large projects in order to gain better performance. diff --git a/package.json b/package.json index fb22dc33..655e6be2 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "ui5plugin", "displayName": "SAPUI5 Extension", "description": "Extension for working with UI5 projects", - "version": "1.19.0", + "version": "1.19.1", "publisher": "iljapostnovs", "license": "Apache-2.0", "author": "Ilja Postnovs ", diff --git a/src/classes/utils/xmlmetadata/EdmTypes.ts b/src/classes/utils/xmlmetadata/EdmTypes.ts index 35ff24d4..4c416c31 100644 --- a/src/classes/utils/xmlmetadata/EdmTypes.ts +++ b/src/classes/utils/xmlmetadata/EdmTypes.ts @@ -13,7 +13,7 @@ export class EdmTypes { "Edm.DateTime": "Date", "Edm.Date": "Date", "Edm.DateTimeOffset": "Date", - "Edm.Byte": "string", + "Edm.Byte": "int", "Edm.SByte": "string", "Edm.Single": "string", "Edm.String": "string", @@ -37,7 +37,7 @@ export class EdmTypes { "Edm.Duration": "string", "Edm.DateTimeOffset": "Date", "Edm.Stream": "string", - "Edm.Byte": "string", + "Edm.Byte": "int", "Edm.SByte": "string", "Edm.Single": "float", "Edm.TimeOfDay": "string",