Skip to content

Commit

Permalink
chore: release main (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
marianfoo authored Feb 1, 2024
1 parent 9348694 commit 9fa404d
Show file tree
Hide file tree
Showing 26 changed files with 92 additions and 78 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.31.3",
"packages/ui5-cc-spreadsheetimporter": "0.31.4",
"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_31_3": "./thirdparty/customControl/spreadsheetImporter/v0_31_3"
"cc.spreadsheetimporter.v0_31_4": "./thirdparty/customControl/spreadsheetImporter/v0_31_4"
}
```

Expand All @@ -48,7 +48,7 @@ npm install ui5-cc-spreadsheetimporter
"sap.ui.table": {}
},
"components": {
"cc.spreadsheetimporter.v0_31_3": {}
"cc.spreadsheetimporter.v0_31_4": {}
}
}
```
Expand All @@ -60,7 +60,7 @@ npm install ui5-cc-spreadsheetimporter
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_31_3"
"name": "cc.spreadsheetimporter.v0_31_4"
}
}
```
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_31_3",
"name": "cc.spreadsheetimporter.v0_31_4",
"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.31.4](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.31.3...ui5-cc-spreadsheetimporter-v0.31.4) (2024-02-01)


### Bug Fixes

* show error in standalone mode after upload button press ([#480](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/issues/480)) ([9348694](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/commit/9348694cad5204cfb31188d0db54c9bb0e4fecef))

## [0.31.3](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.31.2...ui5-cc-spreadsheetimporter-v0.31.3) (2024-01-30)


Expand Down
8 changes: 4 additions & 4 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_31_3": "./thirdparty/customControl/spreadsheetImporter/v0_31_3"
"cc.spreadsheetimporter.v0_31_4": "./thirdparty/customControl/spreadsheetImporter/v0_31_4"
}
```

Expand All @@ -60,7 +60,7 @@ npm install ui5-cc-spreadsheetimporter
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_31_3"
"name": "cc.spreadsheetimporter.v0_31_4"
}
}
```
Expand Down Expand Up @@ -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_31_3"
"name": "cc.spreadsheetimporter.v0_31_4"
}
}
```
Expand Down Expand Up @@ -238,7 +238,7 @@ 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_31_3 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_31_4 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:

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_31_3/Component.js' from resources/cc/spreadsheetimporter/v0_31_3/Component.js: script load error
ui5loader-dbg.js:1042 Uncaught (in promise) ModuleError: failed to load 'cc/spreadsheetimporter/v0_31_4/Component.js' from resources/cc/spreadsheetimporter/v0_31_4/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_31_3"
"name": "cc.spreadsheetimporter.v0_31_4"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_31_3": "./thirdparty/customControl/spreadsheetImporter/v0_31_3"
"cc.spreadsheetimporter.v0_31_4": "./thirdparty/customControl/spreadsheetImporter/v0_31_4"
}
```
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_31_3"
"name": "cc.spreadsheetimporter.v0_31_4"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_31_3": "./thirdparty/customControl/spreadsheetImporter/v0_31_3"
"cc.spreadsheetimporter.v0_31_4": "./thirdparty/customControl/spreadsheetImporter/v0_31_4"
},
```

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_31_3/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_31_4/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_31_3"
"name": "cc.spreadsheetimporter.v0_31_4"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_31_3": "./thirdparty/customControl/spreadsheetImporter/v0_31_3"
"cc.spreadsheetimporter.v0_31_4": "./thirdparty/customControl/spreadsheetImporter/v0_31_4"
},
"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_31_3"
"name": "cc.spreadsheetimporter.v0_31_4"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_31_3": "./thirdparty/customControl/spreadsheetImporter/v0_31_3"
"cc.spreadsheetimporter.v0_31_4": "./thirdparty/customControl/spreadsheetImporter/v0_31_4"
},
"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_31_3": {}
"cc.spreadsheetimporter.v0_31_4": {}
}
},
"contentDensities": {
Expand All @@ -79,14 +79,14 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_31_3",
"name": "cc.spreadsheetimporter.v0_31_4",
"settings": {},
"componentData": {},
"lazy": false
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_31_3": "./thirdparty/customControl/spreadsheetImporter/v0_31_3"
"cc.spreadsheetimporter.v0_31_4": "./thirdparty/customControl/spreadsheetImporter/v0_31_4"
},
"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_31_3": {}
"cc.spreadsheetimporter.v0_31_4": {}
}
},
"contentDensities": {
Expand All @@ -79,11 +79,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_31_3"
"name": "cc.spreadsheetimporter.v0_31_4"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_31_3": "./thirdparty/customControl/spreadsheetImporter/v0_31_3"
"cc.spreadsheetimporter.v0_31_4": "./thirdparty/customControl/spreadsheetImporter/v0_31_4"
},
"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_31_3"
"name": "cc.spreadsheetimporter.v0_31_4"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_31_3": "./thirdparty/customControl/spreadsheetImporter/v0_31_3"
"cc.spreadsheetimporter.v0_31_4": "./thirdparty/customControl/spreadsheetImporter/v0_31_4"
},
"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_31_3.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_31_4.SpreadsheetDialog",
check: function (dialog) {
return dialog[0].isOpen();
},
success: function (dialog) {
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_31_3.Util;
const util = Opa5.getWindow().cc.spreadsheetimporter.v0_31_4.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_31_3.SpreadsheetDialog",
controlType: "cc.spreadsheetimporter.v0_31_4.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_31_3/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent, Component$UploadButtonPressEvent } from "cc/spreadsheetimporter/v0_31_4/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_31_3/Component";
import Component, { Component$ChangeBeforeCreateEvent, Component$CheckBeforeReadEvent } from "cc/spreadsheetimporter/v0_31_4/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_31_3"
"name": "cc.spreadsheetimporter.v0_31_4"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_31_3": "./thirdparty/customControl/spreadsheetImporter/v0_31_3"
"cc.spreadsheetimporter.v0_31_4": "./thirdparty/customControl/spreadsheetImporter/v0_31_4"
},
"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_31_3": {}
"cc.spreadsheetimporter.v0_31_4": {}
}
},
"contentDensities": {
Expand Down Expand Up @@ -95,11 +95,11 @@
},
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_31_3"
"name": "cc.spreadsheetimporter.v0_31_4"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_31_3": "./thirdparty/customControl/spreadsheetImporter/v0_31_3"
"cc.spreadsheetimporter.v0_31_4": "./thirdparty/customControl/spreadsheetImporter/v0_31_4"
},
"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.31.4](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.31.3...ui5-cc-spreadsheetimporter-v0.31.4) (2024-02-01)


