@backstage/plugin-events-backend 0.2.1-next.1 → 0.2.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @backstage/plugin-events-backend
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 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.
8
+ - 8e06f3cf00: Switched imports of `loggerToWinstonLogger` to `@backstage/backend-common`.
9
+ - Updated dependencies
10
+ - @backstage/backend-plugin-api@0.3.0
11
+ - @backstage/backend-common@0.18.0
12
+ - @backstage/config@1.0.6
13
+ - @backstage/plugin-events-node@0.2.1
14
+
3
15
  ## 0.2.1-next.1
4
16
 
5
17
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-events-backend",
3
- "version": "0.2.1-next.1",
3
+ "version": "0.2.1",
4
4
  "main": "../dist/index.cjs.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
@@ -37,7 +37,7 @@ export declare class EventsBackend {
37
37
  *
38
38
  * @alpha
39
39
  */
40
- export declare const eventsPlugin: (options?: undefined) => BackendFeature;
40
+ export declare const eventsPlugin: () => BackendFeature;
41
41
 
42
42
  /**
43
43
  * Publishes events received from their origin (e.g., webhook events from an SCM system)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-events-backend",
3
- "version": "0.2.1-next.1",
3
+ "version": "0.2.1",
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.18.0-next.1",
27
- "@backstage/backend-plugin-api": "^0.3.0-next.1",
28
- "@backstage/config": "^1.0.6-next.0",
29
- "@backstage/plugin-events-node": "^0.2.1-next.1",
26
+ "@backstage/backend-common": "^0.18.0",
27
+ "@backstage/backend-plugin-api": "^0.3.0",
28
+ "@backstage/config": "^1.0.6",
29
+ "@backstage/plugin-events-node": "^0.2.1",
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.18.0-next.1",
37
- "@backstage/backend-test-utils": "^0.1.32-next.2",
38
- "@backstage/cli": "^0.22.1-next.2",
39
- "@backstage/plugin-events-backend-test-utils": "^0.1.2-next.1",
36
+ "@backstage/backend-common": "^0.18.0",
37
+ "@backstage/backend-test-utils": "^0.1.32",
38
+ "@backstage/cli": "^0.22.1",
39
+ "@backstage/plugin-events-backend-test-utils": "^0.1.2",
40
40
  "supertest": "^6.1.3"
41
41
  },
42
42
  "files": [