Skip to content

Commit

Permalink
chore: release main (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
marianfoo authored Jan 2, 2024
1 parent a3449f7 commit 4de7e18
Show file tree
Hide file tree
Showing 26 changed files with 111 additions and 81 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.30.0",
"packages/ui5-cc-spreadsheetimporter": "0.31.0",
"packages/ui5-cc-spreadsheetimporter-generator": "0.4.1"
}
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_30_0": "./thirdparty/customControl/spreadsheetImporter/v0_30_0"
"cc.spreadsheetimporter.v0_31_0": "./thirdparty/customControl/spreadsheetImporter/v0_31_0"
},
````

Expand All @@ -48,7 +48,7 @@ npm install ui5-cc-spreadsheetimporter
"sap.ui.table": {}
},
"components": {
"cc.spreadsheetimporter.v0_30_0": {}
"cc.spreadsheetimporter.v0_31_0": {}
}
},
````
Expand All @@ -60,7 +60,7 @@ npm install ui5-cc-spreadsheetimporter
````json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_30_0"
"name": "cc.spreadsheetimporter.v0_31_0"
}
},
````
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_30_0",
"name": "cc.spreadsheetimporter.v0_31_0",
"settings": {
"tableId": "ui.v4.ordersv4fe::OrdersObjectPage--fe::table::Items::LineItem-innerTable"
}
Expand Down
15 changes: 15 additions & 0 deletions docs/pages/CHANGELOGSPREADSHEETIMPORTER.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## [0.31.0](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.30.0...ui5-cc-spreadsheetimporter-v0.31.0) (2024-01-02)


### Features

