# @backstage/plugin-events-backend ## 0.2.18 ### Patch Changes - 92ea615: Update `README.md` - d5ddc4e: Add documentation on how to install the plugins with the new backend system. - Updated dependencies - @backstage/backend-common@0.20.1 - @backstage/backend-plugin-api@0.6.9 - @backstage/config@1.1.1 - @backstage/plugin-events-node@0.2.18 ## 0.2.18-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.9-next.2 - @backstage/backend-common@0.20.1-next.2 - @backstage/plugin-events-node@0.2.18-next.2 ## 0.2.18-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.20.1-next.1 - @backstage/config@1.1.1 - @backstage/backend-plugin-api@0.6.9-next.1 - @backstage/plugin-events-node@0.2.18-next.1 ## 0.2.18-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.20.1-next.0 - @backstage/backend-plugin-api@0.6.9-next.0 - @backstage/config@1.1.1 - @backstage/plugin-events-node@0.2.18-next.0 ## 0.2.17 ### Patch Changes - cc4228e: Switched module ID to use kebab-case. - Updated dependencies - @backstage/backend-common@0.20.0 - @backstage/backend-plugin-api@0.6.8 - @backstage/config@1.1.1 - @backstage/plugin-events-node@0.2.17 ## 0.2.17-next.3 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.20.0-next.3 - @backstage/backend-plugin-api@0.6.8-next.3 - @backstage/config@1.1.1 - @backstage/plugin-events-node@0.2.17-next.3 ## 0.2.17-next.2 ### Patch Changes - cc4228e: Switched module ID to use kebab-case. - Updated dependencies - @backstage/backend-common@0.20.0-next.2 - @backstage/backend-plugin-api@0.6.8-next.2 - @backstage/config@1.1.1 - @backstage/plugin-events-node@0.2.17-next.2 ## 0.2.17-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.20.0-next.1 - @backstage/backend-plugin-api@0.6.8-next.1 - @backstage/config@1.1.1 - @backstage/plugin-events-node@0.2.17-next.1 ## 0.2.17-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.20.0-next.0 - @backstage/backend-plugin-api@0.6.8-next.0 - @backstage/config@1.1.1 - @backstage/plugin-events-node@0.2.17-next.0 ## 0.2.16 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.19.9 - @backstage/backend-plugin-api@0.6.7 - @backstage/config@1.1.1 - @backstage/plugin-events-node@0.2.16 ## 0.2.16-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.7-next.2 - @backstage/backend-common@0.19.9-next.2 - @backstage/plugin-events-node@0.2.16-next.2 ## 0.2.16-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.19.9-next.1 - @backstage/backend-plugin-api@0.6.7-next.1 - @backstage/config@1.1.1 - @backstage/plugin-events-node@0.2.16-next.1 ## 0.2.16-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.19.9-next.0 - @backstage/backend-plugin-api@0.6.7-next.0 - @backstage/config@1.1.1 - @backstage/plugin-events-node@0.2.16-next.0 ## 0.2.15 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.19.8 - @backstage/backend-plugin-api@0.6.6 - @backstage/config@1.1.1 - @backstage/plugin-events-node@0.2.15 ## 0.2.15-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.19.8-next.2 - @backstage/backend-plugin-api@0.6.6-next.2 - @backstage/config@1.1.1-next.0 - @backstage/plugin-events-node@0.2.15-next.2 ## 0.2.14-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.19.7-next.1 - @backstage/backend-plugin-api@0.6.5-next.1 - @backstage/config@1.1.0 - @backstage/plugin-events-node@0.2.14-next.1 ## 0.2.14-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.19.7-next.0 - @backstage/config@1.1.0 - @backstage/backend-plugin-api@0.6.5-next.0 - @backstage/plugin-events-node@0.2.14-next.0 ## 0.2.12 ### Patch Changes - 71114ac50e02: The export for the new backend system has been moved to be the `default` export. For example, if you are currently importing the plugin using the following pattern: ```ts import { examplePlugin } from '@backstage/plugin-example-backend'; backend.add(examplePlugin); ``` It should be migrated to this: ```ts backend.add(import('@backstage/plugin-example-backend')); ``` - Updated dependencies - @backstage/backend-common@0.19.5 - @backstage/config@1.1.0 - @backstage/backend-plugin-api@0.6.3 - @backstage/plugin-events-node@0.2.12 ## 0.2.12-next.3 ### Patch Changes - 71114ac50e02: The export for the new backend system has been moved to be the `default` export. For example, if you are currently importing the plugin using the following pattern: ```ts import { examplePlugin } from '@backstage/plugin-example-backend'; backend.add(examplePlugin); ``` It should be migrated to this: ```ts backend.add(import('@backstage/plugin-example-backend')); ``` - Updated dependencies - @backstage/config@1.1.0-next.2 - @backstage/backend-plugin-api@0.6.3-next.3 - @backstage/backend-common@0.19.5-next.3 - @backstage/plugin-events-node@0.2.12-next.3 ## 0.2.12-next.2 ### Patch Changes - Updated dependencies - @backstage/config@1.1.0-next.1 - @backstage/backend-common@0.19.5-next.2 - @backstage/backend-plugin-api@0.6.3-next.2 - @backstage/plugin-events-node@0.2.12-next.2 ## 0.2.12-next.1 ### Patch Changes - Updated dependencies - @backstage/config@1.1.0-next.0 - @backstage/backend-common@0.19.5-next.1 - @backstage/backend-plugin-api@0.6.3-next.1 - @backstage/plugin-events-node@0.2.12-next.1 ## 0.2.11-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.19.4-next.0 - @backstage/backend-plugin-api@0.6.2-next.0 - @backstage/config@1.0.8 - @backstage/plugin-events-node@0.2.11-next.0 ## 0.2.9 ### Patch Changes - 629cbd194a87: Use `coreServices.rootConfig` instead of `coreService.config` - 12a8c94eda8d: Add package repository and homepage metadata - Updated dependencies - @backstage/backend-common@0.19.2 - @backstage/backend-plugin-api@0.6.0 - @backstage/plugin-events-node@0.2.9 - @backstage/config@1.0.8 ## 0.2.9-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-plugin-api@0.6.0-next.2 - @backstage/backend-common@0.19.2-next.2 - @backstage/plugin-events-node@0.2.9-next.2 ## 0.2.9-next.1 ### Patch Changes - 629cbd194a87: Use `coreServices.rootConfig` instead of `coreService.config` - 12a8c94eda8d: Add package repository and homepage metadata - Updated dependencies - @backstage/backend-common@0.19.2-next.1 - @backstage/plugin-events-node@0.2.9-next.1 - @backstage/backend-plugin-api@0.6.0-next.1 - @backstage/config@1.0.8 ## 0.2.9-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.19.2-next.0 - @backstage/backend-plugin-api@0.5.5-next.0 - @backstage/config@1.0.8 - @backstage/plugin-events-node@0.2.9-next.0 ## 0.2.8 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.19.1 - @backstage/backend-plugin-api@0.5.4 - @backstage/config@1.0.8 - @backstage/plugin-events-node@0.2.8 ## 0.2.8-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.19.1-next.0 - @backstage/backend-plugin-api@0.5.4-next.0 - @backstage/config@1.0.8 - @backstage/plugin-events-node@0.2.8-next.0 ## 0.2.7 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.19.0 - @backstage/backend-plugin-api@0.5.3 - @backstage/config@1.0.8 - @backstage/plugin-events-node@0.2.7 ## 0.2.7-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.19.0-next.2 - @backstage/backend-plugin-api@0.5.3-next.2 - @backstage/config@1.0.7 - @backstage/plugin-events-node@0.2.7-next.2 ## 0.2.7-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.19.0-next.1 - @backstage/backend-plugin-api@0.5.3-next.1 - @backstage/plugin-events-node@0.2.7-next.1 - @backstage/config@1.0.7 ## 0.2.7-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.18.6-next.0 - @backstage/config@1.0.7 - @backstage/backend-plugin-api@0.5.3-next.0 - @backstage/plugin-events-node@0.2.7-next.0 ## 0.2.6 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.18.5 - @backstage/backend-plugin-api@0.5.2 - @backstage/config@1.0.7 - @backstage/plugin-events-node@0.2.6 ## 0.2.6-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.18.5-next.1 - @backstage/backend-plugin-api@0.5.2-next.1 - @backstage/config@1.0.7 - @backstage/plugin-events-node@0.2.6-next.1 ## 0.2.6-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.18.5-next.0 - @backstage/backend-plugin-api@0.5.2-next.0 - @backstage/config@1.0.7 - @backstage/plugin-events-node@0.2.6-next.0 ## 0.2.5 ### Patch Changes - 3538d9ad2c4: Export `DefaultEventBroker` to allow decoupling of the catalog and events backends in the `example-backend`. Please look at `plugins/events-backend/README.md` for the currently advised way to set up the event backend and catalog providers. - Updated dependencies - @backstage/backend-common@0.18.4 - @backstage/backend-plugin-api@0.5.1 - @backstage/config@1.0.7 - @backstage/plugin-events-node@0.2.5 ## 0.2.5-next.3 ### Patch Changes - 3538d9ad2c4: Export `DefaultEventBroker` to allow decoupling of the catalog and events backends in the `example-backend`. Please look at `plugins/events-backend/README.md` for the currently advised way to set up the event backend and catalog providers. - Updated dependencies - @backstage/backend-common@0.18.4-next.2 - @backstage/backend-plugin-api@0.5.1-next.2 - @backstage/config@1.0.7 - @backstage/plugin-events-node@0.2.5-next.2 ## 0.2.5-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.18.4-next.2 - @backstage/backend-plugin-api@0.5.1-next.2 - @backstage/config@1.0.7 - @backstage/plugin-events-node@0.2.5-next.2 ## 0.2.5-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.18.4-next.1 - @backstage/backend-plugin-api@0.5.1-next.1 - @backstage/config@1.0.7 - @backstage/plugin-events-node@0.2.5-next.1 ## 0.2.5-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.18.4-next.0 - @backstage/config@1.0.7 - @backstage/backend-plugin-api@0.5.1-next.0 - @backstage/plugin-events-node@0.2.5-next.0 ## 0.2.4 ### Patch Changes - 928a12a9b3e: Internal refactor of `/alpha` exports. - a5de745ac17: Updated README instructions - Updated dependencies - @backstage/backend-common@0.18.3 - @backstage/backend-plugin-api@0.5.0 - @backstage/plugin-events-node@0.2.4 - @backstage/config@1.0.7 ## 0.2.4-next.2 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.18.3-next.2 - @backstage/backend-plugin-api@0.4.1-next.2 - @backstage/plugin-events-node@0.2.4-next.2 - @backstage/config@1.0.7-next.0 ## 0.2.4-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.18.3-next.1 - @backstage/backend-plugin-api@0.4.1-next.1 - @backstage/config@1.0.7-next.0 - @backstage/plugin-events-node@0.2.4-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 - @backstage/backend-common@0.18.3-next.0 - @backstage/plugin-events-node@0.2.4-next.0 - @backstage/config@1.0.6 ## 0.2.3 ### Patch Changes - 0ff03319be: Updated usage of `createBackendPlugin`. - Updated dependencies - @backstage/backend-plugin-api@0.4.0 - @backstage/backend-common@0.18.2 - @backstage/plugin-events-node@0.2.3 - @backstage/config@1.0.6 ## 0.2.3-next.2 ### Patch Changes - 0ff03319be: Updated usage of `createBackendPlugin`. - Updated dependencies - @backstage/backend-plugin-api@0.4.0-next.2 - @backstage/backend-common@0.18.2-next.2 - @backstage/plugin-events-node@0.2.3-next.2 - @backstage/config@1.0.6 ## 0.2.3-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.18.2-next.1 - @backstage/backend-plugin-api@0.3.2-next.1 - @backstage/config@1.0.6 - @backstage/plugin-events-node@0.2.3-next.1 ## 0.2.3-next.0 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.18.2-next.0 - @backstage/backend-plugin-api@0.3.2-next.0 - @backstage/plugin-events-node@0.2.3-next.0 ## 0.2.1 ### Patch Changes - 217149ae98: The default event broker will now catch and log errors thrown by the `onEvent` method of subscribers. The returned promise from `publish` method will also not resolve until all subscribers have handled the event. - 8e06f3cf00: Switched imports of `loggerToWinstonLogger` to `@backstage/backend-common`. - Updated dependencies - @backstage/backend-plugin-api@0.3.0 - @backstage/backend-common@0.18.0 - @backstage/config@1.0.6 - @backstage/plugin-events-node@0.2.1 ## 0.2.1-next.1 ### Patch Changes - 8e06f3cf00: Switched imports of `loggerToWinstonLogger` to `@backstage/backend-common`. - Updated dependencies - @backstage/backend-plugin-api@0.3.0-next.1 - @backstage/backend-common@0.18.0-next.1 - @backstage/plugin-events-node@0.2.1-next.1 - @backstage/config@1.0.6-next.0 ## 0.2.1-next.0 ### Patch Changes - 217149ae98: The default event broker will now catch and log errors thrown by the `onEvent` method of subscribers. The returned promise from `publish` method will also not resolve until all subscribers have handled the event. - Updated dependencies - @backstage/backend-plugin-api@0.2.1-next.0 - @backstage/backend-common@0.18.0-next.0 - @backstage/config@1.0.6-next.0 - @backstage/plugin-events-node@0.2.1-next.0 ## 0.2.0 ### Minor Changes - cf41eedf43: **BREAKING:** Remove required field `router` at `HttpPostIngressEventPublisher.fromConfig` and replace it with `bind(router: Router)`. Additionally, the path prefix `/http` will be added inside `HttpPostIngressEventPublisher`. ```diff // at packages/backend/src/plugins/events.ts const eventsRouter = Router(); - const httpRouter = Router(); - eventsRouter.use('/http', httpRouter); const http = HttpPostIngressEventPublisher.fromConfig({ config: env.config, logger: env.logger, - router: httpRouter, }); + http.bind(eventsRouter); ``` ### Patch Changes - 884d749b14: Refactored to use `coreServices` from `@backstage/backend-plugin-api`. - 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`. - Updated dependencies - @backstage/backend-common@0.17.0 - @backstage/backend-plugin-api@0.2.0 - @backstage/plugin-events-node@0.2.0 - @backstage/config@1.0.5 ## 0.2.0-next.3 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.17.0-next.3 - @backstage/backend-plugin-api@0.2.0-next.3 - @backstage/config@1.0.5-next.1 - @backstage/plugin-events-node@0.2.0-next.3 ## 0.2.0-next.2 ### Patch Changes - 884d749b14: Refactored to use `coreServices` from `@backstage/backend-plugin-api`. - Updated dependencies - @backstage/backend-common@0.17.0-next.2 - @backstage/backend-plugin-api@0.2.0-next.2 - @backstage/config@1.0.5-next.1 - @backstage/plugin-events-node@0.2.0-next.2 ## 0.2.0-next.1 ### Patch Changes - Updated dependencies - @backstage/backend-common@0.17.0-next.1 - @backstage/backend-plugin-api@0.1.5-next.1 - @backstage/config@1.0.5-next.1 - @backstage/plugin-events-node@0.2.0-next.1 ## 0.2.0-next.0 ### Minor Changes - cf41eedf43: **BREAKING:** Remove required field `router` at `HttpPostIngressEventPublisher.fromConfig` and replace it with `bind(router: Router)`. Additionally, the path prefix `/http` will be added inside `HttpPostIngressEventPublisher`. ```diff // at packages/backend/src/plugins/events.ts const eventsRouter = Router(); - const httpRouter = Router(); - eventsRouter.use('/http', httpRouter); const http = HttpPostIngressEventPublisher.fromConfig({ config: env.config, logger: env.logger, - router: httpRouter, }); + http.bind(eventsRouter); ``` ### Patch 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`. - Updated dependencies - @backstage/plugin-events-node@0.2.0-next.0 - @backstage/backend-common@0.16.1-next.0 - @backstage/backend-plugin-api@0.1.5-next.0 - @backstage/config@1.0.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-common@0.16.0 - @backstage/plugin-events-node@0.1.0 - @backstage/backend-plugin-api@0.1.4 - @backstage/config@1.0.4