@backstage/plugin-catalog-backend 0.17.2 → 0.19.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,132 @@
1
1
  # @backstage/plugin-catalog-backend
2
2
 
3
+ ## 0.19.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 905dd952ac: **BREAKING** `DefaultCatalogCollator` has a new required option `tokenManager`. See the create-app changelog for how to create a `tokenManager` and add it to the `PluginEnvironment`. It can then be passed to the collator in `createPlugin`:
8
+
9
+ ```diff
10
+ // packages/backend/src/plugins/search.ts
11
+
12
+ ...
13
+ export default async function createPlugin({
14
+ ...
15
+ + tokenManager,
16
+ }: PluginEnvironment) {
17
+ ...
18
+
19
+ indexBuilder.addCollator({
20
+ defaultRefreshIntervalSeconds: 600,
21
+ collator: DefaultCatalogCollator.fromConfig(config, {
22
+ discovery,
23
+ + tokenManager,
24
+ }),
25
+ });
26
+
27
+ ...
28
+ }
29
+ ```
30
+
31
+ ### Patch Changes
32
+
33
+ - b055a6addc: Align on usage of `cross-fetch` vs `node-fetch` in frontend vs backend packages, and remove some unnecessary imports of either one of them
34
+ - Updated dependencies
35
+ - @backstage/integration@0.6.10
36
+ - @backstage/backend-common@0.9.12
37
+
38
+ ## 0.18.0
39
+
40
+ ### Minor Changes
41
+
42
+ - 7f82ce9f51: **BREAKING** EntitiesSearchFilter fields have changed.
43
+
44
+ EntitiesSearchFilter now has only two fields: `key` and `value`. The `matchValueIn` and `matchValueExists` fields are no longer are supported. Previous filters written using the `matchValueIn` and `matchValueExists` fields can be rewritten as follows:
45
+
46
+ Filtering by existence of key only:
47
+
48
+ ```diff
49
+ filter: {
50
+ {
51
+ key: 'abc',
52
+ - matchValueExists: true,
53
+ },
54
+ }
55
+ ```
56
+
57
+ Filtering by key and values:
58
+
59
+ ```diff
60
+ filter: {
61
+ {
62
+ key: 'abc',
63
+ - matchValueExists: true,
64
+ - matchValueIn: ['xyz'],
65
+ + values: ['xyz'],
66
+ },
67
+ }
68
+ ```
69
+
70
+ Negation of filters can now be achieved through a `not` object:
71
+
72
+ ```
73
+ filter: {
74
+ not: {
75
+ key: 'abc',
76
+ values: ['xyz'],
77
+ },
78
+ }
79
+ ```
80
+
81
+ ### Patch Changes
82
+
83
+ - 740f958290: Providing an empty values array in an EntityFilter will now return no matches.
84
+ - bab752e2b3: Change default port of backend from 7000 to 7007.
85
+
86
+ This is due to the AirPlay Receiver process occupying port 7000 and preventing local Backstage instances on MacOS to start.
87
+
88
+ You can change the port back to 7000 or any other value by providing an `app-config.yaml` with the following values:
89
+
90
+ ```
91
+ backend:
92
+ listen: 0.0.0.0:7123
93
+ baseUrl: http://localhost:7123
94
+ ```
95
+
96
+ More information can be found here: https://backstage.io/docs/conf/writing
97
+
98
+ - eddb82ab7c: Index User entities by displayName to be able to search by full name. Added displayName (if present) to the 'text' field in the indexed document.
99
+ - 563b039f0b: Added Azure DevOps discovery processor
100
+ - 8866b62f3d: Detect a duplicate entities when adding locations through dry run
101
+ - Updated dependencies
102
+ - @backstage/errors@0.1.5
103
+ - @backstage/backend-common@0.9.11
104
+
105
+ ## 0.17.4
106
+
107
+ ### Patch Changes
108
+
109
+ - 5d2a7303bd: This fixes a bug where locations couldn't be added unless the processing engine is started.
110
+ It's now possible to run the catalog backend without starting the processing engine and still allowing locations registrations.
111
+
112
+ This is done by refactor the `EntityProvider.connect` to happen outside the engine.
113
+
114
+ - 06934f2f52: Adjust entity query construction to ensure sub-queries are always isolated from one another.
115
+ - b90fc74d70: adds getDefaultProcessor method to CatalogBuilder
116
+ - Updated dependencies
117
+ - @backstage/catalog-client@0.5.2
118
+ - @backstage/catalog-model@0.9.7
119
+ - @backstage/backend-common@0.9.10
120
+
121
+ ## 0.17.3
122
+
123
+ ### Patch Changes
124
+
125
+ - 86bef79ad1: Allow singleton and flexibly nested EntityFilters
126
+ - Updated dependencies
127
+ - @backstage/backend-common@0.9.9
128
+ - @backstage/catalog-client@0.5.1
129
+
3
130
  ## 0.17.2
4
131
 
5
132
  ### Patch Changes