@backstage/plugin-catalog-backend 1.16.1-next.2 → 1.17.0-next.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,57 @@
1
1
  # @backstage/plugin-catalog-backend
2
2
 
3
+ ## 1.17.0-next.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 126c2f9: Updates the OpenAPI spec to use plugin as `info.title` instead of package name.
8
+ - 04907c3: Updates the OpenAPI specification title to plugin ID instead of package name.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+ - @backstage/backend-common@0.21.0-next.0
14
+ - @backstage/backend-openapi-utils@0.1.3-next.0
15
+ - @backstage/catalog-client@1.6.0-next.0
16
+ - @backstage/backend-tasks@0.5.15-next.0
17
+ - @backstage/plugin-auth-node@0.4.4-next.0
18
+ - @backstage/plugin-catalog-node@1.6.2-next.0
19
+ - @backstage/plugin-permission-node@0.7.21-next.0
20
+ - @backstage/plugin-search-backend-module-catalog@0.1.14-next.0
21
+ - @backstage/backend-plugin-api@0.6.10-next.0
22
+ - @backstage/catalog-model@1.4.3
23
+ - @backstage/config@1.1.1
24
+ - @backstage/errors@1.2.3
25
+ - @backstage/integration@1.8.0
26
+ - @backstage/types@1.1.1
27
+ - @backstage/plugin-catalog-common@1.0.20
28
+ - @backstage/plugin-events-node@0.2.19-next.0
29
+ - @backstage/plugin-permission-common@0.7.12
30
+
31
+ ## 1.16.1
32
+
33
+ ### Patch Changes
34
+
35
+ - c3249d6: Parse the URL using a different method rather than `git-url-parse` to support wildcards for URLs which are not VCS providers
36
+ - Updated dependencies
37
+ - @backstage/backend-common@0.20.1
38
+ - @backstage/catalog-client@1.5.2
39
+ - @backstage/plugin-search-backend-module-catalog@0.1.13
40
+ - @backstage/backend-plugin-api@0.6.9
41
+ - @backstage/backend-openapi-utils@0.1.2
42
+ - @backstage/plugin-catalog-node@1.6.1
43
+ - @backstage/plugin-permission-common@0.7.12
44
+ - @backstage/plugin-permission-node@0.7.20
45
+ - @backstage/backend-tasks@0.5.14
46
+ - @backstage/plugin-auth-node@0.4.3
47
+ - @backstage/catalog-model@1.4.3
48
+ - @backstage/config@1.1.1
49
+ - @backstage/errors@1.2.3
50
+ - @backstage/integration@1.8.0
51
+ - @backstage/types@1.1.1
52
+ - @backstage/plugin-catalog-common@1.0.20
53
+ - @backstage/plugin-events-node@0.2.18
54
+
3
55
  ## 1.16.1-next.2
4
56
 
5
57
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend",
3
- "version": "1.16.1-next.2",
3
+ "version": "1.17.0-next.0",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/dist/alpha.cjs.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var alpha = require('@backstage/plugin-catalog-common/alpha');
6
6
  var pluginPermissionNode = require('@backstage/plugin-permission-node');
7
- var CatalogBuilder = require('./cjs/CatalogBuilder-59dba5ef.cjs.js');
7
+ var CatalogBuilder = require('./cjs/CatalogBuilder-5a2a16bf.cjs.js');
8
8
  var backendPluginApi = require('@backstage/backend-plugin-api');
9
9
  var alpha$1 = require('@backstage/plugin-catalog-node/alpha');
10
10
  var backendCommon = require('@backstage/backend-common');
@@ -668,7 +668,7 @@ class UrlReaderProcessor {
668
668
  return true;
669
669
  }
670
670
  async doRead(location, etag) {
671
- const { filepath } = parseGitUrl__default["default"](location);
671
+ const { pathname: filepath } = new URL(location);
672
672
  if (filepath == null ? void 0 : filepath.match(/[*?]/)) {
673
673
  const limiter = limiterFactory__default["default"](5);
674
674
  const response = await this.options.reader.search(location, { etag });
@@ -3914,7 +3914,7 @@ function parseEntityOrderParams(params) {
3914
3914
  const spec = {
3915
3915
  openapi: "3.0.3",
3916
3916
  info: {
3917
- title: "@backstage/plugin-catalog-backend",
3917
+ title: "catalog",
3918
3918
  version: "1",
3919
3919
  description: "The Backstage backend plugin that provides the Backstage catalog",
3920
3920
  license: {
@@ -3926,9 +3926,6 @@ const spec = {
3926
3926
  servers: [
3927
3927
  {
3928
3928
  url: "/"
3929
- },
3930
- {
3931
- url: "catalog"
3932
3929
  }
3933
3930
  ],
3934
3931
  components: {
@@ -7256,4 +7253,4 @@ exports.createCatalogPermissionRule = createCatalogPermissionRule;
7256
7253
  exports.createRandomProcessingInterval = createRandomProcessingInterval;
7257
7254
  exports.parseEntityYaml = parseEntityYaml;
7258
7255
  exports.permissionRules = permissionRules;
7259
- //# sourceMappingURL=CatalogBuilder-59dba5ef.cjs.js.map
7256
+ //# sourceMappingURL=CatalogBuilder-5a2a16bf.cjs.js.map