Skip to content

Commit

Permalink
chore: release main (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
marianfoo committed Apr 8, 2024
1 parent 29301d2 commit 813010a
Show file tree
Hide file tree
Showing 26 changed files with 94 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.33.1",
"packages/ui5-cc-spreadsheetimporter": "0.33.2",
"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_1": "./thirdparty/customControl/spreadsheetImporter/v0_33_1"
"cc.spreadsheetimporter.v0_33_2": "./thirdparty/customControl/spreadsheetImporter/v0_33_2"
}
```

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

## [0.33.2](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.33.1...ui5-cc-spreadsheetimporter-v0.33.2) (2024-04-08)


### Bug Fixes

* special case for Edm.Byte for OData V2 ([#519](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/issues/519)) ([36b5f7c](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/commit/36b5f7c3eb83c8ba02f9bc69405fb68738d49ee8))
* update SheetJS to 0.20.2 ([#521](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/issues/521)) ([29301d2](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/commit/29301d23a7163d267a84532593646b1b4685b2aa))

## [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)


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_33_1": "./thirdparty/customControl/spreadsheetImporter/v0_33_1"
"cc.spreadsheetimporter.v0_33_2": "./thirdparty/customControl/spreadsheetImporter/v0_33_2"
}
```

Expand All @@ -60,7 +60,7 @@ npm install ui5-cc-spreadsheetimporter
```json
"componentUsages": {
"spreadsheetImporter": {
"name": "cc.spreadsheetimporter.v0_33_1"
"name": "cc.spreadsheetimporter.v0_33_2"
}
}
```
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_33_1"
"name": "cc.spreadsheetimporter.v0_33_2"
}
}
```
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_33_1 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_2 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_33_1/Component.js' from resources/cc/spreadsheetimporter/v0_33_1/Component.js: script load error
ui5loader-dbg.js:1042 Uncaught (in promise) ModuleError: failed to load 'cc/spreadsheetimporter/v0_33_2/Component.js' from resources/cc/spreadsheetimporter/v0_33_2/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_1"
"name": "cc.spreadsheetimporter.v0_33_2"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_33_1": "./thirdparty/customControl/spreadsheetImporter/v0_33_1"
"cc.spreadsheetimporter.v0_33_2": "./thirdparty/customControl/spreadsheetImporter/v0_33_2"
}
```
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_1"
"name": "cc.spreadsheetimporter.v0_33_2"
}
},
"resourceRoots": {
"cc.spreadsheetimporter.v0_33_1": "./thirdparty/customControl/spreadsheetImporter/v0_33_1"
"cc.spreadsheetimporter.v0_33_2": "./thirdparty/customControl/spreadsheetImporter/v0_33_2"
},
```

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

## [0.33.2](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/compare/ui5-cc-spreadsheetimporter-v0.33.1...ui5-cc-spreadsheetimporter-v0.33.2) (2024-04-08)


### Bug Fixes

* special case for Edm.Byte for OData V2 ([#519](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/issues/519)) ([36b5f7c](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/commit/36b5f7c3eb83c8ba02f9bc69405fb68738d49ee8))
* update SheetJS to 0.20.2 ([#521](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/issues/521)) ([29301d2](https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/commit/29301d23a7163d267a84532593646b1b4685b2aa))

## [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)


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_33_1-dest-content
- name: spreadsheetimporter_v0_33_2-dest-content
type: com.sap.application.content
requires:
- name: dest-srv
parameters:
content-target: true
- name: spreadsheetimporter_v0_33_1-repo-host
- name: spreadsheetimporter_v0_33_2-repo-host
parameters:
service-key:
name: spreadsheetimporter_v0_33_1-repo-host-key
- name: spreadsheetimporter_v0_33_1-uaa
name: spreadsheetimporter_v0_33_2-repo-host-key
- name: spreadsheetimporter_v0_33_2-uaa
parameters:
service-key:
name: spreadsheetimporter_v0_33_1-uaa-key
name: spreadsheetimporter_v0_33_2-uaa-key
parameters:
content:
instance:
destinations:
- Name: spreadsheetimporter_v0_33_1_repo_host
ServiceInstanceName: spreadsheetimporter_v0_33_1-html5-srv
ServiceKeyName: spreadsheetimporter_v0_33_1-repo-host-key
sap.cloud.service: spreadsheetimporter_v0_33_1
- Name: spreadsheetimporter_v0_33_2_repo_host
ServiceInstanceName: spreadsheetimporter_v0_33_2-html5-srv
ServiceKeyName: spreadsheetimporter_v0_33_2-repo-host-key
sap.cloud.service: spreadsheetimporter_v0_33_2
- Authentication: OAuth2UserTokenExchange
Name: spreadsheetimporter_v0_33_1_uaa
ServiceInstanceName: spreadsheetimporter_v0_33_1-xsuaa-srv
ServiceKeyName: spreadsheetimporter_v0_33_1-uaa-key
sap.cloud.service: spreadsheetimporter_v0_33_1
Name: spreadsheetimporter_v0_33_2_uaa
ServiceInstanceName: spreadsheetimporter_v0_33_2-xsuaa-srv
ServiceKeyName: spreadsheetimporter_v0_33_2-uaa-key
sap.cloud.service: spreadsheetimporter_v0_33_2
existing_destinations_policy: ignore
build-parameters:
no-source: true
- name: spreadsheetimporter_v0_33_1-app-content
- name: spreadsheetimporter_v0_33_2-app-content
type: com.sap.application.content
path: .
requires:
- name: spreadsheetimporter_v0_33_1-repo-host
- name: spreadsheetimporter_v0_33_2-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_33_1-uaa
- name: spreadsheetimporter_v0_33_2-uaa
type: org.cloudfoundry.managed-service
parameters:
path: ./xs-security.json
service: xsuaa
service-name: spreadsheetimporter_v0_33_1-xsuaa-srv
service-name: spreadsheetimporter_v0_33_2-xsuaa-srv
service-plan: application
- name: spreadsheetimporter_v0_33_1-repo-host
- name: spreadsheetimporter_v0_33_2-repo-host
type: org.cloudfoundry.managed-service
parameters:
service: html5-apps-repo
service-name: spreadsheetimporter_v0_33_1-html5-srv
service-name: spreadsheetimporter_v0_33_2-html5-srv
service-plan: app-host
parameters:
deploy_mode: html5-repo
Expand Down
Loading

0 comments on commit 813010a

Please sign in to comment.