@ui5/server 2.3.0 → 3.0.0-alpha.1
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/jsdoc.json +0 -1
- package/lib/middleware/MiddlewareManager.js +2 -1
- package/lib/middleware/MiddlewareUtil.js +2 -0
- package/lib/middleware/versionInfo.js +56 -29
- package/package.json +19 -19
- package/CHANGELOG.md +0 -276
package/jsdoc.json
CHANGED
|
@@ -244,7 +244,8 @@ class MiddlewareManager {
|
|
|
244
244
|
if (
|
|
245
245
|
specVersion === "2.0" || specVersion === "2.1" ||
|
|
246
246
|
specVersion === "2.2" || specVersion === "2.3" ||
|
|
247
|
-
specVersion === "2.4"
|
|
247
|
+
specVersion === "2.4" || specVersion === "2.5" ||
|
|
248
|
+
specVersion === "2.6"
|
|
248
249
|
) {
|
|
249
250
|
// Supply interface to MiddlewareUtil instance starting with specVersion 2.0
|
|
250
251
|
params.middlewareUtil = middlewareUtil.getInterface(specVersion);
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
const createVersionInfoProcessor = require("@ui5/builder").processors.versionInfoGenerator;
|
|
2
|
+
const createManifestProcessor = require("@ui5/builder").processors.manifestCreator;
|
|
3
|
+
|
|
4
|
+
const MANIFEST_JSON = "manifest.json";
|
|
2
5
|
|
|
3
6
|
/**
|
|
4
7
|
* Creates and returns the middleware to create the version info as json object.
|
|
@@ -10,37 +13,61 @@ const createVersionInfoProcessor = require("@ui5/builder").processors.versionInf
|
|
|
10
13
|
* @returns {Function} Returns a server middleware closure.
|
|
11
14
|
*/
|
|
12
15
|
function createMiddleware({resources, tree: project}) {
|
|
13
|
-
return function versionInfo(req, res, next) {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
return
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
28
|
-
})
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
})
|
|
32
|
-
.then(([versionInfoResource]) => {
|
|
33
|
-
return versionInfoResource.getBuffer();
|
|
34
|
-
})
|
|
35
|
-
.then((versionInfoContent) => {
|
|
36
|
-
res.writeHead(200, {
|
|
37
|
-
"Content-Type": "application/json"
|
|
16
|
+
return async function versionInfo(req, res, next) {
|
|
17
|
+
try {
|
|
18
|
+
const dependencies = resources.dependencies;
|
|
19
|
+
const dotLibResources = await dependencies.byGlob("/resources/**/.library");
|
|
20
|
+
|
|
21
|
+
dotLibResources.sort((a, b) => {
|
|
22
|
+
return a._project.metadata.name.localeCompare(b._project.metadata.name);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
const libraryInfosPromises = dotLibResources.map(async (dotLibResource) => {
|
|
26
|
+
const namespace = dotLibResource._project.metadata.namespace;
|
|
27
|
+
const manifestResources = await dependencies.byGlob(`/resources/${namespace}/**/${MANIFEST_JSON}`);
|
|
28
|
+
let libraryManifest = manifestResources.find((manifestResource) => {
|
|
29
|
+
return manifestResource.getPath() === `/resources/${namespace}/${MANIFEST_JSON}`;
|
|
38
30
|
});
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
31
|
+
const embeddedManifests =
|
|
32
|
+
manifestResources.filter((manifestResource) => manifestResource !== libraryManifest);
|
|
33
|
+
if (!libraryManifest) {
|
|
34
|
+
const extensions = "js,json,library,less,css,theming,theme,properties";
|
|
35
|
+
const libResources = await dependencies.byGlob(`/resources/${namespace}/**/*.{${extensions}}`);
|
|
36
|
+
|
|
37
|
+
libraryManifest = await createManifestProcessor({
|
|
38
|
+
libraryResource: dotLibResource,
|
|
39
|
+
namespace,
|
|
40
|
+
resources: libResources,
|
|
41
|
+
options: {
|
|
42
|
+
omitMinVersions: true
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
libraryManifest,
|
|
48
|
+
embeddedManifests,
|
|
49
|
+
name: dotLibResource._project.metadata.name,
|
|
50
|
+
version: dotLibResource._project.version
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
const libraryInfos = await Promise.all(libraryInfosPromises);
|
|
54
|
+
|
|
55
|
+
const [versionInfoResource] = await createVersionInfoProcessor({
|
|
56
|
+
options: {
|
|
57
|
+
rootProjectName: project.metadata.name,
|
|
58
|
+
rootProjectVersion: project.version,
|
|
59
|
+
libraryInfos
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
const versionInfoContent = await versionInfoResource.getBuffer();
|
|
63
|
+
|
|
64
|
+
res.writeHead(200, {
|
|
65
|
+
"Content-Type": "application/json"
|
|
43
66
|
});
|
|
67
|
+
res.end(versionInfoContent.toString());
|
|
68
|
+
} catch (err) {
|
|
69
|
+
next(err);
|
|
70
|
+
}
|
|
44
71
|
};
|
|
45
72
|
}
|
|
46
73
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/server",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-alpha.1",
|
|
4
4
|
"description": "UI5 Tooling - Server",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SAP SE",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
],
|
|
19
19
|
"main": "index.js",
|
|
20
20
|
"engines": {
|
|
21
|
-
"node": ">=
|
|
22
|
-
"npm": ">=
|
|
21
|
+
"node": ">= 16.13.2",
|
|
22
|
+
"npm": ">= 8"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"test": "npm run lint && npm run jsdoc-generate && npm run coverage && npm run depcheck",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"coverage": "nyc npm run unit",
|
|
35
35
|
"coverage-xunit": "nyc --reporter=text --reporter=text-summary --reporter=cobertura npm run unit-xunit",
|
|
36
36
|
"jsdoc": "npm run jsdoc-generate && open-cli jsdocs/index.html",
|
|
37
|
-
"jsdoc-generate": "
|
|
37
|
+
"jsdoc-generate": "jsdoc -c ./jsdoc.json -t $(node -p 'path.dirname(require.resolve(\"docdash\"))') ./lib/ || (echo 'Error during JSDoc generation! Check log.' && exit 1)",
|
|
38
38
|
"jsdoc-watch": "npm run jsdoc && chokidar \"./lib/**/*.js\" -c \"npm run jsdoc-generate\"",
|
|
39
39
|
"preversion": "npm test",
|
|
40
40
|
"version": "git-chglog --next-tag v$npm_package_version -o CHANGELOG.md && git add CHANGELOG.md",
|
|
@@ -104,46 +104,46 @@
|
|
|
104
104
|
"url": "git@github.com:SAP/ui5-server.git"
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
|
-
"@ui5/builder": "^
|
|
108
|
-
"@ui5/fs": "^
|
|
109
|
-
"@ui5/logger": "^
|
|
110
|
-
"body-parser": "^1.19.
|
|
107
|
+
"@ui5/builder": "^3.0.0-alpha.1",
|
|
108
|
+
"@ui5/fs": "^3.0.0-alpha.2",
|
|
109
|
+
"@ui5/logger": "^3.0.1-alpha.1",
|
|
110
|
+
"body-parser": "^1.19.1",
|
|
111
111
|
"compression": "^1.7.4",
|
|
112
112
|
"connect-openui5": "^0.10.2",
|
|
113
113
|
"cors": "^2.8.5",
|
|
114
114
|
"devcert-sanscache": "^0.4.8",
|
|
115
115
|
"escape-html": "^1.0.3",
|
|
116
116
|
"etag": "^1.8.1",
|
|
117
|
-
"express": "^4.17.
|
|
117
|
+
"express": "^4.17.2",
|
|
118
118
|
"fresh": "^0.5.2",
|
|
119
|
-
"graceful-fs": "^4.2.
|
|
119
|
+
"graceful-fs": "^4.2.9",
|
|
120
120
|
"make-dir": "^3.1.0",
|
|
121
|
-
"mime-types": "^2.1.
|
|
121
|
+
"mime-types": "^2.1.34",
|
|
122
122
|
"parseurl": "^1.3.3",
|
|
123
123
|
"portscanner": "^2.1.1",
|
|
124
124
|
"replacestream": "^4.0.3",
|
|
125
|
-
"router": "^1.3.
|
|
125
|
+
"router": "^1.3.6",
|
|
126
126
|
"spdy": "^4.0.2",
|
|
127
127
|
"treeify": "^1.0.1",
|
|
128
128
|
"yesno": "^0.3.1"
|
|
129
129
|
},
|
|
130
130
|
"devDependencies": {
|
|
131
|
-
"@ui5/project": "^
|
|
131
|
+
"@ui5/project": "^3.0.0-alpha.0",
|
|
132
132
|
"ava": "^3.15.0",
|
|
133
|
-
"chokidar-cli": "^
|
|
133
|
+
"chokidar-cli": "^3.0.0",
|
|
134
134
|
"cross-env": "^7.0.3",
|
|
135
|
-
"depcheck": "^1.4.
|
|
135
|
+
"depcheck": "^1.4.3",
|
|
136
136
|
"docdash": "^1.2.0",
|
|
137
|
-
"eslint": "^7.
|
|
137
|
+
"eslint": "^8.7.0",
|
|
138
138
|
"eslint-config-google": "^0.14.0",
|
|
139
|
-
"eslint-plugin-jsdoc": "^
|
|
139
|
+
"eslint-plugin-jsdoc": "^37.6.3",
|
|
140
140
|
"jsdoc": "^3.6.7",
|
|
141
141
|
"mock-require": "^3.0.3",
|
|
142
142
|
"nyc": "^15.1.0",
|
|
143
143
|
"open-cli": "^6.0.1",
|
|
144
144
|
"rimraf": "^3.0.2",
|
|
145
|
-
"sinon": "^11.1.
|
|
146
|
-
"supertest": "^6.1
|
|
145
|
+
"sinon": "^11.1.2",
|
|
146
|
+
"supertest": "^6.2.1",
|
|
147
147
|
"tap-nyan": "^1.1.0",
|
|
148
148
|
"tap-xunit": "^2.4.1"
|
|
149
149
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,276 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
All notable changes to this project will be documented in this file.
|
|
3
|
-
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
4
|
-
|
|
5
|
-
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-server/compare/v2.3.0...HEAD).
|
|
6
|
-
|
|
7
|
-
<a name="v2.3.0"></a>
|
|
8
|
-
## [v2.3.0] - 2021-07-01
|
|
9
|
-
### Features
|
|
10
|
-
- **server:** Expose configuration options for SAP CSP policies [`55d6a96`](https://github.com/SAP/ui5-server/commit/55d6a96cc1a3c762af8173d9fb9588fe742a302d)
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<a name="v2.2.10"></a>
|
|
14
|
-
## [v2.2.10] - 2021-06-01
|
|
15
|
-
|
|
16
|
-
<a name="v2.2.9"></a>
|
|
17
|
-
## [v2.2.9] - 2021-03-11
|
|
18
|
-
### Dependency Updates
|
|
19
|
-
- Bump connect-openui5 from 0.10.1 to 0.10.2 [`849957d`](https://github.com/SAP/ui5-server/commit/849957d39a45c22c5c94f787d66eeccc58eb4d2d)
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
<a name="v2.2.8"></a>
|
|
23
|
-
## [v2.2.8] - 2021-02-09
|
|
24
|
-
|
|
25
|
-
<a name="v2.2.7"></a>
|
|
26
|
-
## [v2.2.7] - 2020-11-06
|
|
27
|
-
|
|
28
|
-
<a name="v2.2.6"></a>
|
|
29
|
-
## [v2.2.6] - 2020-10-22
|
|
30
|
-
### Bug Fixes
|
|
31
|
-
- Improve parallel theme request handling [`88bc0d6`](https://github.com/SAP/ui5-server/commit/88bc0d6d4e5ca8bb191029335451713579360e1c)
|
|
32
|
-
- **nonReadRequests middleware:** Use native response API [`2d2325f`](https://github.com/SAP/ui5-server/commit/2d2325f638820d25738ddbd56afe0d104e37f2e0)
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<a name="v2.2.5"></a>
|
|
36
|
-
## [v2.2.5] - 2020-10-06
|
|
37
|
-
### Bug Fixes
|
|
38
|
-
- Discovery middleware shouldn't fail when lib names overlap ([#362](https://github.com/SAP/ui5-server/issues/362)) [`f5067ce`](https://github.com/SAP/ui5-server/commit/f5067ce38b89442948ce096e5d89651e8970bdb9)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<a name="v2.2.4"></a>
|
|
42
|
-
## [v2.2.4] - 2020-09-10
|
|
43
|
-
|
|
44
|
-
<a name="v2.2.3"></a>
|
|
45
|
-
## [v2.2.3] - 2020-09-02
|
|
46
|
-
### Bug Fixes
|
|
47
|
-
- **middleware/testRunner:** Update resources from OpenUI5 [`55b1fe7`](https://github.com/SAP/ui5-server/commit/55b1fe742be29b176e55985a0315dcead684d257)
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
<a name="v2.2.2"></a>
|
|
51
|
-
## [v2.2.2] - 2020-08-11
|
|
52
|
-
|
|
53
|
-
<a name="v2.2.1"></a>
|
|
54
|
-
## [v2.2.1] - 2020-07-14
|
|
55
|
-
### Bug Fixes
|
|
56
|
-
- **MiddlewareManager:** Provide MiddlewareUtil to custom middleware using specVersion 2.1 [`3e249fa`](https://github.com/SAP/ui5-server/commit/3e249fa4333fb6afa0e512201959bfcbcee196d0)
|
|
57
|
-
- **Node.js API:** TypeScript type definition support ([#334](https://github.com/SAP/ui5-server/issues/334)) [`b66f9cc`](https://github.com/SAP/ui5-server/commit/b66f9cc10b35b2997f5e9b3840ef92dd504c8a33)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
<a name="v2.2.0"></a>
|
|
61
|
-
## [v2.2.0] - 2020-07-01
|
|
62
|
-
### Bug Fixes
|
|
63
|
-
- **MiddlewareManager:** Update SAP Target CSP Policies [`269c22c`](https://github.com/SAP/ui5-server/commit/269c22c80a6682a3d680c47e768f69a20ecabcd0)
|
|
64
|
-
|
|
65
|
-
### Features
|
|
66
|
-
- **CSP:** Add ignorePaths option ([#331](https://github.com/SAP/ui5-server/issues/331)) [`27a962e`](https://github.com/SAP/ui5-server/commit/27a962eb80fd7de95c6076f7d307e0dd06dac057)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
<a name="v2.1.0"></a>
|
|
70
|
-
## [v2.1.0] - 2020-06-15
|
|
71
|
-
### Features
|
|
72
|
-
- **csp:** enable tracking and serving of csp reports ([#323](https://github.com/SAP/ui5-server/issues/323)) [`e0a0c5e`](https://github.com/SAP/ui5-server/commit/e0a0c5e022c2c0041c6cf52631ef834cafe1f873)
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
<a name="v2.0.3"></a>
|
|
76
|
-
## [v2.0.3] - 2020-05-14
|
|
77
|
-
|
|
78
|
-
<a name="v2.0.2"></a>
|
|
79
|
-
## [v2.0.2] - 2020-04-30
|
|
80
|
-
### Bug Fixes
|
|
81
|
-
- **CSP Middleware:** Use native res.getHeader/setHeader methods ([#312](https://github.com/SAP/ui5-server/issues/312)) [`c53525c`](https://github.com/SAP/ui5-server/commit/c53525ca4bb5825d241d0f137ce3912d681e6548)
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
<a name="v2.0.1"></a>
|
|
85
|
-
## [v2.0.1] - 2020-04-15
|
|
86
|
-
### Dependency Updates
|
|
87
|
-
- Bump devcert-sanscache from 0.4.6 to 0.4.8 ([#306](https://github.com/SAP/ui5-server/issues/306)) [`2a9d517`](https://github.com/SAP/ui5-server/commit/2a9d51776e967362d959eef45ce9533a9a27650c)
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
<a name="v2.0.0"></a>
|
|
91
|
-
## [v2.0.0] - 2020-03-31
|
|
92
|
-
### Breaking Changes
|
|
93
|
-
- Require Node.js >= 10 [`a8c7a13`](https://github.com/SAP/ui5-server/commit/a8c7a13f68426012e5ff9cfddb365bb32c46f9dc)
|
|
94
|
-
- **serveResources middleware:** Expect *.properties files in UTF-8 by default [`af7f9ad`](https://github.com/SAP/ui5-server/commit/af7f9ad52aa834f63c163b99eb4fbc8d1bb05079)
|
|
95
|
-
|
|
96
|
-
### Bug Fixes
|
|
97
|
-
- Handle encoding in request paths correctly [`256b3f0`](https://github.com/SAP/ui5-server/commit/256b3f037880aad077b0158e3551e10ce8a3dbc7)
|
|
98
|
-
|
|
99
|
-
### Features
|
|
100
|
-
- Add MiddlewareUtil providing convenience functions to all middleware [`b8ab775`](https://github.com/SAP/ui5-server/commit/b8ab775039635a25109797b92fe34358057ea5e8)
|
|
101
|
-
- Add test runner middleware [`ea77e20`](https://github.com/SAP/ui5-server/commit/ea77e201e20545fca7494fc581aa42adbcb2c1d7)
|
|
102
|
-
|
|
103
|
-
### BREAKING CHANGE
|
|
104
|
-
|
|
105
|
-
If the project a "*.properties" resource originates from cannot be
|
|
106
|
-
determined, or if the project does not define a
|
|
107
|
-
propertiesFileSourceEncoding configuration or uses a legacy specVersion
|
|
108
|
-
(<2.0), the serveResources middleware assumes that the resource is UTF-8
|
|
109
|
-
encoded instead of ISO-8859-1.
|
|
110
|
-
|
|
111
|
-
Support for older Node.js releases has been dropped.
|
|
112
|
-
Only Node.js v10 or higher is supported.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
<a name="v1.6.0"></a>
|
|
116
|
-
## [v1.6.0] - 2020-02-24
|
|
117
|
-
### Bug Fixes
|
|
118
|
-
- **versionInfo:** Fix pattern to glob for .library files [`3621f78`](https://github.com/SAP/ui5-server/commit/3621f7868dec891f8746ca4b66cf43c4d5d9782b)
|
|
119
|
-
|
|
120
|
-
### Features
|
|
121
|
-
- **serveThemes:** Support experimental CSS variables and skeleton build ([#278](https://github.com/SAP/ui5-server/issues/278)) [`47d4b55`](https://github.com/SAP/ui5-server/commit/47d4b55986fd84ef85f4b42e9c91f16017183c16)
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
<a name="v1.5.4"></a>
|
|
125
|
-
## [v1.5.4] - 2020-02-10
|
|
126
|
-
### Bug Fixes
|
|
127
|
-
- Ensure proper handling of multi-byte characters in streams ([#280](https://github.com/SAP/ui5-server/issues/280)) [`fe652e4`](https://github.com/SAP/ui5-server/commit/fe652e410bd0eab506fc42036ad2cfa374fa5a6c)
|
|
128
|
-
- **serveIndex:** Add missing dependency to "graceful-fs" [`e09c472`](https://github.com/SAP/ui5-server/commit/e09c472eb20ed3d0b914c8b2e1d5f22bb8476dca)
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
<a name="v1.5.3"></a>
|
|
132
|
-
## [v1.5.3] - 2020-01-24
|
|
133
|
-
### Bug Fixes
|
|
134
|
-
- **sslUtils:** Fix Invalid Common Name error [`db06db7`](https://github.com/SAP/ui5-server/commit/db06db7a371ea7254c408f01cf231de9367c8b0d)
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
<a name="v1.5.2"></a>
|
|
138
|
-
## [v1.5.2] - 2019-12-16
|
|
139
|
-
### Bug Fixes
|
|
140
|
-
- Resolve ERR_CERT_REVOKED error for newly generated SSL certs [`f2e1522`](https://github.com/SAP/ui5-server/commit/f2e15229569e68990f63cd38849eb937d2ad9cb8)
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
<a name="v1.5.1"></a>
|
|
144
|
-
## [v1.5.1] - 2019-11-19
|
|
145
|
-
### Dependency Updates
|
|
146
|
-
- Bump connect-openui5 from 0.8.0 to 0.9.0 [`0c6d502`](https://github.com/SAP/ui5-server/commit/0c6d50263c4828f5070404ac9dfa337667b24371)
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
<a name="v1.5.0"></a>
|
|
150
|
-
## [v1.5.0] - 2019-11-07
|
|
151
|
-
### Features
|
|
152
|
-
- **serveIndex:** use serve-index for serving the application index [`d6ea507`](https://github.com/SAP/ui5-server/commit/d6ea507bdd649653a865f01d4e076caa4313639f)
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
<a name="v1.4.0"></a>
|
|
156
|
-
## [v1.4.0] - 2019-10-24
|
|
157
|
-
### Features
|
|
158
|
-
- **Custom Middleware Extensibility:** Allow multiple definitions of the same custom middleware ([#246](https://github.com/SAP/ui5-server/issues/246)) [`55a24ef`](https://github.com/SAP/ui5-server/commit/55a24ef134b01b43683bc21fb24b46d4e472232d)
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
<a name="v1.3.0"></a>
|
|
162
|
-
## [v1.3.0] - 2019-07-31
|
|
163
|
-
### Features
|
|
164
|
-
- Properties File Escaping ([#214](https://github.com/SAP/ui5-server/issues/214)) [`dd4844d`](https://github.com/SAP/ui5-server/commit/dd4844d53b787dc14bc5eecae2bc5674425200b7)
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
<a name="v1.2.0"></a>
|
|
168
|
-
## [v1.2.0] - 2019-07-10
|
|
169
|
-
### Features
|
|
170
|
-
- **Server:** Add handling for custom middleware ([#200](https://github.com/SAP/ui5-server/issues/200)) [`037b3bc`](https://github.com/SAP/ui5-server/commit/037b3bc001b86061c807e78584e69c53e89d8b96)
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
<a name="v1.1.3"></a>
|
|
174
|
-
## [v1.1.3] - 2019-06-24
|
|
175
|
-
### Bug Fixes
|
|
176
|
-
- **serveResources:** Correctly encode non UTF-8 resources [`1ee6723`](https://github.com/SAP/ui5-server/commit/1ee6723b5e5dac653c76a5078ee4afd6af96f8ac)
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
<a name="v1.1.2"></a>
|
|
180
|
-
## [v1.1.2] - 2019-06-03
|
|
181
|
-
### Bug Fixes
|
|
182
|
-
- **Middleware:** Allow usage without express server [`4d971b4`](https://github.com/SAP/ui5-server/commit/4d971b4babade56fef154dc4a7a524d6ffa8ad1b)
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
<a name="v1.1.1"></a>
|
|
186
|
-
## [v1.1.1] - 2019-05-13
|
|
187
|
-
### Bug Fixes
|
|
188
|
-
- Makes CSP middleware work in an environment without express server ([#184](https://github.com/SAP/ui5-server/issues/184)) [`c3089ad`](https://github.com/SAP/ui5-server/commit/c3089adeee030f4ace899c01944006583146e32e)
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
<a name="v1.1.0"></a>
|
|
192
|
-
## [v1.1.0] - 2019-04-25
|
|
193
|
-
### Dependency Updates
|
|
194
|
-
- Bump [@ui5](https://github.com/ui5)/fs from 1.0.1 to 1.0.2 ([#166](https://github.com/SAP/ui5-server/issues/166)) [`5ff4765`](https://github.com/SAP/ui5-server/commit/5ff476504254baf304c2cb9db83746438a10be92)
|
|
195
|
-
- Bump [@ui5](https://github.com/ui5)/logger from 1.0.0 to 1.0.1 ([#165](https://github.com/SAP/ui5-server/issues/165)) [`21be52a`](https://github.com/SAP/ui5-server/commit/21be52a109abd5096daefc54ce038a95bd437f6f)
|
|
196
|
-
- Bump [@ui5](https://github.com/ui5)/builder from 1.0.0 to 1.0.1 ([#126](https://github.com/SAP/ui5-server/issues/126)) [`e22c118`](https://github.com/SAP/ui5-server/commit/e22c1185e2e5fc718b50704b6a64a121413b3f93)
|
|
197
|
-
- Bump [@ui5](https://github.com/ui5)/fs from 1.0.0 to 1.0.1 [`255766a`](https://github.com/SAP/ui5-server/commit/255766a62981af2e5ef584015d2951d39189ef3a)
|
|
198
|
-
|
|
199
|
-
### Features
|
|
200
|
-
- Add Server Option to Send SAP's Target CSPs by default ([#179](https://github.com/SAP/ui5-server/issues/179)) [`4f05967`](https://github.com/SAP/ui5-server/commit/4f059670306c97ab5f34d82bb335f5ee21d73c72)
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
<a name="v1.0.0"></a>
|
|
204
|
-
## [v1.0.0] - 2019-01-10
|
|
205
|
-
### Dependency Updates
|
|
206
|
-
- Bump [@ui5](https://github.com/ui5)/project from 0.2.5 to 1.0.0 ([#109](https://github.com/SAP/ui5-server/issues/109)) [`84d31a5`](https://github.com/SAP/ui5-server/commit/84d31a5340f77fc6ec54e9c5829c8ad656b2adb1)
|
|
207
|
-
- Bump [@ui5](https://github.com/ui5)/builder from 0.2.9 to 1.0.0 ([#108](https://github.com/SAP/ui5-server/issues/108)) [`8e39375`](https://github.com/SAP/ui5-server/commit/8e393754f71efe14e9cd5daf345012f2b1d7926d)
|
|
208
|
-
- Bump [@ui5](https://github.com/ui5)/fs from 0.2.0 to 1.0.0 ([#107](https://github.com/SAP/ui5-server/issues/107)) [`93e39af`](https://github.com/SAP/ui5-server/commit/93e39afc3e728ff2e829865d7de3c635a43241f0)
|
|
209
|
-
- Bump [@ui5](https://github.com/ui5)/logger from 0.2.2 to 1.0.0 ([#106](https://github.com/SAP/ui5-server/issues/106)) [`3687ad6`](https://github.com/SAP/ui5-server/commit/3687ad6b224cf9c37359de30917bc711fe7b239a)
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
<a name="v0.2.2"></a>
|
|
213
|
-
## [v0.2.2] - 2018-10-29
|
|
214
|
-
|
|
215
|
-
<a name="v0.2.1"></a>
|
|
216
|
-
## [v0.2.1] - 2018-07-17
|
|
217
|
-
|
|
218
|
-
<a name="v0.2.0"></a>
|
|
219
|
-
## [v0.2.0] - 2018-07-12
|
|
220
|
-
|
|
221
|
-
<a name="v0.1.2"></a>
|
|
222
|
-
## [v0.1.2] - 2018-07-10
|
|
223
|
-
### Bug Fixes
|
|
224
|
-
- **CSP Middleware:** Export middleware, add report-uri [`2091c0c`](https://github.com/SAP/ui5-server/commit/2091c0cc093f9997c582e301ad52bbe74d4651d6)
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
<a name="v0.1.1"></a>
|
|
228
|
-
## [v0.1.1] - 2018-07-10
|
|
229
|
-
### Features
|
|
230
|
-
- simplistic serveIndex with additional properties [`fa04ee2`](https://github.com/SAP/ui5-server/commit/fa04ee227cf5d4af4a8ba5d4d3fa594cee417da0)
|
|
231
|
-
- Add CSP middleware ([#3](https://github.com/SAP/ui5-server/issues/3)) [`f9ec3ee`](https://github.com/SAP/ui5-server/commit/f9ec3eeb43708462c2d683a80beb1816beeddc92)
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
<a name="v0.1.0"></a>
|
|
235
|
-
## [v0.1.0] - 2018-06-26
|
|
236
|
-
|
|
237
|
-
<a name="v0.0.1"></a>
|
|
238
|
-
## v0.0.1 - 2018-06-06
|
|
239
|
-
|
|
240
|
-
[v2.3.0]: https://github.com/SAP/ui5-server/compare/v2.2.10...v2.3.0
|
|
241
|
-
[v2.2.10]: https://github.com/SAP/ui5-server/compare/v2.2.9...v2.2.10
|
|
242
|
-
[v2.2.9]: https://github.com/SAP/ui5-server/compare/v2.2.8...v2.2.9
|
|
243
|
-
[v2.2.8]: https://github.com/SAP/ui5-server/compare/v2.2.7...v2.2.8
|
|
244
|
-
[v2.2.7]: https://github.com/SAP/ui5-server/compare/v2.2.6...v2.2.7
|
|
245
|
-
[v2.2.6]: https://github.com/SAP/ui5-server/compare/v2.2.5...v2.2.6
|
|
246
|
-
[v2.2.5]: https://github.com/SAP/ui5-server/compare/v2.2.4...v2.2.5
|
|
247
|
-
[v2.2.4]: https://github.com/SAP/ui5-server/compare/v2.2.3...v2.2.4
|
|
248
|
-
[v2.2.3]: https://github.com/SAP/ui5-server/compare/v2.2.2...v2.2.3
|
|
249
|
-
[v2.2.2]: https://github.com/SAP/ui5-server/compare/v2.2.1...v2.2.2
|
|
250
|
-
[v2.2.1]: https://github.com/SAP/ui5-server/compare/v2.2.0...v2.2.1
|
|
251
|
-
[v2.2.0]: https://github.com/SAP/ui5-server/compare/v2.1.0...v2.2.0
|
|
252
|
-
[v2.1.0]: https://github.com/SAP/ui5-server/compare/v2.0.3...v2.1.0
|
|
253
|
-
[v2.0.3]: https://github.com/SAP/ui5-server/compare/v2.0.2...v2.0.3
|
|
254
|
-
[v2.0.2]: https://github.com/SAP/ui5-server/compare/v2.0.1...v2.0.2
|
|
255
|
-
[v2.0.1]: https://github.com/SAP/ui5-server/compare/v2.0.0...v2.0.1
|
|
256
|
-
[v2.0.0]: https://github.com/SAP/ui5-server/compare/v1.6.0...v2.0.0
|
|
257
|
-
[v1.6.0]: https://github.com/SAP/ui5-server/compare/v1.5.4...v1.6.0
|
|
258
|
-
[v1.5.4]: https://github.com/SAP/ui5-server/compare/v1.5.3...v1.5.4
|
|
259
|
-
[v1.5.3]: https://github.com/SAP/ui5-server/compare/v1.5.2...v1.5.3
|
|
260
|
-
[v1.5.2]: https://github.com/SAP/ui5-server/compare/v1.5.1...v1.5.2
|
|
261
|
-
[v1.5.1]: https://github.com/SAP/ui5-server/compare/v1.5.0...v1.5.1
|
|
262
|
-
[v1.5.0]: https://github.com/SAP/ui5-server/compare/v1.4.0...v1.5.0
|
|
263
|
-
[v1.4.0]: https://github.com/SAP/ui5-server/compare/v1.3.0...v1.4.0
|
|
264
|
-
[v1.3.0]: https://github.com/SAP/ui5-server/compare/v1.2.0...v1.3.0
|
|
265
|
-
[v1.2.0]: https://github.com/SAP/ui5-server/compare/v1.1.3...v1.2.0
|
|
266
|
-
[v1.1.3]: https://github.com/SAP/ui5-server/compare/v1.1.2...v1.1.3
|
|
267
|
-
[v1.1.2]: https://github.com/SAP/ui5-server/compare/v1.1.1...v1.1.2
|
|
268
|
-
[v1.1.1]: https://github.com/SAP/ui5-server/compare/v1.1.0...v1.1.1
|
|
269
|
-
[v1.1.0]: https://github.com/SAP/ui5-server/compare/v1.0.0...v1.1.0
|
|
270
|
-
[v1.0.0]: https://github.com/SAP/ui5-server/compare/v0.2.2...v1.0.0
|
|
271
|
-
[v0.2.2]: https://github.com/SAP/ui5-server/compare/v0.2.1...v0.2.2
|
|
272
|
-
[v0.2.1]: https://github.com/SAP/ui5-server/compare/v0.2.0...v0.2.1
|
|
273
|
-
[v0.2.0]: https://github.com/SAP/ui5-server/compare/v0.1.2...v0.2.0
|
|
274
|
-
[v0.1.2]: https://github.com/SAP/ui5-server/compare/v0.1.1...v0.1.2
|
|
275
|
-
[v0.1.1]: https://github.com/SAP/ui5-server/compare/v0.1.0...v0.1.1
|
|
276
|
-
[v0.1.0]: https://github.com/SAP/ui5-server/compare/v0.0.1...v0.1.0
|