# @backstage/plugin-events-node ## 0.4.23-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.9.2-next.0 ## 0.4.22 ### Patch Changes - Updated dependencies - @backstage/errors@1.3.1 - @backstage/backend-plugin-api@1.9.1 ## 0.4.22-next.0 ### Patch Changes - Updated dependencies - @backstage/errors@1.3.1-next.0 - @backstage/backend-plugin-api@1.9.1-next.0 - @backstage/types@1.2.2 ## 0.4.21 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.9.0 - @backstage/errors@1.3.0 ## 0.4.21-next.2 ### Patch Changes - Updated dependencies - @backstage/errors@1.3.0-next.0 - @backstage/backend-plugin-api@1.9.0-next.2 ## 0.4.21-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.9.0-next.1 ## 0.4.21-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.8.1-next.0 - @backstage/errors@1.2.7 - @backstage/types@1.2.2 ## 0.4.20 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.8.0 ## 0.4.20-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.8.0-next.1 ## 0.4.20-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.7.1-next.0 - @backstage/errors@1.2.7 - @backstage/types@1.2.2 ## 0.4.19 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.7.0 ## 0.4.19-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.7.0-next.0 - @backstage/errors@1.2.7 - @backstage/types@1.2.2 ## 0.4.18 ### Patch Changes - de96a60: chore(deps): bump `express` from 4.21.2 to 4.22.0 - Updated dependencies - @backstage/backend-plugin-api@1.6.0 ## 0.4.18-next.1 ### Patch Changes - de96a60: chore(deps): bump `express` from 4.21.2 to 4.22.0 - Updated dependencies - @backstage/backend-plugin-api@1.6.0-next.1 - @backstage/errors@1.2.7 - @backstage/types@1.2.2 ## 0.4.18-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.5.1-next.0 - @backstage/errors@1.2.7 - @backstage/types@1.2.2 ## 0.4.17 ### Patch Changes - 05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript's `erasableSyntaxOnly` setting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility. - Updated dependencies - @backstage/backend-plugin-api@1.5.0 ## 0.4.17-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.5.0-next.1 ## 0.4.17-next.0 ### Patch Changes - 05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript's `erasableSyntaxOnly` setting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility. - Updated dependencies - @backstage/backend-plugin-api@1.4.5-next.0 - @backstage/errors@1.2.7 - @backstage/types@1.2.2 ## 0.4.16 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.4.4 ## 0.4.16-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.4.4-next.0 ## 0.4.15 ### Patch Changes - 0efcc97: Updated generated schemas - Updated dependencies - @backstage/types@1.2.2 - @backstage/backend-plugin-api@1.4.3 ## 0.4.15-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.4.3-next.0 ## 0.4.14 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.4.2 ## 0.4.14-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.4.2-next.0 - @backstage/errors@1.2.7 - @backstage/types@1.2.1 ## 0.4.13 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.4.1 ## 0.4.13-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.4.1-next.0 ## 0.4.12 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.4.0 - @backstage/errors@1.2.7 - @backstage/types@1.2.1 ## 0.4.12-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.4.0-next.1 - @backstage/errors@1.2.7 - @backstage/types@1.2.1 ## 0.4.12-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.4.0-next.0 ## 0.4.11 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.3.1 - @backstage/errors@1.2.7 - @backstage/types@1.2.1 ## 0.4.11-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.3.1-next.2 - @backstage/errors@1.2.7 - @backstage/types@1.2.1 ## 0.4.11-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.3.1-next.1 - @backstage/errors@1.2.7 - @backstage/types@1.2.1 ## 0.4.11-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.3.1-next.0 - @backstage/errors@1.2.7 - @backstage/types@1.2.1 ## 0.4.10 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.3.0 - @backstage/errors@1.2.7 - @backstage/types@1.2.1 ## 0.4.9 ### Patch Changes - b95aa77: add `addHttpPostBodyParser` to events extension to allow body parse customization. This feature will enhance flexibility in handling HTTP POST requests in event-related operations. - Updated dependencies - @backstage/backend-plugin-api@1.2.1 - @backstage/errors@1.2.7 - @backstage/types@1.2.1 ## 0.4.9-next.2 ### Patch Changes - b95aa77: add `addHttpPostBodyParser` to events extension to allow body parse customization. This feature will enhance flexibility in handling HTTP POST requests in event-related operations. - Updated dependencies - @backstage/backend-plugin-api@1.2.1-next.1 - @backstage/errors@1.2.7 - @backstage/types@1.2.1 ## 0.4.9-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.2.1-next.1 - @backstage/errors@1.2.7 - @backstage/types@1.2.1 ## 0.4.9-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.2.1-next.0 ## 0.4.8 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.2.0 - @backstage/errors@1.2.7 - @backstage/types@1.2.1 ## 0.4.8-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.2.0-next.2 - @backstage/errors@1.2.7 - @backstage/types@1.2.1 ## 0.4.8-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.2.0-next.1 - @backstage/errors@1.2.7 - @backstage/types@1.2.1 ## 0.4.8-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.2.0-next.0 - @backstage/errors@1.2.7 - @backstage/types@1.2.1 ## 0.4.7 ### Patch Changes - Updated dependencies - @backstage/types@1.2.1 - @backstage/backend-plugin-api@1.1.1 - @backstage/errors@1.2.7 ## 0.4.7-next.1 ### Patch Changes - Updated dependencies - @backstage/types@1.2.1-next.0 - @backstage/backend-plugin-api@1.1.1-next.1 - @backstage/errors@1.2.7-next.0 ## 0.4.7-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.1.1-next.0 - @backstage/errors@1.2.6 - @backstage/types@1.2.0 ## 0.4.6 ### Patch Changes - 79a06f6: Clarified purpose of subscriber ID in TSDoc for `EventsServiceSubscribeOptions`. - 1577511: Allow configuring a timeout for event bus polling requests. This can be set like so in your app-config: ```yaml events: notifyTimeoutMs: 30000 ``` - Updated dependencies - @backstage/backend-plugin-api@1.1.0 - @backstage/errors@1.2.6 - @backstage/types@1.2.0 ## 0.4.6-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.1.0-next.2 - @backstage/errors@1.2.6-next.0 - @backstage/types@1.2.0 ## 0.4.6-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.1.0-next.1 - @backstage/errors@1.2.5 - @backstage/types@1.2.0 ## 0.4.6-next.0 ### Patch Changes - 79a06f6: Clarified purpose of subscriber ID in TSDoc for `EventsServiceSubscribeOptions`. - 1577511: Allow configuring a timeout for event bus polling requests. This can be set like so in your app-config: ```yaml events: notifyTimeoutMs: 30000 ``` - Updated dependencies - @backstage/backend-plugin-api@1.0.3-next.0 - @backstage/errors@1.2.5 - @backstage/types@1.2.0 ## 0.4.5 ### Patch Changes - 4501631: Fixed an issue where subscribing to events threw an error and gave up too easily. Calling the subscribe method will cause the background polling loop to keep trying to connect to the events backend, even if the initial request fails. By default the events service will attempt to publish and subscribe to events from the events bus API in the events backend, but if it fails due to the events backend not being installed, it will bail and never try calling the API again. There is now a new `events.useEventBus` configuration and option for the `DefaultEventsService` that lets you control this behavior. You can set it to `'never'` to disabled API calls to the events backend completely, or `'always'` to never allow it to be disabled. - e02a02b: Fix `events.useEventBus` by propagating config to `DefaultEventsService` - 9816f51: Add raw body information to `RequestDetails` and use the raw body when validating incoming event requests. - 5d74716: Remove unused backend-common dependency - 0b57aa1: Fixed an issue where the event bus polling would duplicate and increase exponentially over time. - Updated dependencies - @backstage/types@1.2.0 - @backstage/backend-plugin-api@1.0.2 - @backstage/errors@1.2.5 ## 0.4.5-next.3 ### Patch Changes - 9816f51: Add raw body information to `RequestDetails` and use the raw body when validating incoming event requests. - Updated dependencies - @backstage/backend-plugin-api@1.0.2-next.2 - @backstage/errors@1.2.4 - @backstage/types@1.1.1 ## 0.4.5-next.2 ### Patch Changes - 0b57aa1: Fixed an issue where the event bus polling would duplicate and increase exponentially over time. - Updated dependencies - @backstage/backend-plugin-api@1.0.2-next.2 - @backstage/errors@1.2.4 - @backstage/types@1.1.1 ## 0.4.4-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.0.2-next.1 - @backstage/errors@1.2.4 - @backstage/types@1.1.1 ## 0.4.3-next.0 ### Patch Changes - 4501631: Fixed an issue where subscribing to events threw an error and gave up too easily. Calling the subscribe method will cause the background polling loop to keep trying to connect to the events backend, even if the initial request fails. By default the events service will attempt to publish and subscribe to events from the events bus API in the events backend, but if it fails due to the events backend not being installed, it will bail and never try calling the API again. There is now a new `events.useEventBus` configuration and option for the `DefaultEventsService` that lets you control this behavior. You can set it to `'never'` to disabled API calls to the events backend completely, or `'always'` to never allow it to be disabled. - e02a02b: Fix `events.useEventBus` by propagating config to `DefaultEventsService` - Updated dependencies - @backstage/backend-plugin-api@1.0.2-next.0 - @backstage/errors@1.2.4 - @backstage/types@1.1.1 ## 0.4.1 ### Patch Changes - 094eaa3: Remove references to in-repo backend-common - 2f88f88: Updated backend installation instructions. - a90ce4a: The default implementation of the `EventsService` now uses the new event bus for distributing events across multiple backend instances if the events backend plugin is installed. - Updated dependencies - @backstage/backend-plugin-api@1.0.1 - @backstage/errors@1.2.4 - @backstage/types@1.1.1 ## 0.4.1-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.0.1-next.1 - @backstage/errors@1.2.4 - @backstage/types@1.1.1 ## 0.4.1-next.0 ### Patch Changes - 094eaa3: Remove references to in-repo backend-common - 2f88f88: Updated backend installation instructions. - a90ce4a: The default implementation of the `EventsService` now uses the new event bus for distributing events across multiple backend instances if the events backend plugin is installed. - Updated dependencies - @backstage/backend-plugin-api@1.0.1-next.0 - @backstage/errors@1.2.4 - @backstage/types@1.1.1 ## 0.4.0 ### Minor Changes - 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. 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. 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. ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.0.0 ## 0.4.0-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@1.0.0-next.2 ## 0.4.0-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.9.0-next.1 ## 0.4.0-next.0 ### Minor Changes - 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. 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. 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. ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.9.0-next.0 ## 0.3.9 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.8.0 ## 0.3.9-next.3 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.8.0-next.3 ## 0.3.9-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.8.0-next.2 ## 0.3.9-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.7.1-next.1 ## 0.3.9-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.7.1-next.0 ## 0.3.8 ### Patch Changes - b05e1e1: Service factories exported by this package have been updated to use the new service factory format that doesn't use a callback. - Updated dependencies - @backstage/backend-plugin-api@0.7.0 ## 0.3.8-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.22-next.1 ## 0.3.7-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.21-next.0 ## 0.3.5 ### Patch Changes - 6a576dc: Replace the usage of `getVoidLogger` with `mockServices.logger.mock` in order to remove the dependency with the soon-to-be-deprecated `backend-common` package. - d44a20a: Added additional plugin metadata to `package.json`. - Updated dependencies - @backstage/backend-plugin-api@0.6.19 ## 0.3.5-next.2 ### Patch Changes - d44a20a: Added additional plugin metadata to `package.json`. - Updated dependencies - @backstage/backend-plugin-api@0.6.19-next.3 ## 0.3.5-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.19-next.2 ## 0.3.5-next.0 ### Patch Changes - 6a576dc: Replace the usage of `getVoidLogger` with `mockServices.logger.mock` in order to remove the dependency with the soon-to-be-deprecated `backend-common` package. - Updated dependencies - @backstage/backend-plugin-api@0.6.19-next.0 ## 0.3.4 ### Patch Changes - 7e5a50d: added `eventsServiceFactory` to `defaultServiceFactories` to resolve issue where different instances of the EventsServices could be used - Updated dependencies - @backstage/backend-plugin-api@0.6.18 ## 0.3.4-next.2 ### Patch Changes - 7e5a50d: added `eventsServiceFactory` to `defaultServiceFactories` to resolve issue where different instances of the EventsServices could be used ## 0.3.4-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.18-next.1 ## 0.3.4-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.18-next.0 ## 0.3.3 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.17 ## 0.3.3-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.17-next.1 ## 0.3.3-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.17-next.0 ## 0.3.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.16 ## 0.3.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.15 ## 0.3.0 ### Minor Changes - eff3ca9: BREAKING CHANGE: Migrate `EventRouter` implementations from `EventBroker` to `EventsService`. `EventRouter` uses the new `EventsService` instead of the `EventBroker` now, causing a breaking change to its signature. All of its extensions and implementations got adjusted accordingly. (`SubTopicEventRouter`, `AzureDevOpsEventRouter`, `BitbucketCloudEventRouter`, `GerritEventRouter`, `GithubEventRouter`, `GitlabEventRouter`) Required adjustments were made to all backend modules for the new backend system, now also making use of the `eventsServiceRef` instead of the `eventsExtensionPoint`. **Migration:** Example for implementations of `SubTopicEventRouter`: ```diff import { EventParams, + EventsService, SubTopicEventRouter, } from '@backstage/plugin-events-node'; export class GithubEventRouter extends SubTopicEventRouter { - constructor() { - super('github'); + constructor(options: { events: EventsService }) { + super({ + events: options.events, + topic: 'github', + }); } + protected getSubscriberId(): string { + return 'GithubEventRouter'; + } + // ... } ``` Example for a direct extension of `EventRouter`: ```diff class MyEventRouter extends EventRouter { - constructor(/* ... */) { + constructor(options: { + events: EventsService; + // ... + }) { - super(); // ... + super({ + events: options.events, + topics: topics, + }); } + + protected getSubscriberId(): string { + return 'MyEventRouter'; + } - - supportsEventTopics(): string[] { - return this.topics; - } } ``` ### Patch Changes - 56969b6: Add new `EventsService` as well as `eventsServiceRef` for the new backend system. **Summary:** - new: `EventsService`, `eventsServiceRef`, `TestEventsService` - deprecated: `EventBroker`, `EventPublisher`, `EventSubscriber`, `DefaultEventBroker`, `EventsBackend`, most parts of `EventsExtensionPoint` (alpha), `TestEventBroker`, `TestEventPublisher`, `TestEventSubscriber` Add the `eventsServiceRef` as dependency to your backend plugins or backend plugin modules. **Details:** The previous implementation using the `EventsExtensionPoint` was added in the early stages of the new backend system and does not respect the plugin isolation. This made it not compatible anymore with the new backend system. Additionally, the previous interfaces had some room for simplification, supporting less exposure of internal concerns as well. Hereby, this change adds a new `EventsService` interface as replacement for the now deprecated `EventBroker`. The new interface does not require any `EventPublisher` or `EventSubscriber` interfaces anymore. Instead, it is expected that the `EventsService` gets passed into publishers and subscribers, and used internally. There is no need to expose anything of that at their own interfaces. Most parts of `EventsExtensionPoint` (alpha) are deprecated as well and were not usable (by other plugins or their modules) anyway. The `DefaultEventBroker` implementation is deprecated and wraps the new `DefaultEventsService` implementation. Optionally, an instance can be passed as argument to allow mixed setups to operate alongside. - Updated dependencies - @backstage/backend-plugin-api@0.6.14 ## 0.3.0-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.14-next.2 ## 0.3.0-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.14-next.1 ## 0.3.0-next.0 ### Minor Changes - eff3ca9: BREAKING CHANGE: Migrate `EventRouter` implementations from `EventBroker` to `EventsService`. `EventRouter` uses the new `EventsService` instead of the `EventBroker` now, causing a breaking change to its signature. All of its extensions and implementations got adjusted accordingly. (`SubTopicEventRouter`, `AzureDevOpsEventRouter`, `BitbucketCloudEventRouter`, `GerritEventRouter`, `GithubEventRouter`, `GitlabEventRouter`) Required adjustments were made to all backend modules for the new backend system, now also making use of the `eventsServiceRef` instead of the `eventsExtensionPoint`. **Migration:** Example for implementations of `SubTopicEventRouter`: ```diff import { EventParams, + EventsService, SubTopicEventRouter, } from '@backstage/plugin-events-node'; export class GithubEventRouter extends SubTopicEventRouter { - constructor() { - super('github'); + constructor(options: { events: EventsService }) { + super({ + events: options.events, + topic: 'github', + }); } + protected getSubscriberId(): string { + return 'GithubEventRouter'; + } + // ... } ``` Example for a direct extension of `EventRouter`: ```diff class MyEventRouter extends EventRouter { - constructor(/* ... */) { + constructor(options: { + events: EventsService; + // ... + }) { - super(); // ... + super({ + events: options.events, + topics: topics, + }); } + + protected getSubscriberId(): string { + return 'MyEventRouter'; + } - - supportsEventTopics(): string[] { - return this.topics; - } } ``` ### Patch Changes - 56969b6: Add new `EventsService` as well as `eventsServiceRef` for the new backend system. **Summary:** - new: `EventsService`, `eventsServiceRef`, `TestEventsService` - deprecated: `EventBroker`, `EventPublisher`, `EventSubscriber`, `DefaultEventBroker`, `EventsBackend`, most parts of `EventsExtensionPoint` (alpha), `TestEventBroker`, `TestEventPublisher`, `TestEventSubscriber` Add the `eventsServiceRef` as dependency to your backend plugins or backend plugin modules. **Details:** The previous implementation using the `EventsExtensionPoint` was added in the early stages of the new backend system and does not respect the plugin isolation. This made it not compatible anymore with the new backend system. Additionally, the previous interfaces had some room for simplification, supporting less exposure of internal concerns as well. Hereby, this change adds a new `EventsService` interface as replacement for the now deprecated `EventBroker`. The new interface does not require any `EventPublisher` or `EventSubscriber` interfaces anymore. Instead, it is expected that the `EventsService` gets passed into publishers and subscribers, and used internally. There is no need to expose anything of that at their own interfaces. Most parts of `EventsExtensionPoint` (alpha) are deprecated as well and were not usable (by other plugins or their modules) anyway. The `DefaultEventBroker` implementation is deprecated and wraps the new `DefaultEventsService` implementation. Optionally, an instance can be passed as argument to allow mixed setups to operate alongside. - Updated dependencies - @backstage/backend-plugin-api@0.6.13-next.0 ## 0.2.19 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.10 ## 0.2.19-next.3 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.10-next.3 ## 0.2.19-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.10-next.2 ## 0.2.19-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.10-next.1 ## 0.2.19-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.10-next.0 ## 0.2.18 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.9 ## 0.2.18-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.9-next.2 ## 0.2.18-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.9-next.1 ## 0.2.18-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.9-next.0 ## 0.2.17 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.8 ## 0.2.17-next.3 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.8-next.3 ## 0.2.17-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.8-next.2 ## 0.2.17-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.8-next.1 ## 0.2.17-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.8-next.0 ## 0.2.16 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.7 ## 0.2.16-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.7-next.2 ## 0.2.16-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.7-next.1 ## 0.2.16-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.7-next.0 ## 0.2.15 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.6 ## 0.2.15-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.6-next.2 ## 0.2.14-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.5-next.1 ## 0.2.14-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.5-next.0 ## 0.2.12 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.3 ## 0.2.12-next.3 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.3-next.3 ## 0.2.12-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.3-next.2 ## 0.2.12-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.3-next.1 ## 0.2.11-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.2-next.0 ## 0.2.9 ### Patch Changes - 12a8c94eda8d: Add package repository and homepage metadata - Updated dependencies - @backstage/backend-plugin-api@0.6.0 ## 0.2.9-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.0-next.2 ## 0.2.9-next.1 ### Patch Changes - 12a8c94eda8d: Add package repository and homepage metadata - Updated dependencies - @backstage/backend-plugin-api@0.6.0-next.1 ## 0.2.9-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.5.5-next.0 ## 0.2.8 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.5.4 ## 0.2.8-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.5.4-next.0 ## 0.2.7 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.5.3 ## 0.2.7-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.5.3-next.2 ## 0.2.7-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.5.3-next.1 ## 0.2.7-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.5.3-next.0 ## 0.2.6 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.5.2 ## 0.2.6-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.5.2-next.1 ## 0.2.6-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.5.2-next.0 ## 0.2.5 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.5.1 ## 0.2.5-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.5.1-next.2 ## 0.2.5-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.5.1-next.1 ## 0.2.5-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.5.1-next.0 ## 0.2.4 ### Patch Changes - 928a12a9b3e: Internal refactor of `/alpha` exports. - Updated dependencies - @backstage/backend-plugin-api@0.5.0 ## 0.2.4-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.4.1-next.2 ## 0.2.4-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.4.1-next.1 ## 0.2.4-next.0 ### Patch Changes - 928a12a9b3: Internal refactor of `/alpha` exports. - Updated dependencies - @backstage/backend-plugin-api@0.4.1-next.0 ## 0.2.3 ### Patch Changes - 19d4abf72c: Make `EventParams` typed for implementing tidier event handling. - Updated dependencies - @backstage/backend-plugin-api@0.4.0 ## 0.2.3-next.2 ### Patch Changes - 19d4abf72c: Make `EventParams` typed for implementing tidier event handling. - Updated dependencies - @backstage/backend-plugin-api@0.4.0-next.2 ## 0.2.3-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.3.2-next.1 ## 0.2.3-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.3.2-next.0 ## 0.2.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.3.0 ## 0.2.1-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.3.0-next.1 ## 0.2.1-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.2.1-next.0 ## 0.2.0 ### Minor Changes - cf41eedf43: Introduce a new interface `RequestDetails` to abstract `Request` providing access to request body and headers. **BREAKING:** Replace `request: Request` with `request: RequestDetails` at `RequestValidator`. ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.2.0 ## 0.2.0-next.3 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.2.0-next.3 ## 0.2.0-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.2.0-next.2 ## 0.2.0-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.1.5-next.1 ## 0.2.0-next.0 ### Minor Changes - cf41eedf43: Introduce a new interface `RequestDetails` to abstract `Request` providing access to request body and headers. **BREAKING:** Replace `request: Request` with `request: RequestDetails` at `RequestValidator`. ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.1.5-next.0 ## 0.1.0 ### Minor Changes - dc9da28abd: Support events received via HTTP endpoints at plugin-events-backend. The plugin provides an event publisher `HttpPostIngressEventPublisher` which will allow you to receive events via HTTP endpoints `POST /api/events/http/{topic}` and will publish these to the used event broker. Using a provided custom validator, you can participate in the decision which events are accepted, e.g. by verifying the source of the request. Please find more information at https://github.com/backstage/backstage/tree/master/plugins/events-backend/README.md. - 7bbd2403a1: Adds a new backend plugin plugin-events-backend for managing events. plugin-events-node exposes interfaces which can be used by modules. plugin-events-backend-test-utils provides utilities which can be used while writing tests e.g. for modules. Please find more information at https://github.com/backstage/backstage/tree/master/plugins/events-backend/README.md. ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.1.4