### Bug Fixes

* show error in standalone mode after upload button press ([#480](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/issues/480)) ([9348694](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/commit/9348694cad5204cfb31188d0db54c9bb0e4fecef))

## [0.31.3](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.31.2...ui5-cc-spreadsheetimporter-v0.31.3) (2024-01-30)


Expand Down
38 changes: 19 additions & 19 deletions packages/ui5-cc-spreadsheetimporter/mta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,41 @@ ID: spreadsheetimporter
description: Generated by migration tool of Wouter Lemaire
version: 0.0.1
modules:
- name: spreadsheetimporter_v0_31_3-dest-content
- name: spreadsheetimporter_v0_31_4-dest-content
type: com.sap.application.content
requires:
- name: dest-srv
parameters:
content-target: true
- name: spreadsheetimporter_v0_31_3-repo-host
- name: spreadsheetimporter_v0_31_4-repo-host
parameters:
service-key:
name: spreadsheetimporter_v0_31_3-repo-host-key
- name: spreadsheetimporter_v0_31_3-uaa
name: spreadsheetimporter_v0_31_4-repo-host-key
- name: spreadsheetimporter_v0_31_4-uaa
parameters:
service-key:
name: spreadsheetimporter_v0_31_3-uaa-key
name: spreadsheetimporter_v0_31_4-uaa-key
parameters:
content:
instance:
destinations:
- Name: spreadsheetimporter_v0_31_3_repo_host
ServiceInstanceName: spreadsheetimporter_v0_31_3-html5-srv
ServiceKeyName: spreadsheetimporter_v0_31_3-repo-host-key
sap.cloud.service: spreadsheetimporter_v0_31_3
- Name: spreadsheetimporter_v0_31_4_repo_host
ServiceInstanceName: spreadsheetimporter_v0_31_4-html5-srv
ServiceKeyName: spreadsheetimporter_v0_31_4-repo-host-key
sap.cloud.service: spreadsheetimporter_v0_31_4
- Authentication: OAuth2UserTokenExchange
Name: spreadsheetimporter_v0_31_3_uaa
ServiceInstanceName: spreadsheetimporter_v0_31_3-xsuaa-srv
ServiceKeyName: spreadsheetimporter_v0_31_3-uaa-key
sap.cloud.service: spreadsheetimporter_v0_31_3
Name: spreadsheetimporter_v0_31_4_uaa
ServiceInstanceName: spreadsheetimporter_v0_31_4-xsuaa-srv
ServiceKeyName: spreadsheetimporter_v0_31_4-uaa-key
sap.cloud.service: spreadsheetimporter_v0_31_4
existing_destinations_policy: ignore
build-parameters:
no-source: true
- name: spreadsheetimporter_v0_31_3-app-content
- name: spreadsheetimporter_v0_31_4-app-content
type: com.sap.application.content
path: .
requires:
- name: spreadsheetimporter_v0_31_3-repo-host
- name: spreadsheetimporter_v0_31_4-repo-host
parameters:
content-target: true
build-parameters:
Expand Down Expand Up @@ -76,18 +76,18 @@ resources:
service: destination
service-name: dest-srv
service-plan: lite
- name: spreadsheetimporter_v0_31_3-uaa
- name: spreadsheetimporter_v0_31_4-uaa
type: org.cloudfoundry.managed-service
parameters:
path: ./xs-security.json
service: xsuaa
service-name: spreadsheetimporter_v0_31_3-xsuaa-srv
service-name: spreadsheetimporter_v0_31_4-xsuaa-srv
service-plan: application
- name: spreadsheetimporter_v0_31_3-repo-host
- name: spreadsheetimporter_v0_31_4-repo-host
type: org.cloudfoundry.managed-service
parameters:
service: html5-apps-repo
service-name: spreadsheetimporter_v0_31_3-html5-srv
service-name: spreadsheetimporter_v0_31_4-html5-srv
service-plan: app-host
parameters:
deploy_mode: html5-repo
Expand Down
Loading

0 comments on commit 9fa404d

Please sign in to comment.