Skip to content

Commit

Permalink
chore: release main (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
marianfoo committed Oct 30, 2023
1 parent 9d7d718 commit a46cd4a
Show file tree
Hide file tree
Showing 25 changed files with 85 additions and 57 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.28.1",
"packages/ui5-cc-spreadsheetimporter": "0.29.0",
"packages/ui5-cc-spreadsheetimporter-generator": "0.4.1"
}
10 changes: 5 additions & 5 deletions docs/pages/Button.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ npm install ui5-cc-spreadsheetimporter-button

````json
"resourceRoots": {
"cc.spreadsheetimporter.v0_28_1": "./thirdparty/customControl/spreadsheetImporter/v0_28_1"
"cc.spreadsheetimporter.v0_29_0": "./thirdparty/customControl/spreadsheetImporter/v0_29_0"
},
````

Expand All @@ -46,7 +46,7 @@ npm install ui5-cc-spreadsheetimporter-button
"sap.ui.table": {}
},
"components": {
"cc.spreadsheetimporter.v0_28_1": {}
"cc.spreadsheetimporter.v0_29_0": {}
}
},
````
Expand All @@ -58,7 +58,7 @@ npm install ui5-cc-spreadsheetimporter-button
````json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_28_1"
"name": "cc.spreadsheetimporter.v0_29_0"
}
},
````
Expand Down Expand Up @@ -151,7 +151,7 @@ https://www.npmjs.com/package/ui5-cc-spreadsheetimporter-button?activeTab=code
````json
"resourceRoots": {
"cc.spreadsheetimporter.button.undefined": "./thirdparty/customControl/spreadsheetImporterButton/v0_8_0",
"cc.spreadsheetimporter.v0_28_1": "./thirdparty/customControl/spreadsheetImporter/v0_28_1"
"cc.spreadsheetimporter.v0_29_0": "./thirdparty/customControl/spreadsheetImporter/v0_29_0"
},
````

Expand All @@ -162,7 +162,7 @@ https://www.npmjs.com/package/ui5-cc-spreadsheetimporter-button?activeTab=code
````json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_28_1"
"name": "cc.spreadsheetimporter.v0_29_0"
}
},
````
Expand Down
14 changes: 14 additions & 0 deletions docs/pages/CHANGELOGSPREADSHEETIMPORTER.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [0.29.0](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.28.1...ui5-cc-spreadsheetimporter-v0.29.0) (2023-10-30)


### Features