* add config for btp deployment with managed approuter ([#419](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/419)) ([470b68f](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/470b68f5e873673c3711b91bfc87d81143c40222))
* new checks for maxLength and duplicate columns ([#447](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/447)) ([7d47e28](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/7d47e28d925d103dd894154b862ee6801bd84864))
* new config to define columns in preview ([#443](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/443)) ([b98db12](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/b98db12526503cd72b405bc00b6ce05b942d647b))
* new option `createActiveEntity´ to directly create active entities ([#438](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/438)) ([a3449f7](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/a3449f77c84d9581a39a19c24eb6e21aacbb25b7))


### Bug Fixes

* check if ComponentContainerData is available ([#445](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/445)) ([c484e42](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/c484e42b292831e5884d499b6b6a89060f919626))

## [0.30.0](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.29.1...ui5-cc-spreadsheetimporter-v0.30.0) (2023-12-21)


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

````json
"resourceRoots": {
"cc.spreadsheetimporter.v0_30_0": "./thirdparty/customControl/spreadsheetImporter/v0_30_0"
"cc.spreadsheetimporter.v0_31_0": "./thirdparty/customControl/spreadsheetImporter/v0_31_0"
},
````

Expand All @@ -59,7 +59,7 @@ npm install ui5-cc-spreadsheetimporter
````json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_30_0"
"name": "cc.spreadsheetimporter.v0_31_0"
}
},
````
Expand Down Expand Up @@ -89,7 +89,7 @@ To avoid this error, you can add the following to your `manifest.json` file:
````json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_30_0"
"name": "cc.spreadsheetimporter.v0_31_0"
}
},
````
Expand Down Expand Up @@ -294,7 +294,7 @@ builder:
4\. Error: library/component used in application does not exist

When deploying the app to your ABAP system, you may get the error like this:
`SAPUI5 library/component cc.spreadsheetimporter.v0_30_0 used in application Z*** does not exist`
`SAPUI5 library/component cc.spreadsheetimporter.v0_31_0 used in application Z*** does not exist`

The application is deployed, but the Service returns an error.
Currently there is no workaround.
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 @@ As a alternative, try to select all messages and copy them to a text file.
A error similar to the following:

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

Since the component is designed to always use a specific version, this version must also be used after an update.
Expand All @@ -61,10 +61,10 @@ See below the configurations for this version:
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_30_0"
"name": "cc.spreadsheetimporter.v0_31_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_30_0": "./thirdparty/customControl/spreadsheetImporter/v0_30_0"
"cc.spreadsheetimporter.v0_31_0": "./thirdparty/customControl/spreadsheetImporter/v0_31_0"
},
```
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_30_0"
"name": "cc.spreadsheetimporter.v0_31_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_30_0": "./thirdparty/customControl/spreadsheetImporter/v0_30_0"
"cc.spreadsheetimporter.v0_31_0": "./thirdparty/customControl/spreadsheetImporter/v0_31_0"
},
```
### Custom Action
Expand All @@ -35,7 +35,7 @@ This is a example how you could create the component and attach a event handler


```typescript
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_30_0/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_31_0/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 @@ -97,11 +97,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_30_0"
"name": "cc.spreadsheetimporter.v0_31_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_30_0": "./thirdparty/customControl/spreadsheetImporter/v0_30_0"
"cc.spreadsheetimporter.v0_31_0": "./thirdparty/customControl/spreadsheetImporter/v0_31_0"
},
"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_30_0"
"name": "cc.spreadsheetimporter.v0_31_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_30_0": "./thirdparty/customControl/spreadsheetImporter/v0_30_0"
"cc.spreadsheetimporter.v0_31_0": "./thirdparty/customControl/spreadsheetImporter/v0_31_0"
},
"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_30_0": {}
"cc.spreadsheetimporter.v0_31_0": {}
}
},
"contentDensities": {
Expand All @@ -79,14 +79,14 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_30_0",
"name": "cc.spreadsheetimporter.v0_31_0",
"settings": {},
"componentData": {},
"lazy": false
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_30_0": "./thirdparty/customControl/spreadsheetImporter/v0_30_0"
"cc.spreadsheetimporter.v0_31_0": "./thirdparty/customControl/spreadsheetImporter/v0_31_0"
},
"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_30_0": {}
"cc.spreadsheetimporter.v0_31_0": {}
}
},
"contentDensities": {
Expand All @@ -79,11 +79,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_30_0"
"name": "cc.spreadsheetimporter.v0_31_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_30_0": "./thirdparty/customControl/spreadsheetImporter/v0_30_0"
"cc.spreadsheetimporter.v0_31_0": "./thirdparty/customControl/spreadsheetImporter/v0_31_0"
},
"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 @@ -92,11 +92,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_30_0"
"name": "cc.spreadsheetimporter.v0_31_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_30_0": "./thirdparty/customControl/spreadsheetImporter/v0_30_0"
"cc.spreadsheetimporter.v0_31_0": "./thirdparty/customControl/spreadsheetImporter/v0_31_0"
},
"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_30_0.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_31_0.SpreadsheetDialog",
check: function (dialog) {
return dialog[0].isOpen();
},
success: function (dialog) {
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_30_0.Util;
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_31_0.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_30_0.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_31_0.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_30_0/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_31_0/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_30_0/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent } from "cc/spreadsheetimporter/v0_31_0/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_30_0"
"name": "cc.spreadsheetimporter.v0_31_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_30_0": "./thirdparty/customControl/spreadsheetImporter/v0_30_0"
"cc.spreadsheetimporter.v0_31_0": "./thirdparty/customControl/spreadsheetImporter/v0_31_0"
},
"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_30_0": {}
"cc.spreadsheetimporter.v0_31_0": {}
}
},
"contentDensities": {
Expand Down Expand Up @@ -95,11 +95,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_30_0"
"name": "cc.spreadsheetimporter.v0_31_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_30_0": "./thirdparty/customControl/spreadsheetImporter/v0_30_0"
"cc.spreadsheetimporter.v0_31_0": "./thirdparty/customControl/spreadsheetImporter/v0_31_0"
},
"routing": {
"config": {},
Expand Down
15 changes: 15 additions & 0 deletions packages/ui5-cc-spreadsheetimporter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## [0.31.0](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.30.0...ui5-cc-spreadsheetimporter-v0.31.0) (2024-01-02)


### Features

* add config for btp deployment with managed approuter ([#419](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/419)) ([470b68f](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/470b68f5e873673c3711b91bfc87d81143c40222))
* new checks for maxLength and duplicate columns ([#447](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/447)) ([7d47e28](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/7d47e28d925d103dd894154b862ee6801bd84864))
* new config to define columns in preview ([#443](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/443)) ([b98db12](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/b98db12526503cd72b405bc00b6ce05b942d647b))
* new option `createActiveEntity´ to directly create active entities ([#438](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/438)) ([a3449f7](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/a3449f77c84d9581a39a19c24eb6e21aacbb25b7))


### Bug Fixes

* check if ComponentContainerData is available ([#445](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/445)) ([c484e42](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/c484e42b292831e5884d499b6b6a89060f919626))

## [0.30.0](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.29.1...ui5-cc-spreadsheetimporter-v0.30.0) (2023-12-21)


Expand Down
Loading

0 comments on commit 4de7e18

Please sign in to comment.