@backstage/plugin-catalog-backend 0.0.0-nightly-202201323044 → 0.0.0-nightly-20220282218

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,6 +1,208 @@
1
1
  # @backstage/plugin-catalog-backend
2
2
 
3
- ## 0.0.0-nightly-202201323044
3
+ ## 0.0.0-nightly-20220282218
4
+
5
+ ### Patch Changes
6
+
7
+ - 5bbffa60be: Pass authorization token to location service inside location api routes
8
+
9
+ ## 0.21.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 4f5bde47e9: Add support for permissions to the DefaultCatalogCollator.
14
+ - Updated dependencies
15
+ - @backstage/search-common@0.2.2
16
+ - @backstage/backend-common@0.10.5
17
+ - @backstage/plugin-permission-node@0.4.1
18
+
19
+ ## 0.21.0
20
+
21
+ ### Minor Changes
22
+
23
+ - 9f2a8dc423: **BREAKING**: Removed all remnants of the old catalog engine implementation.
24
+
25
+ The old implementation has been deprecated for over half a year. To ensure that
26
+ you are not using the old implementation, check that your
27
+ `packages/backend/src/plugins/catalog.ts` creates the catalog builder using
28
+ `CatalogBuilder.create`. If you instead call `new CatalogBuilder`, you are on
29
+ the old implementation and will experience breakage if you upgrade to this
30
+ version. If you are still on the old version, see [the relevant change log
31
+ entry](https://github.com/backstage/backstage/blob/master/plugins/catalog-backend/CHANGELOG.md#patch-changes-27)
32
+ for migration instructions.
33
+
34
+ The minimal `packages/backend/src/plugins/catalog.ts` file is now:
35
+
36
+ ```ts
37
+ export default async function createPlugin(
38
+ env: PluginEnvironment,
39
+ ): Promise<Router> {
40
+ const builder = await CatalogBuilder.create(env);
41
+ builder.addProcessor(new ScaffolderEntitiesProcessor());
42
+ const { processingEngine, router } = await builder.build();
43
+ await processingEngine.start();
44
+ return router;
45
+ }
46
+ ```
47
+
48
+ The following classes and interfaces have been removed:
49
+
50
+ - The `CatalogBuilder` constructor (see above; use `CatalogBuilder.create`
51
+ instead)
52
+ - `AddLocationResult`
53
+ - `CommonDatabase`
54
+ - `CreateDatabaseOptions`
55
+ - `createNextRouter` (use `createRouter` instead - or preferably, use the
56
+ `router` field returned for you by `catalogBuilder.build()`)
57
+ - `Database`
58
+ - `DatabaseEntitiesCatalog` (use `EntitiesCatalog` instead)
59
+ - `DatabaseLocationsCatalog` (use `LocationService` instead)
60
+ - `DatabaseLocationUpdateLogEvent`
61
+ - `DatabaseLocationUpdateLogStatus`
62
+ - `DatabaseManager`
63
+ - `DbEntitiesRequest`
64
+ - `DbEntitiesResponse`
65
+ - `DbEntityRequest`
66
+ - `DbEntityResponse`
67
+ - `DbLocationsRow`
68
+ - `DbLocationsRowWithStatus`
69
+ - `DbPageInfo`
70
+ - `EntitiesCatalog.batchAddOrUpdateEntities` (was only used by the legacy
71
+ engine)
72
+ - `EntityUpsertRequest`
73
+ - `EntityUpsertResponse`
74
+ - `HigherOrderOperation`
75
+ - `HigherOrderOperations`
76
+ - `LocationReader`
77
+ - `LocationReaders`
78
+ - `LocationResponse`
79
+ - `LocationsCatalog`
80
+ - `LocationUpdateLogEvent`
81
+ - `LocationUpdateStatus`
82
+ - `NextCatalogBuilder` (use `CatalogBuilder.create` instead)
83
+ - `NextRouterOptions` (use `RouterOptions` instead)
84
+ - `ReadLocationEntity`
85
+ - `ReadLocationError`
86
+ - `ReadLocationResult`
87
+ - `Transaction`
88
+
89
+ The `RouterOptions` interface has been un-deprecated, and has instead found use
90
+ for passing into `createRouter`. Its shape has been significantly changed to
91
+ accommodate the new router.
92
+
93
+ ### Patch Changes
94
+
95
+ - e15ce5c16e: Integrate authorization into the delete entities endpoint
96
+ - dce98a92f7: Now when entities are deleted, the parent entity state is updated such that it will "heal" accidental deletes on the next refresh round.
97
+ - 02687954ca: Fixed a typo and made a little clarification to a warning message
98
+ - 48248e2db5: Integrate permissions into entity ancestry endpoint in catalog-backend
99
+ - 68edbbeafd: Fix bug with resource loading in permission integration
100
+ - 7e38acaa9e: Integrate permissions into catalog-backend location endpoints
101
+ - 6680853e0c: Export conditional permission policy helpers from catalog-backend
102
+ - 2b27e49eb1: Internal update to match status field changes in `@backstage/catalog-model`.
103
+ - Updated dependencies
104
+ - @backstage/integration@0.7.2
105
+ - @backstage/plugin-permission-common@0.4.0
106
+ - @backstage/backend-common@0.10.4
107
+ - @backstage/config@0.1.13
108
+ - @backstage/plugin-permission-node@0.4.0
109
+ - @backstage/plugin-catalog-common@0.1.1
110
+ - @backstage/catalog-model@0.9.10
111
+ - @backstage/catalog-client@0.5.5
112
+
113
+ ## 0.21.0-next.0
114
+
115
+ ### Minor Changes
116
+
117
+ - 9f2a8dc423: **BREAKING**: Removed all remnants of the old catalog engine implementation.
118
+
119
+ The old implementation has been deprecated for over half a year. To ensure that
120
+ you are not using the old implementation, check that your
121
+ `packages/backend/src/plugins/catalog.ts` creates the catalog builder using
122
+ `CatalogBuilder.create`. If you instead call `new CatalogBuilder`, you are on
123
+ the old implementation and will experience breakage if you upgrade to this
124
+ version. If you are still on the old version, see [the relevant change log
125
+ entry](https://github.com/backstage/backstage/blob/master/plugins/catalog-backend/CHANGELOG.md#patch-changes-27)
126
+ for migration instructions.
127
+
128
+ The minimal `packages/backend/src/plugins/catalog.ts` file is now:
129
+
130
+ ```ts
131
+ export default async function createPlugin(
132
+ env: PluginEnvironment,
133
+ ): Promise<Router> {
134
+ const builder = await CatalogBuilder.create(env);
135
+ builder.addProcessor(new ScaffolderEntitiesProcessor());
136
+ const { processingEngine, router } = await builder.build();
137
+ await processingEngine.start();
138
+ return router;
139
+ }
140
+ ```
141
+
142
+ The following classes and interfaces have been removed:
143
+
144
+ - The `CatalogBuilder` constructor (see above; use `CatalogBuilder.create`
145
+ instead)
146
+ - `AddLocationResult`
147
+ - `CommonDatabase`
148
+ - `CreateDatabaseOptions`
149
+ - `createNextRouter` (use `createRouter` instead - or preferably, use the
150
+ `router` field returned for you by `catalogBuilder.build()`)
151
+ - `Database`
152
+ - `DatabaseEntitiesCatalog` (use `EntitiesCatalog` instead)
153
+ - `DatabaseLocationsCatalog` (use `LocationService` instead)
154
+ - `DatabaseLocationUpdateLogEvent`
155
+ - `DatabaseLocationUpdateLogStatus`
156
+ - `DatabaseManager`
157
+ - `DbEntitiesRequest`
158
+ - `DbEntitiesResponse`
159
+ - `DbEntityRequest`
160
+ - `DbEntityResponse`
161
+ - `DbLocationsRow`
162
+ - `DbLocationsRowWithStatus`
163
+ - `DbPageInfo`
164
+ - `EntitiesCatalog.batchAddOrUpdateEntities` (was only used by the legacy
165
+ engine)
166
+ - `EntityUpsertRequest`
167
+ - `EntityUpsertResponse`
168
+ - `HigherOrderOperation`
169
+ - `HigherOrderOperations`
170
+ - `LocationReader`
171
+ - `LocationReaders`
172
+ - `LocationResponse`
173
+ - `LocationsCatalog`
174
+ - `LocationUpdateLogEvent`
175
+ - `LocationUpdateStatus`
176
+ - `NextCatalogBuilder` (use `CatalogBuilder.create` instead)
177
+ - `NextRouterOptions` (use `RouterOptions` instead)
178
+ - `ReadLocationEntity`
179
+ - `ReadLocationError`
180
+ - `ReadLocationResult`
181
+ - `Transaction`
182
+
183
+ The `RouterOptions` interface has been un-deprecated, and has instead found use
184
+ for passing into `createRouter`. Its shape has been significantly changed to
185
+ accommodate the new router.
186
+
187
+ ### Patch Changes
188
+
189
+ - e15ce5c16e: Integrate authorization into the delete entities endpoint
190
+ - dce98a92f7: Now when entities are deleted, the parent entity state is updated such that it will "heal" accidental deletes on the next refresh round.
191
+ - 02687954ca: Fixed a typo and made a little clarification to a warning message
192
+ - 48248e2db5: Integrate permissions into entity ancestry endpoint in catalog-backend
193
+ - 68edbbeafd: Fix bug with resource loading in permission integration
194
+ - 2b27e49eb1: Internal update to match status field changes in `@backstage/catalog-model`.
195
+ - Updated dependencies
196
+ - @backstage/plugin-permission-common@0.4.0-next.0
197
+ - @backstage/backend-common@0.10.4-next.0
198
+ - @backstage/config@0.1.13-next.0
199
+ - @backstage/plugin-permission-node@0.4.0-next.0
200
+ - @backstage/catalog-model@0.9.10-next.0
201
+ - @backstage/plugin-catalog-common@0.1.1-next.0
202
+ - @backstage/catalog-client@0.5.5-next.0
203
+ - @backstage/integration@0.7.2-next.0
204
+
205
+ ## 0.20.0
4
206
 
5
207
  ### Minor Changes
6
208
 
@@ -12,20 +214,19 @@
12
214
 
13
215
  - 0ae759dad4: Add catalog permission rules.
14
216
  - 3b4d8caff6: Allow a custom GithubCredentialsProvider to be passed to the GitHub processors.
217
+ - 6fd70f8bc8: Provide support for Bitbucket servers with custom BaseURLs.
15
218
  - 5333451def: Cleaned up API exports
16
219
  - 730d01ab1a: Add apply-conditions endpoint for evaluating conditional permissions in catalog backend.
220
+ - 0a6c68582a: Add authorization to catalog-backend entities GET endpoints
17
221
  - Updated dependencies
18
- - @backstage/config@0.0.0-nightly-202201323044
19
- - @backstage/integration@0.0.0-nightly-202201323044
20
- - @backstage/backend-common@0.0.0-nightly-202201323044
21
- - @backstage/plugin-permission-node@0.0.0-nightly-202201323044
22
- - @backstage/errors@0.0.0-nightly-202201323044
23
- - @backstage/catalog-client@0.0.0-nightly-202201323044
24
- - @backstage/catalog-model@0.0.0-nightly-202201323044
25
- - @backstage/search-common@0.0.0-nightly-202201323044
26
- - @backstage/types@0.0.0-nightly-202201323044
27
- - @backstage/plugin-catalog-common@0.0.0-nightly-202201323044
28
- - @backstage/plugin-permission-common@0.0.0-nightly-202201323044
222
+ - @backstage/config@0.1.12
223
+ - @backstage/integration@0.7.1
224
+ - @backstage/backend-common@0.10.3
225
+ - @backstage/plugin-permission-node@0.3.0
226
+ - @backstage/errors@0.2.0
227
+ - @backstage/catalog-client@0.5.4
228
+ - @backstage/catalog-model@0.9.9
229
+ - @backstage/plugin-permission-common@0.3.1
29
230
 
30
231
  ## 0.19.4
31
232