@backstage/plugin-catalog-backend 2.0.0-next.2 → 2.0.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +112 -0
  2. package/README.md +1 -0
  3. package/package.json +20 -20
package/CHANGELOG.md CHANGED
@@ -1,5 +1,117 @@
1
1
  # @backstage/plugin-catalog-backend
2
2
 
3
+ ## 2.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 90ab044: **BREAKING**: Removed all deprecated exports, and removed support for the old backend system.
8
+
9
+ It also removes the `CodeOwnersProcessor` from the default set of processors, because it is expensive to run and has vague semantics. You need to update your backend to add it to the `catalogProcessingExtensionPoint` if you wish to continue using it.
10
+
11
+ The following removed exports are available from `@backstage/plugin-catalog-node`:
12
+
13
+ - `locationSpecToMetadataName`
14
+ - `locationSpecToLocationEntity`
15
+ - `processingResult`
16
+ - `EntitiesSearchFilter`
17
+ - `EntityFilter`
18
+ - `DeferredEntity`
19
+ - `EntityRelationSpec`
20
+ - `CatalogProcessor`
21
+ - `CatalogProcessorParser`
22
+ - `CatalogProcessorCache`
23
+ - `CatalogProcessorEmit`
24
+ - `CatalogProcessorLocationResult`
25
+ - `CatalogProcessorEntityResult`
26
+ - `CatalogProcessorRelationResult`
27
+ - `CatalogProcessorErrorResult`
28
+ - `CatalogProcessorRefreshKeysResult`
29
+ - `CatalogProcessorResult`
30
+ - `EntityProvider`
31
+ - `EntityProviderConnection`
32
+ - `EntityProviderMutation`
33
+ - `AnalyzeOptions`
34
+ - `LocationAnalyzer`
35
+ - `ScmLocationAnalyzer`
36
+ - `PlaceholderResolver`
37
+ - `PlaceholderResolverParams`
38
+ - `PlaceholderResolverRead`
39
+ - `PlaceholderResolverResolveUrl`
40
+ - `parseEntityYaml`
41
+
42
+ The following removed exports are available from `@backstage/plugin-catalog-common`:
43
+
44
+ - `LocationSpec`
45
+ - `AnalyzeLocationRequest`
46
+ - `AnalyzeLocationResponse`
47
+ - `AnalyzeLocationExistingEntity`
48
+ - `AnalyzeLocationGenerateEntity`
49
+ - `AnalyzeLocationEntityField`
50
+
51
+ The following removed exports are instead implemented in the new backend system by `@backstage/plugin-search-backend-module-catalog`:
52
+
53
+ - `defaultCatalogCollatorEntityTransformer`
54
+ - `CatalogCollatorEntityTransformer`
55
+ - `DefaultCatalogCollator`
56
+
57
+ The following exports are removed without a direct replacement:
58
+
59
+ - `DefaultCatalogCollatorFactory`
60
+ - `DefaultCatalogCollatorFactoryOptions`
61
+ - `LocationEntityProcessor`
62
+ - `LocationEntityProcessorOptions`
63
+ - `CatalogBuilder`
64
+ - `CatalogEnvironment`
65
+ - `CatalogPermissionRuleInput`
66
+ - `CatalogProcessingEngine`
67
+ - `createRandomProcessingInterval`
68
+ - `ProcessingIntervalFunction`
69
+
70
+ ### Minor Changes
71
+
72
+ - 6c9b88e: **BREAKING ALPHA**: You can no longer import the catalog plugin from the `/alpha` export; please use the regular root default export instead.
73
+ - d88b922: Adds the ability to disable the default entity processors using a new boolean app config item `catalog.disableDefaultProcessors`.
74
+
75
+ ### Patch Changes
76
+
77
+ - 0e710fc: This patch addresses an issue identified in Backstage when configured with a MySQL database. If an entity of type location
78
+ (e..all.yaml) has more than 70 referenced entities, clicking "Refresh" does not update the referenced entities as expected. This occurs because the TEXT type in MySQL has a limit of 65,535 bytes, which is insufficient to store all the referenced entities, causing the refresh operation to fail.
79
+ - 8e0f15f: "Added a note clarifying that `entity-fetch` audit events are not visible by default in the logs and are only displayed when the log severity level is adjusted."
80
+ - Updated dependencies
81
+ - @backstage/integration@1.17.0
82
+ - @backstage/catalog-model@1.7.4
83
+ - @backstage/plugin-catalog-node@1.17.0
84
+ - @backstage/backend-plugin-api@1.3.1
85
+ - @backstage/plugin-permission-common@0.9.0
86
+ - @backstage/plugin-permission-node@0.10.0
87
+ - @backstage/catalog-client@1.10.0
88
+ - @backstage/backend-openapi-utils@0.5.3
89
+ - @backstage/config@1.3.2
90
+ - @backstage/errors@1.2.7
91
+ - @backstage/types@1.2.1
92
+ - @backstage/plugin-catalog-common@1.1.4
93
+ - @backstage/plugin-events-node@0.4.11
94
+
95
+ ## 2.0.0-next.3
96
+
97
+ ### Patch Changes
98
+
99
+ - 8e0f15f: "Added a note clarifying that `entity-fetch` audit events are not visible by default in the logs and are only displayed when the log severity level is adjusted."
100
+ - Updated dependencies
101
+ - @backstage/integration@1.17.0-next.3
102
+ - @backstage/backend-openapi-utils@0.5.3-next.2
103
+ - @backstage/backend-plugin-api@1.3.1-next.2
104
+ - @backstage/catalog-client@1.10.0-next.0
105
+ - @backstage/catalog-model@1.7.3
106
+ - @backstage/config@1.3.2
107
+ - @backstage/errors@1.2.7
108
+ - @backstage/types@1.2.1
109
+ - @backstage/plugin-catalog-common@1.1.4-next.0
110
+ - @backstage/plugin-catalog-node@1.17.0-next.2
111
+ - @backstage/plugin-events-node@0.4.11-next.2
112
+ - @backstage/plugin-permission-common@0.9.0-next.0
113
+ - @backstage/plugin-permission-node@0.10.0-next.2
114
+
3
115
  ## 2.0.0-next.2
