Skip to content

Commit

Permalink
chore: release main (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
marianfoo committed Feb 29, 2024
1 parent 1b50aef commit e75972e
Show file tree
Hide file tree
Showing 26 changed files with 94 additions and 80 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"packages/ui5-cc-spreadsheetimporter": "0.33.0",
"packages/ui5-cc-spreadsheetimporter": "0.33.1",
"packages/ui5-cc-spreadsheetimporter-generator": "0.5.0"
}
8 changes: 4 additions & 4 deletions docs/pages/Button.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ npm install ui5-cc-spreadsheetimporter

```json
"resourceRoots": {
"cc.spreadsheetimporter.v0_33_0": "./thirdparty/customControl/spreadsheetImporter/v0_33_0"
"cc.spreadsheetimporter.v0_33_1": "./thirdparty/customControl/spreadsheetImporter/v0_33_1"
}
```

Expand All @@ -48,7 +48,7 @@ npm install ui5-cc-spreadsheetimporter
"sap.ui.table": {}
},
"components": {
"cc.spreadsheetimporter.v0_33_0": {}
"cc.spreadsheetimporter.v0_33_1": {}
}
}
```
Expand All @@ -60,7 +60,7 @@ npm install ui5-cc-spreadsheetimporter
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_33_0"
"name": "cc.spreadsheetimporter.v0_33_1"
}
}
```
Expand Down Expand Up @@ -130,7 +130,7 @@ A sample configuration can be found in the manifest.json of the [OData V4 Fiori
"customSectionReuse": {
"title": "Spreadsheet Upload",
"embeddedComponent": {
"name": "cc.spreadsheetimporter.v0_33_0",
"name": "cc.spreadsheetimporter.v0_33_1",
"settings": {
"tableId": "ui.v4.ordersv4fe::OrdersObjectPage--fe::table::Items::LineItem-innerTable"
}
Expand Down
7 changes: 7 additions & 0 deletions docs/pages/CHANGELOGSPREADSHEETIMPORTER.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.33.1](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.33.0...ui5-cc-spreadsheetimporter-v0.33.1) (2024-02-29)


### Bug Fixes

* parse Edm.Byte and Edm.SByte ([#506](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/issues/506)) ([1b50aef](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/commit/1b50aef494c21a39674ac1cce871b5e3889b9671))

## [0.33.0](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.32.0...ui5-cc-spreadsheetimporter-v0.33.0) (2024-02-23)


Expand Down
12 changes: 6 additions & 6 deletions docs/pages/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ npm install ui5-cc-spreadsheetimporter

```json
"resourceRoots": {
"cc.spreadsheetimporter.v0_33_0": "./thirdparty/customControl/spreadsheetImporter/v0_33_0"
"cc.spreadsheetimporter.v0_33_1": "./thirdparty/customControl/spreadsheetImporter/v0_33_1"
}
```

Expand All @@ -60,7 +60,7 @@ npm install ui5-cc-spreadsheetimporter
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_33_0"
"name": "cc.spreadsheetimporter.v0_33_1"
}
}
```
Expand All @@ -73,7 +73,7 @@ To avoid this error, you can add the following to your `manifest.json` file:

```json
"sap.app": {
"embeds": ["./thirdparty/customControl/spreadsheetImporter/v0_33_0"]
"embeds": ["./thirdparty/customControl/spreadsheetImporter/v0_33_1"]
}
```

Expand All @@ -88,7 +88,7 @@ To avoid this error, you can add the following to your `manifest.json` file:
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_33_0"
"name": "cc.spreadsheetimporter.v0_33_1"
}
}
```
Expand Down Expand Up @@ -238,13 +238,13 @@ openSpreadsheetUploadDialog: async function (oEvent) {

#### Error: library/component used in application does not exist

When deploying the app to your ABAP system, you may get an error like this: `SAPUI5 library/component cc.spreadsheetimporter.v0_33_0 used in application Z*** does not exist`. The application is deployed, but the service returns an error.
When deploying the app to your ABAP system, you may get an error like this: `SAPUI5 library/component cc.spreadsheetimporter.v0_33_1 used in application Z*** does not exist`. The application is deployed, but the service returns an error.

To avoid this error, you can add the following to your `manifest.json` file:

```json
"sap.app": {
"embeds": ["./thirdparty/customControl/spreadsheetImporter/v0_33_0"]
"embeds": ["./thirdparty/customControl/spreadsheetImporter/v0_33_1"]
}
```

Expand Down
6 changes: 3 additions & 3 deletions docs/pages/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Alternatively, you can try selecting all the messages and copying them to a text
If you receive an error similar to the following:

```
ui5loader-dbg.js:1042 Uncaught (in promise) ModuleError: failed to load 'cc/spreadsheetimporter/v0_33_0/Component.js' from resources/cc/spreadsheetimporter/v0_33_0/Component.js: script load error
ui5loader-dbg.js:1042 Uncaught (in promise) ModuleError: failed to load 'cc/spreadsheetimporter/v0_33_1/Component.js' from resources/cc/spreadsheetimporter/v0_33_1/Component.js: script load error
```

Since the component is designed to always use a specific version, you must ensure that the correct version is used after an update.
Expand All @@ -61,10 +61,10 @@ See the configurations for this version below:
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_33_0"
"name": "cc.spreadsheetimporter.v0_33_1"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_33_0": "./thirdparty/customControl/spreadsheetImporter/v0_33_0"
"cc.spreadsheetimporter.v0_33_1": "./thirdparty/customControl/spreadsheetImporter/v0_33_1"
}
```
6 changes: 3 additions & 3 deletions docs/pages/Typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ Add the component usage and the resource roots to the manifest.json as described
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_33_0"
"name": "cc.spreadsheetimporter.v0_33_1"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_33_0": "./thirdparty/customControl/spreadsheetImporter/v0_33_0"
"cc.spreadsheetimporter.v0_33_1": "./thirdparty/customControl/spreadsheetImporter/v0_33_1"
},
```

Expand All @@ -35,7 +35,7 @@ Add the component usage and the resource roots to the manifest.json as described
This is an example of how you could create the component and attach an event handler to the `checkBeforeRead` event with the types `Component` and `Component$CheckBeforeReadEventParameters` for the event parameters with an OData V4 Fiori Elements Application and UI5 Version 1.116.

```typescript
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_33_0/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_33_1/Component";
import BaseController from "sap/fe/core/BaseController";
import ExtensionAPI from "sap/fe/core/ExtensionAPI";

Expand Down
4 changes: 2 additions & 2 deletions examples/packages/ordersv2fe/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_33_0"
"name": "cc.spreadsheetimporter.v0_33_1"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_33_0": "./thirdparty/customControl/spreadsheetImporter/v0_33_0"
"cc.spreadsheetimporter.v0_33_1": "./thirdparty/customControl/spreadsheetImporter/v0_33_1"
},
"routing": {
"config": {},
Expand Down
4 changes: 2 additions & 2 deletions examples/packages/ordersv2fenondraft/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_33_0"
"name": "cc.spreadsheetimporter.v0_33_1"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_33_0": "./thirdparty/customControl/spreadsheetImporter/v0_33_0"
"cc.spreadsheetimporter.v0_33_1": "./thirdparty/customControl/spreadsheetImporter/v0_33_1"
},
"routing": {
"config": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"sap.ui.table": {}
},
"components": {
"cc.spreadsheetimporter.v0_33_0": {}
"cc.spreadsheetimporter.v0_33_1": {}
}
},
"contentDensities": {
Expand All @@ -79,14 +79,14 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_33_0",
"name": "cc.spreadsheetimporter.v0_33_1",
"settings": {},
"componentData": {},
"lazy": false
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_33_0": "./thirdparty/customControl/spreadsheetImporter/v0_33_0"
"cc.spreadsheetimporter.v0_33_1": "./thirdparty/customControl/spreadsheetImporter/v0_33_1"
},
"routing": {
"config": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"sap.ui.table": {}
},
"components": {
"cc.spreadsheetimporter.v0_33_0": {}
"cc.spreadsheetimporter.v0_33_1": {}
}
},
"contentDensities": {
Expand All @@ -79,11 +79,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_33_0"
"name": "cc.spreadsheetimporter.v0_33_1"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_33_0": "./thirdparty/customControl/spreadsheetImporter/v0_33_0"
"cc.spreadsheetimporter.v0_33_1": "./thirdparty/customControl/spreadsheetImporter/v0_33_1"
},
"routing": {
"config": {
Expand Down
4 changes: 2 additions & 2 deletions examples/packages/ordersv4fe/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_33_0"
"name": "cc.spreadsheetimporter.v0_33_1"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_33_0": "./thirdparty/customControl/spreadsheetImporter/v0_33_0"
"cc.spreadsheetimporter.v0_33_1": "./thirdparty/customControl/spreadsheetImporter/v0_33_1"
},
"routing": {
"routes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ sap.ui.require(
errorMessage: "Can not select 'sap.m.Button'"
});
Then.waitFor({
controlType: "cc.spreadsheetimporter.v0_33_0.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_33_1.SpreadsheetDialog",
check: function (dialog) {
return dialog[0].isOpen();
},
success: function (dialog) {
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_33_0.Util;
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_33_1.Util;
console.log("Util", util);
Opa5.getContext().util = util;
Opa5.getContext().component = dialog[0].getComponent();
Expand Down Expand Up @@ -71,7 +71,7 @@ sap.ui.require(

function testNormalizeNumberString(Then, decimalSeparator, input, expectedOutput) {
Then.waitFor({
controlType: "cc.spreadsheetimporter.v0_33_0.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_33_1.SpreadsheetDialog",
success: function (dialog) {
Opa5.getContext().component.setDecimalSeparator(decimalSeparator);
// Call 'normalizeNumberString' method and check its output
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_33_0/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_33_1/Component";
import BaseController from "sap/fe/core/BaseController";
import ExtensionAPI from "sap/fe/core/ExtensionAPI";
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent } from "cc/spreadsheetimporter/v0_33_0/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent } from "cc/spreadsheetimporter/v0_33_1/Component";
import BaseController from "sap/fe/core/BaseController";
import ExtensionAPI from "sap/fe/core/ExtensionAPI";
/**
Expand Down
4 changes: 2 additions & 2 deletions examples/packages/ordersv4fets/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_33_0"
"name": "cc.spreadsheetimporter.v0_33_1"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_33_0": "./thirdparty/customControl/spreadsheetImporter/v0_33_0"
"cc.spreadsheetimporter.v0_33_1": "./thirdparty/customControl/spreadsheetImporter/v0_33_1"
},
"routing": {
"routes": [
Expand Down
6 changes: 3 additions & 3 deletions examples/packages/ordersv4fpm/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"sap.fe.templates": {}
},
"components": {
"cc.spreadsheetimporter.v0_33_0": {}
"cc.spreadsheetimporter.v0_33_1": {}
}
},
"contentDensities": {
Expand Down Expand Up @@ -95,11 +95,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_33_0"
"name": "cc.spreadsheetimporter.v0_33_1"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_33_0": "./thirdparty/customControl/spreadsheetImporter/v0_33_0"
"cc.spreadsheetimporter.v0_33_1": "./thirdparty/customControl/spreadsheetImporter/v0_33_1"
},
"routing": {
"config": {},
Expand Down
7 changes: 7 additions & 0 deletions packages/ui5-cc-spreadsheetimporter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.33.1](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.33.0...ui5-cc-spreadsheetimporter-v0.33.1) (2024-02-29)


### Bug Fixes

* parse Edm.Byte and Edm.SByte ([#506](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/issues/506)) ([1b50aef](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/commit/1b50aef494c21a39674ac1cce871b5e3889b9671))

## [0.33.0](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.32.0...ui5-cc-spreadsheetimporter-v0.33.0) (2024-02-23)


Expand Down
Loading

0 comments on commit e75972e

Please sign in to comment.