Skip to content

Commit

Permalink
chore: release main (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
marianfoo authored May 8, 2024
1 parent b5f69bc commit e70c25a
Show file tree
Hide file tree
Showing 26 changed files with 101 additions and 87 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.34.0",
"packages/ui5-cc-spreadsheetimporter": "0.34.1",
"packages/ui5-cc-spreadsheetimporter-generator": "0.6.0"
}
10 changes: 5 additions & 5 deletions docs/pages/Button.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ npm install ui5-cc-spreadsheetimporter
⚠️ You must always keep your `ui5-cc-spreadsheetimporter` and button version up to date here when updating the module.

!!! warning ""
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_34_0" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.


```json
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_0"
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1"
}
```

Expand All @@ -52,7 +52,7 @@ npm install ui5-cc-spreadsheetimporter
"sap.ui.table": {}
},
"components": {
"cc.spreadsheetimporter.v0_34_0": {}
"cc.spreadsheetimporter.v0_34_1": {}
}
}
```
Expand All @@ -64,7 +64,7 @@ npm install ui5-cc-spreadsheetimporter
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_0"
"name": "cc.spreadsheetimporter.v0_34_1"
}
}
```
Expand Down Expand Up @@ -134,7 +134,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_34_0",
"name": "cc.spreadsheetimporter.v0_34_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.34.1](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.34.0...ui5-cc-spreadsheetimporter-v0.34.1) (2024-05-08)


### Bug Fixes

* add seconds when parsing odata time ([#549](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/issues/549)) ([b5f69bc](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/commit/b5f69bc5e1718e8cc08a22041d3ba08eb11a292a))

## [0.34.0](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.33.4...ui5-cc-spreadsheetimporter-v0.34.0) (2024-05-08)


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

```json
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_0"
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1"
}
```

Expand All @@ -63,7 +63,7 @@ npm install ui5-cc-spreadsheetimporter
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_0"
"name": "cc.spreadsheetimporter.v0_34_1"
}
}
```
Expand All @@ -75,12 +75,12 @@ If you deploy your app to a SAP System (S/4 On-Premise or SAP BTP ABAP environme
To avoid this error, you can add the following to your `manifest.json` file:

!!! warning ""
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_34_0" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.


```json
"sap.app": {
"embeds": ["thirdparty/customcontrol/spreadsheetimporter/v0_34_0"]
"embeds": ["thirdparty/customcontrol/spreadsheetimporter/v0_34_1"]
}
```

Expand All @@ -95,7 +95,7 @@ To avoid this error, you can add the following to your `manifest.json` file:
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_0"
"name": "cc.spreadsheetimporter.v0_34_1"
}
}
```
Expand Down Expand Up @@ -272,7 +272,7 @@ openSpreadsheetUploadDialog: async function (oEvent) {
context: this,
},
url: "/sap/bc/ui5_ui5/sap/Z_XUP_v0_33_2",
name: "cc.spreadsheetimporter.v0_34_0"
name: "cc.spreadsheetimporter.v0_34_1"
});
this.spreadsheetUpload.openSpreadsheetUploadDialog();
this.getView().setBusy(false);
Expand All @@ -283,17 +283,17 @@ This is alternative to using resourceRoots in the manifest.json when you don't h

#### 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_34_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_34_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:

!!! warning ""
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_34_0" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.


```json
"sap.app": {
"embeds": ["thirdparty/customcontrol/spreadsheetimporter/v0_34_0"]
"embeds": ["thirdparty/customcontrol/spreadsheetimporter/v0_34_1"]
}
```

Expand Down
8 changes: 4 additions & 4 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_34_0/Component.js' from resources/cc/spreadsheetimporter/v0_34_0/Component.js: script load error
ui5loader-dbg.js:1042 Uncaught (in promise) ModuleError: failed to load 'cc/spreadsheetimporter/v0_34_1/Component.js' from resources/cc/spreadsheetimporter/v0_34_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 @@ -59,16 +59,16 @@ See the configurations for this version below:
### manifest.json

!!! warning ""
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_34_0" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.


```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_0"
"name": "cc.spreadsheetimporter.v0_34_1"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_0"
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1"
}
```
8 changes: 4 additions & 4 deletions docs/pages/Typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ You can consume the types from the `@sapui5/ts-types-esm` and the `ui5-cc-spread
Add the component usage and the resource roots to the manifest.json as described in the [Getting Started](GettingStarted.md) section.

!!! warning ""
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_34_0" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.
⚠️ The `resourceRoots` path "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1" changed from version 0.34.0 to lowercase. Please make sure to use the correct path.

```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_0"
"name": "cc.spreadsheetimporter.v0_34_1"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_0"
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_1"
},
```

Expand All @@ -38,7 +38,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_34_0/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_34_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_34_0"
"name": "cc.spreadsheetimporter.v0_34_1"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_0"
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_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_34_0"
"name": "cc.spreadsheetimporter.v0_34_1"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_0"
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_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_34_0": {}
"cc.spreadsheetimporter.v0_34_1": {}
}
},
"contentDensities": {
Expand All @@ -79,14 +79,14 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_0",
"name": "cc.spreadsheetimporter.v0_34_1",
"settings": {},
"componentData": {},
"lazy": false
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_0"
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_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_34_0": {}
"cc.spreadsheetimporter.v0_34_1": {}
}
},
"contentDensities": {
Expand All @@ -79,11 +79,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_0"
"name": "cc.spreadsheetimporter.v0_34_1"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_0"
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_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_34_0"
"name": "cc.spreadsheetimporter.v0_34_1"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_0"
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_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_34_0.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_34_1.SpreadsheetDialog",
check: function (dialog) {
return dialog[0].isOpen();
},
success: function (dialog) {
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_34_0.Util;
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_34_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_34_0.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_34_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_34_0/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_34_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_34_0/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent } from "cc/spreadsheetimporter/v0_34_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_34_0"
"name": "cc.spreadsheetimporter.v0_34_1"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_0"
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_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_34_0": {}
"cc.spreadsheetimporter.v0_34_1": {}
}
},
"contentDensities": {
Expand Down Expand Up @@ -95,11 +95,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_34_0"
"name": "cc.spreadsheetimporter.v0_34_1"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_34_0": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_0"
"cc.spreadsheetimporter.v0_34_1": "./thirdparty/customcontrol/spreadsheetimporter/v0_34_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.34.1](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.34.0...ui5-cc-spreadsheetimporter-v0.34.1) (2024-05-08)


### Bug Fixes

* add seconds when parsing odata time ([#549](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/issues/549)) ([b5f69bc](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/commit/b5f69bc5e1718e8cc08a22041d3ba08eb11a292a))

## [0.34.0](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.33.4...ui5-cc-spreadsheetimporter-v0.34.0) (2024-05-08)


Expand Down
Loading

0 comments on commit e70c25a

Please sign in to comment.