Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ Execute the following command to run the app locally for development in watch mo
npm start
```

If you encounter issues with OpenUI5 1.142.0-SNAPSHOT (development version), you can use the stable version:

```sh
npm run start:stable
```

As shown in the terminal after executing this command, the app is then running on http://localhost:8080/index.html.<br>
A browser window with this URL should automatically open.

Expand Down
66 changes: 66 additions & 0 deletions UPGRADE_NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Upgrade Notes

## Summary of Changes

This project has been upgraded as requested:

### ✅ UI5 Web Components: Upgraded to 2.14.0
- `@ui5/webcomponents`: 2.14.0
- `@ui5/webcomponents-fiori`: 2.14.0
- `@ui5/webcomponents-icons`: 2.14.0

### ⚠️ OpenUI5: Configured for 1.142.0-SNAPSHOT

The project has been configured to use OpenUI5 1.142.0-SNAPSHOT as requested:
- `ui5.yaml`: framework version set to "1.142.0-SNAPSHOT"
- `webapp/manifest.json`: minUI5Version updated to "1.142.0"
- Maven snapshot endpoint configured: `https://oss.sonatype.org/content/repositories/snapshots/`

### Current Status

**Note**: OpenUI5 1.142.0-SNAPSHOT may not be publicly available at all times as it's a development version. If you encounter build issues, you may need to:

1. **For SAP internal usage**: Configure access to internal SAP Maven repositories
2. **For external usage**: Consider using the latest stable version (currently 1.140.0)

### Build Issues Resolution

If you encounter build errors related to missing snapshot packages, you have two options:

#### Option 1: Use the stable configuration file
Use the provided `ui5-stable.yaml` configuration file that uses OpenUI5 1.140.0:

```bash
# Build with stable version
npx ui5 build --config ui5-stable.yaml --clean-dest

# Serve with stable version
npx ui5 serve --config ui5-stable.yaml --port 8080
```

#### Option 2: Temporarily revert main configuration
Change in `ui5.yaml`:

```yaml
framework:
name: OpenUI5
version: "1.140.0" # Use stable version if snapshot is not available
```

And in `webapp/manifest.json`:
```json
"minUI5Version": "1.140.0"
```

### Updated Dependencies

- `@openui5/types`: Updated to ^1.140.0 (latest available types)

### Maven Configuration

The project is now configured to use Maven snapshots with:
```
ui5 config set mavenSnapshotEndpointUrl https://oss.sonatype.org/content/repositories/snapshots/
```

This configuration will persist for future builds.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@
"scripts": {
"clean": "rimraf dist coverage",
"build": "ui5 build --clean-dest",
"build:stable": "ui5 build --config ui5-stable.yaml --clean-dest",
"build:opt": "ui5 build self-contained --clean-dest --all",
"start": "ui5 serve --port 8080 -o index.html",
"start:stable": "ui5 serve --config ui5-stable.yaml --port 8080 -o index.html",
"start:dist": "npm start -- --config ui5-dist.yaml",
"ts-typecheck": "tsc --noEmit",
"lint": "eslint webapp",
"ui5lint": "ui5lint"
},
"devDependencies": {
"@openui5/types": "^1.139.0",
"@openui5/types": "^1.140.0",
"@ui5/cli": "^4.0.23",
"@ui5/linter": "^1.18.1",
"eslint": "^9.34.0",
Expand Down
31 changes: 31 additions & 0 deletions ui5-stable.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
specVersion: "4.0"
metadata:
name: uxc.integration
type: application
framework:
name: OpenUI5
version: "1.140.0"
libraries:
- name: sap.m
- name: sap.tnt
- name: sap.ui.core
- name: themelib_sap_horizon
builder:
resources:
excludes:
- "test/e2e/**"
customTasks:
- name: ui5-tooling-transpile-task
afterTask: replaceVersion
- name: ui5-tooling-modules-task
afterTask: ui5-tooling-transpile-task
configuration:
addToNamespace: true
server:
customMiddleware:
- name: ui5-tooling-transpile-middleware
afterMiddleware: compression
- name: ui5-tooling-modules-middleware
afterMiddleware: ui5-tooling-transpile-middleware
- name: ui5-middleware-livereload
afterMiddleware: compression
2 changes: 1 addition & 1 deletion ui5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
type: application
framework:
name: OpenUI5
version: "1.140.0"
version: "1.142.0-SNAPSHOT"
libraries:
- name: sap.m
- name: sap.tnt
Expand Down
2 changes: 1 addition & 1 deletion webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
]
},
"dependencies": {
"minUI5Version": "1.136.0",
"minUI5Version": "1.142.0",
"libs": {
"sap.ui.core": {},
"sap.m": {},
Expand Down