@backstage/plugin-catalog-backend 1.2.0-next.0 → 1.2.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 +58 -0
- package/alpha/package.json +1 -1
- package/dist/index.cjs.js +3 -0
- package/dist/index.cjs.js.map +1 -1
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,63 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend
|
|
2
2
|
|
|
3
|
+
## 1.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- b594679ae3: Allow array as non-spread arguments at the `CatalogBuilder`.
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
builder.addEntityProvider(...getArrayOfProviders());
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
can be simplified to
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
builder.addEntityProvider(getArrayOfProviders());
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- 8838b13038: Disallow anything but `'url'` locations from being registered via the location service.
|
|
22
|
+
- 8f7b1835df: Updated dependency `msw` to `^0.41.0`.
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
- @backstage/plugin-search-common@0.3.5
|
|
25
|
+
- @backstage/plugin-permission-node@0.6.2
|
|
26
|
+
- @backstage/plugin-catalog-common@1.0.3
|
|
27
|
+
- @backstage/backend-common@0.14.0
|
|
28
|
+
- @backstage/integration@1.2.1
|
|
29
|
+
- @backstage/catalog-client@1.0.3
|
|
30
|
+
- @backstage/plugin-permission-common@0.6.2
|
|
31
|
+
- @backstage/catalog-model@1.0.3
|
|
32
|
+
- @backstage/plugin-scaffolder-common@1.1.1
|
|
33
|
+
|
|
34
|
+
## 1.2.0-next.2
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- Updated dependencies
|
|
39
|
+
- @backstage/plugin-search-common@0.3.5-next.1
|
|
40
|
+
- @backstage/plugin-catalog-common@1.0.3-next.1
|
|
41
|
+
- @backstage/backend-common@0.14.0-next.2
|
|
42
|
+
- @backstage/integration@1.2.1-next.2
|
|
43
|
+
- @backstage/plugin-permission-node@0.6.2-next.2
|
|
44
|
+
|
|
45
|
+
## 1.2.0-next.1
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- 8f7b1835df: Updated dependency `msw` to `^0.41.0`.
|
|
50
|
+
- Updated dependencies
|
|
51
|
+
- @backstage/backend-common@0.13.6-next.1
|
|
52
|
+
- @backstage/catalog-client@1.0.3-next.0
|
|
53
|
+
- @backstage/integration@1.2.1-next.1
|
|
54
|
+
- @backstage/plugin-permission-common@0.6.2-next.0
|
|
55
|
+
- @backstage/plugin-permission-node@0.6.2-next.1
|
|
56
|
+
- @backstage/catalog-model@1.0.3-next.0
|
|
57
|
+
- @backstage/plugin-catalog-common@1.0.3-next.0
|
|
58
|
+
- @backstage/plugin-search-common@0.3.5-next.0
|
|
59
|
+
- @backstage/plugin-scaffolder-common@1.1.1-next.0
|
|
60
|
+
|
|
3
61
|
## 1.2.0-next.0
|
|
4
62
|
|
|
5
63
|
### Minor Changes
|
package/alpha/package.json
CHANGED
package/dist/index.cjs.js
CHANGED
|
@@ -1926,6 +1926,9 @@ class DefaultLocationService {
|
|
|
1926
1926
|
this.orchestrator = orchestrator;
|
|
1927
1927
|
}
|
|
1928
1928
|
async createLocation(input, dryRun) {
|
|
1929
|
+
if (input.type !== "url") {
|
|
1930
|
+
throw new errors.InputError(`Registered locations must be of type 'url'`);
|
|
1931
|
+
}
|
|
1929
1932
|
if (dryRun) {
|
|
1930
1933
|
return this.dryRunCreateLocation(input);
|
|
1931
1934
|
}
|