@backstage/plugin-catalog-backend 0.17.4 → 0.19.2

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,127 @@
1
1
  # @backstage/plugin-catalog-backend
2
2
 
3
+ ## 0.19.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 3368f27aef: Fixed the handling of optional locations so that the catalog no longer logs `NotFoundError`s for missing optional locations.
8
+ - Updated dependencies
9
+ - @backstage/backend-common@0.9.14
10
+ - @backstage/catalog-model@0.9.8
11
+
12
+ ## 0.19.1
13
+
14
+ ### Patch Changes
15
+
16
+ - dcd1a0c3f4: Minor improvement to the API reports, by not unpacking arguments directly
17
+ - 6bccc7d794: The `pagedRequest` method in the GitLab ingestion client is now public for re-use and may be used to make other calls to the GitLab API. Developers can now pass in a type into the GitLab `paginated` and `pagedRequest` functions as generics instead of forcing `any` (defaults to `any` to maintain compatibility). The `GitLabClient` now provides a `isSelfManaged` convenience method.
18
+ - 0e4daaa753: Reject catalog entities that have duplicate fields that vary only in casing.
19
+ - 98a9c35f0c: Honor database migration configuration
20
+ - Updated dependencies
21
+ - @backstage/backend-common@0.9.13
22
+
23
+ ## 0.19.0
24
+
25
+ ### Minor Changes
26
+
27
+ - 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`:
28
+
29
+ ```diff
30
+ // packages/backend/src/plugins/search.ts
31
+
32
+ ...
33
+ export default async function createPlugin({
34
+ ...
35
+ + tokenManager,
36
+ }: PluginEnvironment) {
37
+ ...
38
+
39
+ indexBuilder.addCollator({
40
+ defaultRefreshIntervalSeconds: 600,
41
+ collator: DefaultCatalogCollator.fromConfig(config, {
42
+ discovery,
43
+ + tokenManager,
44
+ }),
45
+ });
46
+
47
+ ...
48
+ }
49
+ ```
50
+
51
+ ### Patch Changes
52
+
53
+ - 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
54
+ - Updated dependencies
55
+ - @backstage/integration@0.6.10
56
+ - @backstage/backend-common@0.9.12
57
+
58
+ ## 0.18.0
59
+
60
+ ### Minor Changes
61
+
62
+ - 7f82ce9f51: **BREAKING** EntitiesSearchFilter fields have changed.
63
+
64
+ 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:
65
+
66
+ Filtering by existence of key only:
67
+
68
+ ```diff
69
+ filter: {
70
+ {
71
+ key: 'abc',
72
+ - matchValueExists: true,
73
+ },
74
+ }
75
+ ```
76
+
77
+ Filtering by key and values:
78
+
79
+ ```diff
80
+ filter: {
81
+ {
82
+ key: 'abc',
83
+ - matchValueExists: true,
84
+ - matchValueIn: ['xyz'],
85
+ + values: ['xyz'],
86
+ },
87
+ }
88
+ ```
89
+
90
+ Negation of filters can now be achieved through a `not` object:
91
+
92
+ ```
93
+ filter: {
94
+ not: {
95
+ key: 'abc',
96
+ values: ['xyz'],
97
+ },
98
+ }
99
+ ```
100
+
101
+ ### Patch Changes
102
+
103
+ - 740f958290: Providing an empty values array in an EntityFilter will now return no matches.
104
+ - bab752e2b3: Change default port of backend from 7000 to 7007.
105
+
106
+ This is due to the AirPlay Receiver process occupying port 7000 and preventing local Backstage instances on MacOS to start.
107
+
108
+ You can change the port back to 7000 or any other value by providing an `app-config.yaml` with the following values:
109
+
110
+ ```
111
+ backend:
112
+ listen: 0.0.0.0:7123
113
+ baseUrl: http://localhost:7123
114
+ ```
115
+
116
+ More information can be found here: https://backstage.io/docs/conf/writing
117
+
118
+ - 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.
119
+ - 563b039f0b: Added Azure DevOps discovery processor
120
+ - 8866b62f3d: Detect a duplicate entities when adding locations through dry run
121
+ - Updated dependencies
122
+ - @backstage/errors@0.1.5
123
+ - @backstage/backend-common@0.9.11
124
+
3
125
  ## 0.17.4
4
126
 
5
127
  ### Patch Changes