@backstage/plugin-catalog-backend-module-incremental-ingestion 0.4.0-next.1 → 0.4.1-next.0

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,75 @@
1
1
  # @backstage/plugin-catalog-backend-module-incremental-ingestion
2
2
 
3
+ ## 0.4.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/plugin-catalog-backend@1.12.0-next.0
9
+ - @backstage/backend-common@0.19.2-next.0
10
+ - @backstage/backend-plugin-api@0.5.5-next.0
11
+ - @backstage/backend-tasks@0.5.5-next.0
12
+ - @backstage/catalog-model@1.4.1
13
+ - @backstage/config@1.0.8
14
+ - @backstage/errors@1.2.1
15
+ - @backstage/plugin-catalog-node@1.4.1-next.0
16
+ - @backstage/plugin-events-node@0.2.9-next.0
17
+ - @backstage/plugin-permission-common@0.7.7
18
+
19
+ ## 0.4.0
20
+
21
+ ### Minor Changes
22
+
23
+ - b1cc10696f2f: **BREAKING** Allow incremental event handlers to be async; Force event handler
24
+ to indicate if it made a change. Instead of returning `null` or `undefined` from an event
25
+ handler to indicate no-oop, instead return the value { type: "ignored" }.
26
+
27
+ **before**
28
+
29
+ ```javascript
30
+ import { createDelta, shouldIgnore } from "./my-delta-creater";
31
+
32
+ eventHandler: {
33
+ onEvent(params) {
34
+ if (shouldIgnore(params)) {
35
+ return;
36
+ }
37
+ return createDelta(params);
38
+ }
39
+ }
40
+ ```
41
+
42
+ **after**
43
+
44
+ ```javascript
45
+ import { createDelta, shouldIgnore } from "./my-delta-creater";
46
+
47
+ eventHandler: {
48
+ async onEvent(params) {
49
+ if (shouldIgnore(params) {
50
+ return { type: "ignored" };
51
+ }
52
+ // code to create delta can now be async if needed
53
+ return await createDelta(params);
54
+ }
55
+ }
56
+ ```
57
+
58
+ ### Patch Changes
59
+
60
+ - e1d615757f48: Update readme and instructions
61
+ - Updated dependencies
62
+ - @backstage/errors@1.2.1
63
+ - @backstage/backend-common@0.19.1
64
+ - @backstage/plugin-catalog-backend@1.11.0
65
+ - @backstage/plugin-catalog-node@1.4.0
66
+ - @backstage/backend-plugin-api@0.5.4
67
+ - @backstage/backend-tasks@0.5.4
68
+ - @backstage/catalog-model@1.4.1
69
+ - @backstage/config@1.0.8
70
+ - @backstage/plugin-events-node@0.2.8
71
+ - @backstage/plugin-permission-common@0.7.7
72
+
3
73
  ## 0.4.0-next.1
4
74
 
5
75
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-incremental-ingestion",
3
- "version": "0.4.0-next.1",
3
+ "version": "0.4.1-next.0",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-incremental-ingestion",
3
3
  "description": "An entity provider for streaming large asset sources into the catalog",
4
- "version": "0.4.0-next.1",
4
+ "version": "0.4.1-next.0",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -43,16 +43,16 @@
43
43
  "postpack": "backstage-cli package postpack"
44
44
  },
45
45
  "dependencies": {
46
- "@backstage/backend-common": "^0.19.1-next.0",
47
- "@backstage/backend-plugin-api": "^0.5.4-next.0",
48
- "@backstage/backend-tasks": "^0.5.4-next.0",
49
- "@backstage/catalog-model": "^1.4.1-next.0",
46
+ "@backstage/backend-common": "^0.19.2-next.0",
47
+ "@backstage/backend-plugin-api": "^0.5.5-next.0",
48
+ "@backstage/backend-tasks": "^0.5.5-next.0",
49
+ "@backstage/catalog-model": "^1.4.1",
50
50
  "@backstage/config": "^1.0.8",
51
- "@backstage/errors": "^1.2.1-next.0",
52
- "@backstage/plugin-catalog-backend": "^1.11.0-next.0",
53
- "@backstage/plugin-catalog-node": "^1.4.0-next.0",
54
- "@backstage/plugin-events-node": "^0.2.8-next.0",
55
- "@backstage/plugin-permission-common": "^0.7.7-next.0",
51
+ "@backstage/errors": "^1.2.1",
52
+ "@backstage/plugin-catalog-backend": "^1.12.0-next.0",
53
+ "@backstage/plugin-catalog-node": "^1.4.1-next.0",
54
+ "@backstage/plugin-events-node": "^0.2.9-next.0",
55
+ "@backstage/plugin-permission-common": "^0.7.7",
56
56
  "@types/express": "^4.17.6",
57
57
  "@types/luxon": "^3.0.0",
58
58
  "express": "^4.17.1",
@@ -64,10 +64,10 @@
64
64
  "winston": "^3.2.1"
65
65
  },
66
66
  "devDependencies": {
67
- "@backstage/backend-app-api": "^0.4.5-next.0",
68
- "@backstage/backend-defaults": "^0.1.12-next.0",
69
- "@backstage/backend-test-utils": "^0.1.39-next.0",
70
- "@backstage/cli": "^0.22.9-next.1"
67
+ "@backstage/backend-app-api": "^0.4.6-next.0",
68
+ "@backstage/backend-defaults": "^0.1.13-next.0",
69
+ "@backstage/backend-test-utils": "^0.1.40-next.0",
70
+ "@backstage/cli": "^0.22.10-next.0"
71
71
  },
72
72
  "files": [
73
73
  "dist",