@backstage/plugin-events-node 0.3.10 → 0.4.0-next.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/CHANGELOG.md +17 -2
- package/alpha/package.json +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,26 @@
|
|
|
1
1
|
# @backstage/plugin-events-node
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
3
|
+
## 0.4.0-next.1
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Updated dependencies
|
|
8
|
-
- @backstage/backend-plugin-api@0.
|
|
8
|
+
- @backstage/backend-plugin-api@0.9.0-next.1
|
|
9
|
+
|
|
10
|
+
## 0.4.0-next.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- d425fc4: **BREAKING**: The return values from `createBackendPlugin`, `createBackendModule`, and `createServiceFactory` are now simply `BackendFeature` and `ServiceFactory`, instead of the previously deprecated form of a function that returns them. For this reason, `createServiceFactory` also no longer accepts the callback form where you provide direct options to the service. This also affects all `coreServices.*` service refs.
|
|
15
|
+
|
|
16
|
+
This may in particular affect tests; if you were effectively doing `createBackendModule({...})()` (note the parentheses), you can now remove those extra parentheses at the end. You may encounter cases of this in your `packages/backend/src/index.ts` too, where you add plugins, modules, and services. If you were using `createServiceFactory` with a function as its argument for the purpose of passing in options, this pattern has been deprecated for a while and is no longer supported. You may want to explore the new multiton patterns to achieve your goals, or moving settings to app-config.
|
|
17
|
+
|
|
18
|
+
As part of this change, the `IdentityFactoryOptions` type was removed, and can no longer be used to tweak that service. The identity service was also deprecated some time ago, and you will want to [migrate to the new auth system](https://backstage.io/docs/tutorials/auth-service-migration) if you still rely on it.
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
- @backstage/backend-plugin-api@0.9.0-next.0
|
|
9
24
|
|
|
10
25
|
## 0.3.9
|
|
11
26
|
|
package/alpha/package.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -258,6 +258,6 @@ interface EventPublisher {
|
|
|
258
258
|
*/
|
|
259
259
|
declare const eventsServiceRef: _backstage_backend_plugin_api.ServiceRef<EventsService, "plugin", "singleton">;
|
|
260
260
|
/** @public */
|
|
261
|
-
declare const eventsServiceFactory: _backstage_backend_plugin_api.
|
|
261
|
+
declare const eventsServiceFactory: _backstage_backend_plugin_api.ServiceFactory<EventsService, "plugin", "singleton">;
|
|
262
262
|
|
|
263
263
|
export { DefaultEventsService, type EventBroker, type EventParams, type EventPublisher, EventRouter, type EventSubscriber, type EventsService, type EventsServiceEventHandler, type EventsServiceSubscribeOptions, type HttpPostIngressOptions, type RequestDetails, type RequestRejectionDetails, type RequestValidationContext, type RequestValidator, SubTopicEventRouter, eventsServiceFactory, eventsServiceRef };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-events-node",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0-next.1",
|
|
4
4
|
"description": "The plugin-events-node module for @backstage/plugin-events-backend",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "node-library",
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"test": "backstage-cli package test"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@backstage/backend-plugin-api": "^0.
|
|
53
|
+
"@backstage/backend-plugin-api": "^0.9.0-next.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@backstage/backend-common": "^0.
|
|
57
|
-
"@backstage/backend-test-utils": "^0.
|
|
58
|
-
"@backstage/cli": "^0.27.
|
|
56
|
+
"@backstage/backend-common": "^0.25.0-next.1",
|
|
57
|
+
"@backstage/backend-test-utils": "^0.6.0-next.1",
|
|
58
|
+
"@backstage/cli": "^0.27.1-next.1"
|
|
59
59
|
}
|
|
60
60
|
}
|