@ui5/server 3.0.0-rc.3 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -86
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -2,26 +2,24 @@
|
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
4
4
|
|
|
5
|
-
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-server/compare/v3.0.0
|
|
5
|
+
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-server/compare/v3.0.0...HEAD).
|
|
6
6
|
|
|
7
|
-
<a name="v3.0.0
|
|
8
|
-
## [v3.0.0
|
|
9
|
-
### Bug Fixes
|
|
10
|
-
- **MiddlewareManager:** Throw if custom middleware is unknown [`5d5bbe1`](https://github.com/SAP/ui5-server/commit/5d5bbe1bc7b8e12e2094e9ef08807d5359d8ac5e)
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<a name="v3.0.0-rc.2"></a>
|
|
14
|
-
## [v3.0.0-rc.2] - 2023-01-25
|
|
15
|
-
|
|
16
|
-
<a name="v3.0.0-rc.1"></a>
|
|
17
|
-
## [v3.0.0-rc.1] - 2023-01-23
|
|
18
|
-
|
|
19
|
-
<a name="v3.0.0-rc.0"></a>
|
|
20
|
-
## [v3.0.0-rc.0] - 2022-12-23
|
|
7
|
+
<a name="v3.0.0"></a>
|
|
8
|
+
## [v3.0.0] - 2023-02-09
|
|
21
9
|
### Breaking Changes
|
|
10
|
+
- Transform to ES Modules ([#501](https://github.com/SAP/ui5-server/issues/501)) [`05e3013`](https://github.com/SAP/ui5-server/commit/05e3013605e28e9ab5a785aa57616473d40e5710)
|
|
22
11
|
- Remove "/proxy" endpoint ([#550](https://github.com/SAP/ui5-server/issues/550)) [`4bdf839`](https://github.com/SAP/ui5-server/commit/4bdf839e96f67ddbc4cb2a18216921d54df4006e)
|
|
12
|
+
- Require Project Graph ([#479](https://github.com/SAP/ui5-server/issues/479)) [`d62f85a`](https://github.com/SAP/ui5-server/commit/d62f85a193115a587dbf58225e8130318a475023)
|
|
13
|
+
- Require Node.js >= 16.18.0 / npm >= 8 [`63d216a`](https://github.com/SAP/ui5-server/commit/63d216a3ba34e8e50acc6621d43a78c3a0804d67)
|
|
23
14
|
|
|
24
15
|
### BREAKING CHANGE
|
|
16
|
+
This package has been transformed to ES Modules. Therefore it no longer provides a CommonJS export.
|
|
17
|
+
If your project uses CommonJS, it needs to be converted to ESM or use a dynamic import.
|
|
18
|
+
|
|
19
|
+
For more information see also:
|
|
20
|
+
|
|
21
|
+
- https://sap.github.io/ui5-tooling/updates/migrate-v3/
|
|
22
|
+
- https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
|
|
25
23
|
|
|
26
24
|
This removes the "/proxy" endpoint and the corresponding
|
|
27
25
|
"connectUi5Proxy" middleware from the standard ui5-server.
|
|
@@ -34,68 +32,22 @@ in the form of custom middleware extensions from the UI5-community.
|
|
|
34
32
|
The UI5 Team might provide a dedicated custom middleware extension,
|
|
35
33
|
with similar functionality, in the future.
|
|
36
34
|
|
|
35
|
+
- Server now requires a Project Graph instance instead.
|
|
36
|
+
- Standard middleware now rely on Project instances being available on Resources (see https://github.com/SAP/ui5-fs/pull/381)
|
|
37
|
+
- MiddlewareRepository#addMiddleware has been removed. Custom middleware need to be added to the project graph instead
|
|
37
38
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
### Dependency Updates
|
|
41
|
-
- Bump connect-openui5 from 0.10.2 to 0.10.3 [`90871f8`](https://github.com/SAP/ui5-server/commit/90871f89815501860616ffbdf8927824412ec909)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
<a name="v3.0.0-beta.3"></a>
|
|
45
|
-
## [v3.0.0-beta.3] - 2022-11-30
|
|
39
|
+
Support for older Node.js and npm releases has been dropped.
|
|
40
|
+
Only Node.js v16.18.0 and npm v8 or higher are supported.
|
|
46
41
|
|
|
47
|
-
<a name="v3.0.0-beta.2"></a>
|
|
48
|
-
## [v3.0.0-beta.2] - 2022-11-29
|
|
49
42
|
### Features
|
|
50
43
|
- **MiddlewareUtil:** Add getProject/getDependencies/resourceFactory API to interface ([#547](https://github.com/SAP/ui5-server/issues/547)) [`ab28f78`](https://github.com/SAP/ui5-server/commit/ab28f789ba929ef1319b6e562267e9717cc9937b)
|
|
51
44
|
|
|
52
45
|
|
|
53
|
-
<a name="
|
|
54
|
-
## [
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
## [v3.0.0-alpha.4] - 2022-10-24
|
|
58
|
-
### Breaking Changes
|
|
59
|
-
- Transform to native ESM ([#501](https://github.com/SAP/ui5-server/issues/501)) [`05e3013`](https://github.com/SAP/ui5-server/commit/05e3013605e28e9ab5a785aa57616473d40e5710)
|
|
60
|
-
|
|
61
|
-
### BREAKING CHANGE
|
|
62
|
-
|
|
63
|
-
This package has been transformed to native ESM. Therefore it no longer provides a CommonJS export.
|
|
64
|
-
If your project uses CommonJS, it needs to be converted to ESM or use a dynamic import.
|
|
65
|
-
|
|
66
|
-
For more information see also:
|
|
67
|
-
- https://sap.github.io/ui5-tooling/updates/migrate-v3/
|
|
68
|
-
- https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
<a name="v3.0.0-alpha.3"></a>
|
|
72
|
-
## [v3.0.0-alpha.3] - 2022-07-27
|
|
73
|
-
|
|
74
|
-
<a name="v3.0.0-alpha.2"></a>
|
|
75
|
-
## [v3.0.0-alpha.2] - 2022-06-14
|
|
76
|
-
### Breaking Changes
|
|
77
|
-
- Require Project Graph ([#479](https://github.com/SAP/ui5-server/issues/479)) [`d62f85a`](https://github.com/SAP/ui5-server/commit/d62f85a193115a587dbf58225e8130318a475023)
|
|
78
|
-
|
|
79
|
-
### BREAKING CHANGE
|
|
80
|
-
|
|
81
|
-
* Server now requires a Project Graph instance instead.
|
|
82
|
-
* Standard middleware now rely on Project instances being available on Resources (see https://github.com/SAP/ui5-fs/pull/381)
|
|
83
|
-
* MiddlewareRepository#addMiddleware has been removed. Custom middleware need to be added to the project graph instead
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
<a name="v3.0.0-alpha.1"></a>
|
|
87
|
-
## [v3.0.0-alpha.1] - 2022-01-25
|
|
88
|
-
### Breaking Changes
|
|
89
|
-
- Require Node.js >= 16.13.2 / npm >= 8 [`63d216a`](https://github.com/SAP/ui5-server/commit/63d216a3ba34e8e50acc6621d43a78c3a0804d67)
|
|
90
|
-
|
|
91
|
-
### BREAKING CHANGE
|
|
92
|
-
|
|
93
|
-
Support for older Node.js and npm releases has been dropped.
|
|
94
|
-
Only Node.js v16.13.2 and npm v8 or higher are supported.
|
|
95
|
-
|
|
46
|
+
<a name="v2.4.1"></a>
|
|
47
|
+
## [v2.4.1] - 2022-11-30
|
|
48
|
+
### Dependency Updates
|
|
49
|
+
- Bump connect-openui5 from 0.10.2 to 0.10.3 [`20b6fc8`](https://github.com/SAP/ui5-server/commit/20b6fc8fbad69265bae3e8f7efd320f6297ac4c4)
|
|
96
50
|
|
|
97
|
-
<a name="v3.0.0-alpha.0"></a>
|
|
98
|
-
## [v3.0.0-alpha.0] - 2021-12-14
|
|
99
51
|
|
|
100
52
|
<a name="v2.4.0"></a>
|
|
101
53
|
## [v2.4.0] - 2021-10-19
|
|
@@ -131,7 +83,7 @@ Only Node.js v16.13.2 and npm v8 or higher are supported.
|
|
|
131
83
|
## [v2.2.6] - 2020-10-22
|
|
132
84
|
### Bug Fixes
|
|
133
85
|
- Improve parallel theme request handling [`88bc0d6`](https://github.com/SAP/ui5-server/commit/88bc0d6d4e5ca8bb191029335451713579360e1c)
|
|
134
|
-
- **nonReadRequests middleware:** Use
|
|
86
|
+
- **nonReadRequests middleware:** Use response API [`2d2325f`](https://github.com/SAP/ui5-server/commit/2d2325f638820d25738ddbd56afe0d104e37f2e0)
|
|
135
87
|
|
|
136
88
|
|
|
137
89
|
<a name="v2.2.5"></a>
|
|
@@ -180,7 +132,7 @@ Only Node.js v16.13.2 and npm v8 or higher are supported.
|
|
|
180
132
|
<a name="v2.0.2"></a>
|
|
181
133
|
## [v2.0.2] - 2020-04-30
|
|
182
134
|
### Bug Fixes
|
|
183
|
-
- **CSP Middleware:** Use
|
|
135
|
+
- **CSP Middleware:** Use res.getHeader/setHeader methods ([#312](https://github.com/SAP/ui5-server/issues/312)) [`c53525c`](https://github.com/SAP/ui5-server/commit/c53525ca4bb5825d241d0f137ce3912d681e6548)
|
|
184
136
|
|
|
185
137
|
|
|
186
138
|
<a name="v2.0.1"></a>
|
|
@@ -338,20 +290,8 @@ Only Node.js v10 or higher is supported.
|
|
|
338
290
|
|
|
339
291
|
<a name="v0.0.1"></a>
|
|
340
292
|
## v0.0.1 - 2018-06-06
|
|
341
|
-
|
|
342
|
-
[
|
|
343
|
-
[v3.0.0-rc.2]: https://github.com/SAP/ui5-server/compare/v3.0.0-rc.1...v3.0.0-rc.2
|
|
344
|
-
[v3.0.0-rc.1]: https://github.com/SAP/ui5-server/compare/v3.0.0-rc.0...v3.0.0-rc.1
|
|
345
|
-
[v3.0.0-rc.0]: https://github.com/SAP/ui5-server/compare/v3.0.0-beta.4...v3.0.0-rc.0
|
|
346
|
-
[v3.0.0-beta.4]: https://github.com/SAP/ui5-server/compare/v3.0.0-beta.3...v3.0.0-beta.4
|
|
347
|
-
[v3.0.0-beta.3]: https://github.com/SAP/ui5-server/compare/v3.0.0-beta.2...v3.0.0-beta.3
|
|
348
|
-
[v3.0.0-beta.2]: https://github.com/SAP/ui5-server/compare/v3.0.0-beta.1...v3.0.0-beta.2
|
|
349
|
-
[v3.0.0-beta.1]: https://github.com/SAP/ui5-server/compare/v3.0.0-alpha.4...v3.0.0-beta.1
|
|
350
|
-
[v3.0.0-alpha.4]: https://github.com/SAP/ui5-server/compare/v3.0.0-alpha.3...v3.0.0-alpha.4
|
|
351
|
-
[v3.0.0-alpha.3]: https://github.com/SAP/ui5-server/compare/v3.0.0-alpha.2...v3.0.0-alpha.3
|
|
352
|
-
[v3.0.0-alpha.2]: https://github.com/SAP/ui5-server/compare/v3.0.0-alpha.1...v3.0.0-alpha.2
|
|
353
|
-
[v3.0.0-alpha.1]: https://github.com/SAP/ui5-server/compare/v3.0.0-alpha.0...v3.0.0-alpha.1
|
|
354
|
-
[v3.0.0-alpha.0]: https://github.com/SAP/ui5-server/compare/v2.4.0...v3.0.0-alpha.0
|
|
293
|
+
[v3.0.0]: https://github.com/SAP/ui5-server/compare/v2.4.0...v3.0.0
|
|
294
|
+
[v2.4.1]: https://github.com/SAP/ui5-server/compare/v2.4.0...v2.4.1
|
|
355
295
|
[v2.4.0]: https://github.com/SAP/ui5-server/compare/v2.3.1...v2.4.0
|
|
356
296
|
[v2.3.1]: https://github.com/SAP/ui5-server/compare/v2.3.0...v2.3.1
|
|
357
297
|
[v2.3.0]: https://github.com/SAP/ui5-server/compare/v2.2.10...v2.3.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/server",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "UI5 Tooling - Server",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SAP SE",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"jsdoc-generate": "jsdoc -c ./jsdoc.json -t $(node -p 'path.dirname(require.resolve(\"docdash\"))') ./lib/ || (echo 'Error during JSDoc generation! Check log.' && exit 1)",
|
|
44
44
|
"jsdoc-watch": "npm run jsdoc && chokidar \"./lib/**/*.js\" -c \"npm run jsdoc-generate\"",
|
|
45
45
|
"preversion": "npm test",
|
|
46
|
-
"version": "git-chglog --sort semver --next-tag v$npm_package_version -o CHANGELOG.md && git add CHANGELOG.md",
|
|
46
|
+
"version": "git-chglog --sort semver --next-tag v$npm_package_version -o CHANGELOG.md v3.0.0.. && git add CHANGELOG.md",
|
|
47
47
|
"postversion": "git push --follow-tags",
|
|
48
48
|
"release-note": "git-chglog --sort semver -c .chglog/release-config.yml v$npm_package_version",
|
|
49
49
|
"depcheck": "depcheck --ignores @ui5/server,docdash,compression,cors,@istanbuljs/esm-loader-hook --parsers='**/*.js:es6,**/*.cjs:es6'"
|
|
@@ -114,9 +114,9 @@
|
|
|
114
114
|
"url": "git@github.com:SAP/ui5-server.git"
|
|
115
115
|
},
|
|
116
116
|
"dependencies": {
|
|
117
|
-
"@ui5/builder": "^3.0.0
|
|
118
|
-
"@ui5/fs": "^3.0.0
|
|
119
|
-
"@ui5/logger": "^3.0.
|
|
117
|
+
"@ui5/builder": "^3.0.0",
|
|
118
|
+
"@ui5/fs": "^3.0.0",
|
|
119
|
+
"@ui5/logger": "^3.0.0",
|
|
120
120
|
"body-parser": "^1.20.1",
|
|
121
121
|
"compression": "^1.7.4",
|
|
122
122
|
"cors": "^2.8.5",
|
|
@@ -136,8 +136,8 @@
|
|
|
136
136
|
},
|
|
137
137
|
"devDependencies": {
|
|
138
138
|
"@istanbuljs/esm-loader-hook": "^0.2.0",
|
|
139
|
-
"@ui5/project": "^3.0.0-rc.
|
|
140
|
-
"ava": "^5.
|
|
139
|
+
"@ui5/project": "^3.0.0-rc.9",
|
|
140
|
+
"ava": "^5.2.0",
|
|
141
141
|
"chokidar-cli": "^3.0.0",
|
|
142
142
|
"cross-env": "^7.0.3",
|
|
143
143
|
"depcheck": "^1.4.3",
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
"eslint-plugin-ava": "^14.0.0",
|
|
148
148
|
"eslint-plugin-jsdoc": "^39.8.0",
|
|
149
149
|
"esmock": "^2.1.0",
|
|
150
|
-
"jsdoc": "^
|
|
150
|
+
"jsdoc": "^4.0.0",
|
|
151
151
|
"nyc": "^15.1.0",
|
|
152
152
|
"open-cli": "^7.1.0",
|
|
153
153
|
"rimraf": "^4.1.2",
|