Skip to content

Commit 7fa88ab

Browse files
committed
docs(documentation): Replace all occurrence of specVersion 4.0 with 5.0
1 parent bec30a6 commit 7fa88ab

File tree

5 files changed

+24
-24
lines changed

5 files changed

+24
-24
lines changed

packages/documentation/docs/pages/OpenUI5.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ui5 add sap.ui.core sap.m sap.ui.table themelib_sap_fiori_3
2727

2828
**Example ui5.yaml of an application**
2929
```yaml
30-
specVersion: "4.0"
30+
specVersion: "5.0"
3131
type: application
3232
metadata:
3333
name: some.project.name
@@ -43,7 +43,7 @@ framework:
4343
4444
**Example ui5.yaml of a library**
4545
```yaml
46-
specVersion: "4.0"
46+
specVersion: "5.0"
4747
type: library
4848
metadata:
4949
name: some.library

packages/documentation/docs/pages/SAPUI5.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ ui5 add -D sap.ushell
4040

4141
**Example ui5.yaml of an application**
4242
```yaml
43-
specVersion: "4.0"
43+
specVersion: "5.0"
4444
type: application
4545
metadata:
4646
name: some.project.name
@@ -58,7 +58,7 @@ framework:
5858
5959
**Example ui5.yaml of a library**
6060
```yaml
61-
specVersion: "4.0"
61+
specVersion: "5.0"
6262
type: library
6363
metadata:
6464
name: some.library

packages/documentation/docs/pages/extensibility/CustomServerMiddleware.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A middleware may be executed before or after any other middleware. This can eith
1515
### Example: Basic configuration
1616

1717
```yaml
18-
specVersion: "4.0"
18+
specVersion: "5.0"
1919
type: application
2020
metadata:
2121
name: my.application
@@ -45,7 +45,7 @@ A custom middleware extension consists of a `ui5.yaml` and a [custom middleware
4545
### Example: ui5.yaml
4646

4747
```yaml
48-
specVersion: "4.0"
48+
specVersion: "5.0"
4949
kind: extension
5050
type: server-middleware
5151
metadata:
@@ -65,7 +65,7 @@ The UI5 Server will detect the custom middleware configuration of the project an
6565

6666
```yaml
6767
# Project configuration for the above example
68-
specVersion: "4.0"
68+
specVersion: "5.0"
6969
kind: project
7070
type: application
7171
metadata:
@@ -76,7 +76,7 @@ server:
7676
beforeMiddleware: serveResources
7777
---
7878
# Custom middleware extension as part of your project
79-
specVersion: "4.0"
79+
specVersion: "5.0"
8080
kind: extension
8181
type: server-middleware
8282
metadata:

packages/documentation/docs/pages/extensibility/CustomTasks.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Another custom task called `render-markdown-files` is then executed immediately
2020

2121
```yaml
2222
# In this example configuration, two custom tasks are defined: 'babel' and 'render-markdown-files'.
23-
specVersion: "4.0"
23+
specVersion: "5.0"
2424
type: library
2525
metadata:
2626
name: my.library
@@ -41,7 +41,7 @@ You can also connect multiple custom tasks with each other. The order in the con
4141

4242
```yaml
4343
# In this example, 'my-custom-task-2' gets executed after 'my-custom-task-1'.
44-
specVersion: "4.0"
44+
specVersion: "5.0"
4545
type: library
4646
metadata:
4747
name: my.library
@@ -60,7 +60,7 @@ A custom task extension consists of a `ui5.yaml` and a [task implementation](#ta
6060
### Example: ui5.yaml
6161

6262
```yaml
63-
specVersion: "4.0"
63+
specVersion: "5.0"
6464
kind: extension
6565
type: task
6666
metadata:
@@ -80,7 +80,7 @@ The task extension will then be automatically collected and processed during the
8080

8181
```yaml
8282
# Project configuration for the above example
83-
specVersion: "4.0"
83+
specVersion: "5.0"
8484
kind: project
8585
type: library
8686
metadata:
@@ -94,7 +94,7 @@ builder:
9494
firstH1IsTitle: true
9595
---
9696
# Task extension as part of your project
97-
specVersion: "4.0"
97+
specVersion: "5.0"
9898
kind: extension
9999
type: task
100100
metadata:

packages/documentation/docs/pages/extensibility/ProjectShims.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ Also see [RFC 0002 Project Shims](https://github.com/UI5/cli/blob/main/rfcs/0002
55

66
#### Structure
77
```yaml
8-
specVersion: "4.0"
8+
specVersion: "5.0"
99
kind: extension
1010
type: project-shim
1111
metadata:
1212
name: <name of project shim extension>
1313
shims:
1414
configurations:
1515
<module name (id)>:
16-
specVersion: "4.0"
16+
specVersion: "5.0"
1717
type: <project type>
1818
metadata:
1919
name: <project name>
2020
<module name (id)>:
21-
specVersion: "4.0"
21+
specVersion: "5.0"
2222
type: <project type>
2323
metadata:
2424
name: <project name>
@@ -61,20 +61,20 @@ An application "my-application" defines a npm dependency to [lodash](https://lod
6161

6262
**ui5.yaml**
6363
```yaml
64-
specVersion: "4.0"
64+
specVersion: "5.0"
6565
type: application
6666
metadata:
6767
name: my.application
6868
--- # Everything below this line could also be put into the ui5.yaml of a standalone extension module
69-
specVersion: "4.0"
69+
specVersion: "5.0"
7070
kind: extension
7171
type: project-shim
7272
metadata:
7373
name: my.application.thirdparty
7474
shims:
7575
configurations:
7676
lodash: # name as defined in package.json
77-
specVersion: "4.0"
77+
specVersion: "5.0"
7878
type: module # Use module type
7979
metadata:
8080
name: lodash
@@ -142,30 +142,30 @@ application-a/
142142
The shim defined in the application configures the legacy libraries and defines their dependencies. This shim might as well be a standalone module that is added to the applications dependencies. That would be the typical reuse scenario for shims.
143143

144144
```yaml
145-
specVersion: "4.0"
145+
specVersion: "5.0"
146146
type: application
147147
metadata:
148148
name: application.a
149149
----
150-
specVersion: "4.0"
150+
specVersion: "5.0"
151151
kind: extension
152152
type: project-shim
153153
metadata:
154154
name: legacy-lib-shims
155155
shims:
156156
configurations:
157157
legacy-library-a:
158-
specVersion: "4.0"
158+
specVersion: "5.0"
159159
type: library
160160
metadata:
161161
name: legacy.library.a
162162
legacy-library-b:
163-
specVersion: "4.0"
163+
specVersion: "5.0"
164164
type: library
165165
metadata:
166166
name: legacy.library.b
167167
legacy-library-x:
168-
specVersion: "4.0"
168+
specVersion: "5.0"
169169
type: library
170170
metadata:
171171
name: legacy.library.x

0 commit comments

Comments
 (0)