@backstage/plugin-catalog-backend 1.3.1-next.2 → 1.3.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 +18 -0
- package/alpha/package.json +1 -1
- package/dist/index.alpha.d.ts +2 -2
- package/dist/index.beta.d.ts +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend
|
|
2
2
|
|
|
3
|
+
## 1.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 56e1b4b89c: Fixed typos in alpha types.
|
|
8
|
+
- e3d3018531: Fix issue for conditional decisions based on properties stored as arrays, like tags.
|
|
9
|
+
|
|
10
|
+
Before this change, having a permission policy returning conditional decisions based on metadata like tags, such like `createCatalogConditionalDecision(permission, catalogConditions.hasMetadata('tags', 'java'),)`, was producing wrong results. The issue occurred when authorizing entities already loaded from the database, for example when authorizing `catalogEntityDeletePermission`.
|
|
11
|
+
|
|
12
|
+
- 059ae348b4: Use the non-deprecated form of table.unique in knex
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
- @backstage/backend-common@0.15.0
|
|
15
|
+
- @backstage/backend-plugin-api@0.1.1
|
|
16
|
+
- @backstage/plugin-catalog-node@1.0.1
|
|
17
|
+
- @backstage/integration@1.3.0
|
|
18
|
+
- @backstage/plugin-catalog-common@1.0.5
|
|
19
|
+
- @backstage/plugin-permission-node@0.6.4
|
|
20
|
+
|
|
3
21
|
## 1.3.1-next.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/alpha/package.json
CHANGED
package/dist/index.alpha.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
/// <reference types="node" />
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import { BackendFeature } from '@backstage/backend-plugin-api';
|
|
10
10
|
import { CatalogApi } from '@backstage/catalog-client';
|
|
11
11
|
import { CatalogEntityDocument } from '@backstage/plugin-catalog-common';
|
|
12
12
|
import { CatalogProcessor } from '@backstage/plugin-catalog-node';
|
|
@@ -349,7 +349,7 @@ export declare type CatalogPermissionRule<TParams extends unknown[] = unknown[]>
|
|
|
349
349
|
* Catalog plugin
|
|
350
350
|
* @alpha
|
|
351
351
|
*/
|
|
352
|
-
export declare const catalogPlugin: (
|
|
352
|
+
export declare const catalogPlugin: (options?: unknown) => BackendFeature;
|
|
353
353
|
|
|
354
354
|
/** @public */
|
|
355
355
|
export declare interface CatalogProcessingEngine {
|
package/dist/index.beta.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
/// <reference types="node" />
|
|
8
8
|
|
|
9
|
-
import {
|
|
9
|
+
import { BackendFeature } from '@backstage/backend-plugin-api';
|
|
10
10
|
import { CatalogApi } from '@backstage/catalog-client';
|
|
11
11
|
import { CatalogEntityDocument } from '@backstage/plugin-catalog-common';
|
|
12
12
|
import { CatalogProcessor } from '@backstage/plugin-catalog-node';
|
package/dist/index.cjs.js
CHANGED
|
@@ -4254,7 +4254,7 @@ const catalogPlugin = backendPluginApi.createBackendPlugin({
|
|
|
4254
4254
|
register(env) {
|
|
4255
4255
|
const processingExtensions = new CatalogExtensionPointImpl();
|
|
4256
4256
|
env.registerExtensionPoint(
|
|
4257
|
-
pluginCatalogNode.
|
|
4257
|
+
pluginCatalogNode.catalogProcessingExtensionPoint,
|
|
4258
4258
|
processingExtensions
|
|
4259
4259
|
);
|
|
4260
4260
|
env.registerInit({
|