@backstage/plugin-catalog-backend 1.4.0-next.2 → 1.4.0-next.3

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,26 @@
1
1
  # @backstage/plugin-catalog-backend
2
2
 
3
+ ## 1.4.0-next.3
4
+
5
+ ### Minor Changes
6
+
7
+ - 6e63bc43f2: Added the `refresh` function to the Connection of the entity providers.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @backstage/plugin-catalog-node@1.1.0-next.2
13
+ - @backstage/backend-plugin-api@0.1.2-next.2
14
+ - @backstage/catalog-client@1.1.0-next.2
15
+ - @backstage/catalog-model@1.1.1-next.0
16
+ - @backstage/config@1.0.2-next.0
17
+ - @backstage/errors@1.1.1-next.0
18
+ - @backstage/integration@1.3.1-next.2
19
+ - @backstage/plugin-permission-common@0.6.4-next.2
20
+ - @backstage/backend-common@0.15.1-next.3
21
+ - @backstage/plugin-scaffolder-common@1.2.0-next.1
22
+ - @backstage/plugin-permission-node@0.6.5-next.3
23
+
3
24
  ## 1.4.0-next.2
4
25
 
5
26
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend",
3
- "version": "1.4.0-next.2",
3
+ "version": "1.4.0-next.3",
4
4
  "main": "../dist/index.cjs.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
package/dist/index.cjs.js CHANGED
@@ -3722,6 +3722,14 @@ class Connection {
3722
3722
  });
3723
3723
  }
3724
3724
  }
3725
+ async refresh(options) {
3726
+ const db = this.config.processingDatabase;
3727
+ await db.transaction(async (tx) => {
3728
+ return db.refreshByRefreshKeys(tx, {
3729
+ keys: options.keys
3730
+ });
3731
+ });
3732
+ }
3725
3733
  check(entities) {
3726
3734
  for (const entity of entities) {
3727
3735
  try {