* new config to provide own template file ([#406](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/406)) ([591e284](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/591e28421f213ca515a14f405008d50488806037))
* new config to skip columns check ([#404](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/404)) ([6a14152](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/6a14152df7790830a6a2e3b811d1effa0d87ca93))


### Bug Fixes

* add parsedData to CheckBeforeRead event ([#407](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/407)) ([110933a](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/110933a3b910fb4543f40dc2994049709f30776c))
* hide generateTemplate in standalone ([#409](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/409)) ([b9172db](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/b9172dbbbd2e0c7dbcf15982b0f8a379e8532335))

## [0.28.1](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.28.0...ui5-cc-spreadsheetimporter-v0.28.1) (2023-10-18)


Expand Down
10 changes: 5 additions & 5 deletions docs/pages/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The library is attached directly to each app and deployed with it.

!!! note
It is possible when you deploy the app you get the error:
`SAPUI5 library/component cc.spreadsheetimporter.v0_28_1 used in application Z_********* not exists`
`SAPUI5 library/component cc.spreadsheetimporter.v0_29_0 used in application Z_********* not exists`
Even though the fiori tools say the app is not deployed, it is deployed.

### Central deployment
Expand Down Expand Up @@ -42,7 +42,7 @@ npm install ui5-cc-spreadsheetimporter

````json
"resourceRoots": {
"cc.spreadsheetimporter.v0_28_1": "./thirdparty/customControl/spreadsheetImporter/v0_28_1"
"cc.spreadsheetimporter.v0_29_0": "./thirdparty/customControl/spreadsheetImporter/v0_29_0"
},
````

Expand All @@ -64,7 +64,7 @@ npm install ui5-cc-spreadsheetimporter
````json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_28_1"
"name": "cc.spreadsheetimporter.v0_29_0"
}
},
````
Expand All @@ -81,7 +81,7 @@ npm install ui5-cc-spreadsheetimporter
````json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_28_1"
"name": "cc.spreadsheetimporter.v0_29_0"
}
},
````
Expand Down Expand Up @@ -286,7 +286,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_27_1 used in application Z*** does not exist`
`SAPUI5 library/component cc.spreadsheetimporter.v0_29_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_28_1/Component.js' from resources/cc/spreadsheetimporter/v0_28_1/Component.js: script load error
ui5loader-dbg.js:1042 Uncaught (in promise) ModuleError: failed to load 'cc/spreadsheetimporter/v0_29_0/Component.js' from resources/cc/spreadsheetimporter/v0_29_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_28_1"
"name": "cc.spreadsheetimporter.v0_29_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_28_1": "./thirdparty/customControl/spreadsheetImporter/v0_28_1"
"cc.spreadsheetimporter.v0_29_0": "./thirdparty/customControl/spreadsheetImporter/v0_29_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_28_1"
"name": "cc.spreadsheetimporter.v0_29_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_28_1": "./thirdparty/customControl/spreadsheetImporter/v0_28_1"
"cc.spreadsheetimporter.v0_29_0": "./thirdparty/customControl/spreadsheetImporter/v0_29_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_28_1/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_29_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_28_1"
"name": "cc.spreadsheetimporter.v0_29_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_28_1": "./thirdparty/customControl/spreadsheetImporter/v0_28_1"
"cc.spreadsheetimporter.v0_29_0": "./thirdparty/customControl/spreadsheetImporter/v0_29_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_28_1"
"name": "cc.spreadsheetimporter.v0_29_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_28_1": "./thirdparty/customControl/spreadsheetImporter/v0_28_1"
"cc.spreadsheetimporter.v0_29_0": "./thirdparty/customControl/spreadsheetImporter/v0_29_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_28_1": {}
"cc.spreadsheetimporter.v0_29_0": {}
}
},
"contentDensities": {
Expand All @@ -79,14 +79,14 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_28_1",
"name": "cc.spreadsheetimporter.v0_29_0",
"settings": {},
"componentData": {},
"lazy": false
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_28_1": "./thirdparty/customControl/spreadsheetImporter/v0_28_1"
"cc.spreadsheetimporter.v0_29_0": "./thirdparty/customControl/spreadsheetImporter/v0_29_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_28_1": {}
"cc.spreadsheetimporter.v0_29_0": {}
}
},
"contentDensities": {
Expand All @@ -79,11 +79,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_28_1"
"name": "cc.spreadsheetimporter.v0_29_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_28_1": "./thirdparty/customControl/spreadsheetImporter/v0_28_1"
"cc.spreadsheetimporter.v0_29_0": "./thirdparty/customControl/spreadsheetImporter/v0_29_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_28_1"
"name": "cc.spreadsheetimporter.v0_29_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_28_1": "./thirdparty/customControl/spreadsheetImporter/v0_28_1"
"cc.spreadsheetimporter.v0_29_0": "./thirdparty/customControl/spreadsheetImporter/v0_29_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_28_1.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_29_0.SpreadsheetDialog",
check: function (dialog) {
return dialog[0].isOpen();
},
success: function (dialog) {
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_28_1.Util;
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_29_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_28_1.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_29_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_28_1/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_29_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_28_1/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent } from "cc/spreadsheetimporter/v0_29_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_28_1"
"name": "cc.spreadsheetimporter.v0_29_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_28_1": "./thirdparty/customControl/spreadsheetImporter/v0_28_1"
"cc.spreadsheetimporter.v0_29_0": "./thirdparty/customControl/spreadsheetImporter/v0_29_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_28_1": {}
"cc.spreadsheetimporter.v0_29_0": {}
}
},
"contentDensities": {
Expand Down Expand Up @@ -95,11 +95,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_28_1"
"name": "cc.spreadsheetimporter.v0_29_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_28_1": "./thirdparty/customControl/spreadsheetImporter/v0_28_1"
"cc.spreadsheetimporter.v0_29_0": "./thirdparty/customControl/spreadsheetImporter/v0_29_0"
},
"routing": {
"config": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_28_1"
"name": "cc.spreadsheetimporter.v0_29_0"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_28_1": "./thirdparty/customControl/spreadsheetImporter/v0_28_1"
"cc.spreadsheetimporter.v0_29_0": "./thirdparty/customControl/spreadsheetImporter/v0_29_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_28_1.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_29_0.SpreadsheetDialog",
check: function (dialog) {
return dialog[0].isOpen();
},
success: function (dialog) {
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_28_1.Util;
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_29_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_28_1.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_29_0.SpreadsheetDialog",
success: function (dialog) {
Opa5.getContext().component.setDecimalSeparator(decimalSeparator);
// Call 'normalizeNumberString' method and check its output
Expand Down
14 changes: 14 additions & 0 deletions packages/ui5-cc-spreadsheetimporter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [0.29.0](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.28.1...ui5-cc-spreadsheetimporter-v0.29.0) (2023-10-30)


### Features

* new config to provide own template file ([#406](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/406)) ([591e284](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/591e28421f213ca515a14f405008d50488806037))
* new config to skip columns check ([#404](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/404)) ([6a14152](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/6a14152df7790830a6a2e3b811d1effa0d87ca93))


### Bug Fixes

* add parsedData to CheckBeforeRead event ([#407](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/407)) ([110933a](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/110933a3b910fb4543f40dc2994049709f30776c))
* hide generateTemplate in standalone ([#409](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/issues/409)) ([b9172db](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/commit/b9172dbbbd2e0c7dbcf15982b0f8a379e8532335))

## [0.28.1](https://github.com/marianfoo/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.28.0...ui5-cc-spreadsheetimporter-v0.28.1) (2023-10-18)


Expand Down
2 changes: 1 addition & 1 deletion packages/ui5-cc-spreadsheetimporter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ui5-cc-spreadsheetimporter",
"version": "0.28.1",
"version": "0.29.0",
"description": "A UI5 Module to integrate a Spreadsheet Upload for Fiori Element Apps.",
"main": "dist/Component.js",
"types": "dist/index.d.ts",
Expand Down
Loading

0 comments on commit a46cd4a

Please sign in to comment.