@backstage/plugin-catalog-backend 1.1.1 → 1.1.2-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 +8 -2
- package/alpha/package.json +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend
|
|
2
2
|
|
|
3
|
-
## 1.1.
|
|
3
|
+
## 1.1.2-next.0
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- 55e09b29dd: Fixing broken types for `knex` when checking returned rows
|
|
8
|
+
- cfc0f19699: Updated dependency `fs-extra` to `10.1.0`.
|
|
9
|
+
- 8cc75993a6: Fixed issue in `PermissionEvaluator` instance check that would cause unexpected "invalid union" errors.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
- @backstage/backend-common@0.13.3-next.0
|
|
12
|
+
- @backstage/integration@1.2.0-next.0
|
|
13
|
+
- @backstage/plugin-permission-node@0.6.1-next.0
|
|
8
14
|
|
|
9
15
|
## 1.1.0
|
|
10
16
|
|
package/alpha/package.json
CHANGED
package/dist/index.cjs.js
CHANGED
|
@@ -2703,11 +2703,11 @@ class Stitcher {
|
|
|
2703
2703
|
entity.metadata.etag = hash;
|
|
2704
2704
|
}
|
|
2705
2705
|
const searchEntries = buildEntitySearch(entityId, entity);
|
|
2706
|
-
const
|
|
2706
|
+
const amountOfRowsChanged = await this.database("final_entities").update({
|
|
2707
2707
|
final_entity: JSON.stringify(entity),
|
|
2708
2708
|
hash
|
|
2709
2709
|
}).where("entity_id", entityId).where("stitch_ticket", ticket).onConflict("entity_id").merge(["final_entity", "hash"]);
|
|
2710
|
-
if (
|
|
2710
|
+
if (amountOfRowsChanged === 0) {
|
|
2711
2711
|
this.logger.debug(`Entity ${entityRef} is already processed, skipping write.`);
|
|
2712
2712
|
return;
|
|
2713
2713
|
}
|