4
116
 
5
117
  ### Patch Changes
package/README.md CHANGED
@@ -94,6 +94,7 @@ The Catalog backend emits audit events for various operations. Events are groupe
94
94
  **Entity Events:**
95
95
 
96
96
  - **`entity-fetch`**: Retrieves entities.
97
+ - **Note:** By default, "low" severity audit events like `entity-fetch` aren't logged because they map to the "debug" level, while Backstage defaults to "info" level logging. To see `entity-fetch` events, update your `app-config.yaml` by setting `backend.auditor.severityLogLevelMappings.low: info`. See the [Auditor Service documentation](https://backstage.io/docs/backend-system/core-services/auditor/#severity-levels-and-default-mappings) for details on severity mappings.
97
98
 
98
99
  Filter on `queryType`.
99
100
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend",
3
- "version": "2.0.0-next.2",
3
+ "version": "2.0.0",
4
4
  "description": "The Backstage backend plugin that provides the Backstage catalog",
5
5
  "backstage": {
6
6
  "role": "backend-plugin",
@@ -73,19 +73,19 @@
73
73
  "test": "backstage-cli package test"
74
74
  },
75
75
  "dependencies": {
76
- "@backstage/backend-openapi-utils": "0.5.3-next.1",
77
- "@backstage/backend-plugin-api": "1.3.1-next.1",
78
- "@backstage/catalog-client": "1.10.0-next.0",
79
- "@backstage/catalog-model": "1.7.3",
80
- "@backstage/config": "1.3.2",
81
- "@backstage/errors": "1.2.7",
82
- "@backstage/integration": "1.17.0-next.2",
83
- "@backstage/plugin-catalog-common": "1.1.4-next.0",
84
- "@backstage/plugin-catalog-node": "1.17.0-next.1",
85
- "@backstage/plugin-events-node": "0.4.11-next.1",
86
- "@backstage/plugin-permission-common": "0.9.0-next.0",
87
- "@backstage/plugin-permission-node": "0.10.0-next.1",
88
- "@backstage/types": "1.2.1",
76
+ "@backstage/backend-openapi-utils": "^0.5.3",
77
+ "@backstage/backend-plugin-api": "^1.3.1",
78
+ "@backstage/catalog-client": "^1.10.0",
79
+ "@backstage/catalog-model": "^1.7.4",
80
+ "@backstage/config": "^1.3.2",
81
+ "@backstage/errors": "^1.2.7",
82
+ "@backstage/integration": "^1.17.0",
83
+ "@backstage/plugin-catalog-common": "^1.1.4",
84
+ "@backstage/plugin-catalog-node": "^1.17.0",
85
+ "@backstage/plugin-events-node": "^0.4.11",
86
+ "@backstage/plugin-permission-common": "^0.9.0",
87
+ "@backstage/plugin-permission-node": "^0.10.0",
88
+ "@backstage/types": "^1.2.1",
89
89
  "@opentelemetry/api": "^1.9.0",
90
90
  "codeowners-utils": "^1.0.2",
91
91
  "core-js": "^3.6.5",
@@ -106,12 +106,12 @@
106
106
  "zod": "^3.22.4"
107
107
  },
108
108
  "devDependencies": {
109
- "@backstage/backend-defaults": "0.10.0-next.2",
110
- "@backstage/backend-test-utils": "1.5.0-next.2",
111
- "@backstage/cli": "0.32.1-next.2",
112
- "@backstage/plugin-permission-common": "0.9.0-next.0",
113
- "@backstage/repo-tools": "0.13.3-next.2",
114
- "@backstage/test-utils": "1.7.8-next.1",
109
+ "@backstage/backend-defaults": "^0.10.0",
110
+ "@backstage/backend-test-utils": "^1.5.0",
111
+ "@backstage/cli": "^0.32.1",
112
+ "@backstage/plugin-permission-common": "^0.9.0",
113
+ "@backstage/repo-tools": "^0.13.3",
114
+ "@backstage/test-utils": "^1.7.8",
115
115
  "@types/core-js": "^2.5.4",
116
116
  "@types/express": "^4.17.6",
117
117
  "@types/git-url-parse": "^9.0.0",