@backstage/plugin-events-backend 0.3.13-next.0 → 0.3.13
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 +32 -0
- package/README.md +1 -1
- package/alpha/package.json +1 -1
- package/dist/alpha.cjs.js +3 -986
- package/dist/alpha.cjs.js.map +1 -1
- package/dist/alpha.d.ts +3 -7
- package/dist/index.cjs.js +9 -61
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +10 -2
- package/dist/schema/openapi.generated.cjs.js +272 -0
- package/dist/schema/openapi.generated.cjs.js.map +1 -0
- package/dist/service/DefaultEventBroker.cjs.js +32 -0
- package/dist/service/DefaultEventBroker.cjs.js.map +1 -0
- package/dist/service/EventsBackend.cjs.js +36 -0
- package/dist/service/EventsBackend.cjs.js.map +1 -0
- package/dist/service/EventsPlugin.cjs.js +98 -0
- package/dist/service/EventsPlugin.cjs.js.map +1 -0
- package/dist/{cjs/HttpPostIngressEventPublisher-D6pQ6awS.cjs.js → service/http/HttpPostIngressEventPublisher.cjs.js} +3 -18
- package/dist/service/http/HttpPostIngressEventPublisher.cjs.js.map +1 -0
- package/dist/service/http/validation/RequestValidationContextImpl.cjs.js +20 -0
- package/dist/service/http/validation/RequestValidationContextImpl.cjs.js.map +1 -0
- package/dist/service/hub/DatabaseEventBusStore.cjs.js +410 -0
- package/dist/service/hub/DatabaseEventBusStore.cjs.js.map +1 -0
- package/dist/service/hub/MemoryEventBusStore.cjs.js +106 -0
- package/dist/service/hub/MemoryEventBusStore.cjs.js.map +1 -0
- package/dist/service/hub/createEventBusRouter.cjs.js +130 -0
- package/dist/service/hub/createEventBusRouter.cjs.js.map +1 -0
- package/package.json +11 -10
- package/dist/cjs/HttpPostIngressEventPublisher-D6pQ6awS.cjs.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @backstage/plugin-events-backend
|
|
2
2
|
|
|
3
|
+
## 0.3.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 094eaa3: Remove references to in-repo backend-common
|
|
8
|
+
- 3109c24: The export for the new backend system at the `/alpha` export is now also available via the main entry point, which means that you can remove the `/alpha` suffix from the import.
|
|
9
|
+
- 5c728ee: The events backend now has its own built-in event bus for distributing events across multiple backend instances. It exposes a new HTTP API under `/bus/v1/` for publishing and reading events from the bus, as well as its own storage and notification mechanism for events.
|
|
10
|
+
|
|
11
|
+
The backing event store for the bus only supports scaled deployment if PostgreSQL is used as the DBMS. If SQLite or MySQL is used, the event bus will fall back to an in-memory store that does not support multiple backend instances.
|
|
12
|
+
|
|
13
|
+
The default `EventsService` implementation from `@backstage/plugin-events-node` has also been updated to use the new events bus.
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
- @backstage/plugin-events-node@0.4.1
|
|
17
|
+
- @backstage/backend-openapi-utils@0.2.0
|
|
18
|
+
- @backstage/backend-plugin-api@1.0.1
|
|
19
|
+
- @backstage/config@1.2.0
|
|
20
|
+
- @backstage/errors@1.2.4
|
|
21
|
+
- @backstage/types@1.1.1
|
|
22
|
+
|
|
23
|
+
## 0.3.13-next.1
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
- @backstage/backend-openapi-utils@0.2.0-next.1
|
|
29
|
+
- @backstage/backend-plugin-api@1.0.1-next.1
|
|
30
|
+
- @backstage/config@1.2.0
|
|
31
|
+
- @backstage/errors@1.2.4
|
|
32
|
+
- @backstage/types@1.1.1
|
|
33
|
+
- @backstage/plugin-events-node@0.4.1-next.1
|
|
34
|
+
|
|
3
35
|
## 0.3.13-next.0
|
|
4
36
|
|
|
5
37
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ yarn --cwd packages/backend add @backstage/plugin-events-backend
|
|
|
23
23
|
|
|
24
24
|
```ts
|
|
25
25
|
// packages/backend/src/index.ts
|
|
26
|
-
backend.add(import('@backstage/plugin-events-backend
|
|
26
|
+
backend.add(import('@backstage/plugin-events-backend'));
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
### Legacy Backend System
|