@backstage/plugin-events-backend 0.0.0-nightly-20221122023840 → 0.0.0-nightly-20221123023445
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 +40 -5
- package/alpha/package.json +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @backstage/plugin-events-backend
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20221123023445
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -30,10 +30,45 @@
|
|
|
30
30
|
**BREAKING:** Replace `request: Request` with `request: RequestDetails` at `RequestValidator`.
|
|
31
31
|
|
|
32
32
|
- Updated dependencies
|
|
33
|
-
- @backstage/
|
|
34
|
-
- @backstage/
|
|
35
|
-
- @backstage/backend-plugin-api@0.0.0-nightly-
|
|
36
|
-
- @backstage/config@0.0.0-nightly-
|
|
33
|
+
- @backstage/backend-common@0.0.0-nightly-20221123023445
|
|
34
|
+
- @backstage/plugin-events-node@0.0.0-nightly-20221123023445
|
|
35
|
+
- @backstage/backend-plugin-api@0.0.0-nightly-20221123023445
|
|
36
|
+
- @backstage/config@0.0.0-nightly-20221123023445
|
|
37
|
+
|
|
38
|
+
## 0.2.0-next.0
|
|
39
|
+
|
|
40
|
+
### Minor Changes
|
|
41
|
+
|
|
42
|
+
- cf41eedf43: **BREAKING:** Remove required field `router` at `HttpPostIngressEventPublisher.fromConfig`
|
|
43
|
+
and replace it with `bind(router: Router)`.
|
|
44
|
+
Additionally, the path prefix `/http` will be added inside `HttpPostIngressEventPublisher`.
|
|
45
|
+
|
|
46
|
+
```diff
|
|
47
|
+
// at packages/backend/src/plugins/events.ts
|
|
48
|
+
const eventsRouter = Router();
|
|
49
|
+
- const httpRouter = Router();
|
|
50
|
+
- eventsRouter.use('/http', httpRouter);
|
|
51
|
+
|
|
52
|
+
const http = HttpPostIngressEventPublisher.fromConfig({
|
|
53
|
+
config: env.config,
|
|
54
|
+
logger: env.logger,
|
|
55
|
+
- router: httpRouter,
|
|
56
|
+
});
|
|
57
|
+
+ http.bind(eventsRouter);
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Patch Changes
|
|
61
|
+
|
|
62
|
+
- cf41eedf43: Introduce a new interface `RequestDetails` to abstract `Request`
|
|
63
|
+
providing access to request body and headers.
|
|
64
|
+
|
|
65
|
+
**BREAKING:** Replace `request: Request` with `request: RequestDetails` at `RequestValidator`.
|
|
66
|
+
|
|
67
|
+
- Updated dependencies
|
|
68
|
+
- @backstage/plugin-events-node@0.2.0-next.0
|
|
69
|
+
- @backstage/backend-common@0.16.1-next.0
|
|
70
|
+
- @backstage/backend-plugin-api@0.1.5-next.0
|
|
71
|
+
- @backstage/config@1.0.5-next.0
|
|
37
72
|
|
|
38
73
|
## 0.1.0
|
|
39
74
|
|
package/alpha/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-events-backend",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20221123023445",
|
|
4
4
|
"main": "dist/index.cjs.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,20 +23,20 @@
|
|
|
23
23
|
"postpack": "backstage-cli package postpack"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@backstage/backend-common": "^0.0.0-nightly-
|
|
27
|
-
"@backstage/backend-plugin-api": "^0.0.0-nightly-
|
|
28
|
-
"@backstage/config": "^0.0.0-nightly-
|
|
29
|
-
"@backstage/plugin-events-node": "^0.0.0-nightly-
|
|
26
|
+
"@backstage/backend-common": "^0.0.0-nightly-20221123023445",
|
|
27
|
+
"@backstage/backend-plugin-api": "^0.0.0-nightly-20221123023445",
|
|
28
|
+
"@backstage/config": "^0.0.0-nightly-20221123023445",
|
|
29
|
+
"@backstage/plugin-events-node": "^0.0.0-nightly-20221123023445",
|
|
30
30
|
"@types/express": "^4.17.6",
|
|
31
31
|
"express": "^4.17.1",
|
|
32
32
|
"express-promise-router": "^4.1.0",
|
|
33
33
|
"winston": "^3.2.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@backstage/backend-common": "^0.0.0-nightly-
|
|
37
|
-
"@backstage/backend-test-utils": "^0.0.0-nightly-
|
|
38
|
-
"@backstage/cli": "^0.0.0-nightly-
|
|
39
|
-
"@backstage/plugin-events-backend-test-utils": "^0.0.0-nightly-
|
|
36
|
+
"@backstage/backend-common": "^0.0.0-nightly-20221123023445",
|
|
37
|
+
"@backstage/backend-test-utils": "^0.0.0-nightly-20221123023445",
|
|
38
|
+
"@backstage/cli": "^0.0.0-nightly-20221123023445",
|
|
39
|
+
"@backstage/plugin-events-backend-test-utils": "^0.0.0-nightly-20221123023445",
|
|
40
40
|
"supertest": "^6.1.3"
|
|
41
41
|
},
|
|
42
42
|
"files": [
|