@backstage/plugin-catalog-graph 0.5.7-next.1 → 0.5.7

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,36 @@
1
1
  # @backstage/plugin-catalog-graph
2
2
 
3
+ ## 0.5.7
4
+
5
+ ### Patch Changes
6
+
7
+ - ac9bead: Added `@backstage/frontend-test-utils` dev dependency.
8
+ - 8dd27c4: Fix large icon rendering in catalog graph nodes
9
+ - 7feb83b: Adjusted to use the new `@backstage/filter-predicates` types for predicate expressions.
10
+ - 4183614: Updated usage of deprecated APIs in the new frontend system.
11
+ - a7e0d50: Updated `react-router-dom` peer dependency to `^6.30.2` and explicitly disabled v7 future flags to suppress deprecation warnings.
12
+ - Updated dependencies
13
+ - @backstage/plugin-catalog-react@2.0.0
14
+ - @backstage/core-components@0.18.7
15
+ - @backstage/frontend-plugin-api@0.14.0
16
+ - @backstage/catalog-client@1.13.0
17
+ - @backstage/core-plugin-api@1.12.3
18
+
19
+ ## 0.5.7-next.2
20
+
21
+ ### Patch Changes
22
+
23
+ - ac9bead: Added `@backstage/frontend-test-utils` dev dependency.
24
+ - 7feb83b: Adjusted to use the new `@backstage/filter-predicates` types for predicate expressions.
25
+ - 4183614: Updated usage of deprecated APIs in the new frontend system.
26
+ - a7e0d50: Prepare for React Router v7 migration by updating to v6.30.2 across all NFS packages and enabling v7 future flags. Convert routes from splat paths to parent/child structure with Outlet components.
27
+ - Updated dependencies
28
+ - @backstage/plugin-catalog-react@2.0.0-next.2
29
+ - @backstage/catalog-client@1.12.2-next.0
30
+ - @backstage/frontend-plugin-api@0.14.0-next.2
31
+ - @backstage/core-components@0.18.7-next.2
32
+ - @backstage/core-plugin-api@1.12.3-next.1
33
+
3
34
  ## 0.5.7-next.1
4
35
 
5
36
  ### Patch Changes
package/dist/alpha.d.ts CHANGED
@@ -1,6 +1,7 @@
1
+ import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
1
2
  import * as _backstage_catalog_model from '@backstage/catalog-model';
2
3
  import * as react from 'react';
3
- import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
4
+ import * as _backstage_filter_predicates from '@backstage/filter-predicates';
4
5
  import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
5
6
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
6
7
 
@@ -60,7 +61,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
60
61
  curve: "curveStepBefore" | "curveMonotoneX" | undefined;
61
62
  title: string | undefined;
62
63
  height: number | undefined;
63
- filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
64
+ filter: _backstage_filter_predicates.FilterPredicate | undefined;
64
65
  type: "content" | "info" | undefined;
65
66
  };
66
67
  configInput: {
@@ -75,7 +76,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
75
76
  mergeRelations?: boolean | undefined;
76
77
  relationPairs?: [string, string][] | undefined;
77
78
  unidirectional?: boolean | undefined;
78
- filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
79
+ filter?: _backstage_filter_predicates.FilterPredicate | undefined;
79
80
  type?: "content" | "info" | undefined;
80
81
  };
81
82
  output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
@@ -90,7 +91,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
90
91
  name: "relations";
91
92
  params: {
92
93
  loader: () => Promise<JSX.Element>;
93
- filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
94
+ filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
94
95
  type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
95
96
  };
96
97
  }>;
@@ -110,14 +111,15 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
110
111
  relationPairs: [string, string][] | undefined;
111
112
  zoom: "disabled" | "enabled" | "enable-on-click" | undefined;
112
113
  path: string | undefined;
114
+ title: string | undefined;
113
115
  };
114
116
  configInput: {
115
117
  curve?: "curveStepBefore" | "curveMonotoneX" | undefined;
116
118
  direction?: "TB" | "BT" | "LR" | "RL" | undefined;
117
119
  zoom?: "disabled" | "enabled" | "enable-on-click" | undefined;
118
120
  relations?: string[] | undefined;
119
- rootEntityRefs?: string[] | undefined;
120
121
  maxDepth?: number | undefined;
122
+ rootEntityRefs?: string[] | undefined;
121
123
  kinds?: string[] | undefined;
122
124
  mergeRelations?: boolean | undefined;
123
125
  relationPairs?: [string, string][] | undefined;
@@ -125,19 +127,39 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
125
127
  selectedRelations?: string[] | undefined;
126
128
  selectedKinds?: string[] | undefined;
127
129
  showFilters?: boolean | undefined;
130
+ title?: string | undefined;
128
131
  path?: string | undefined;
129
132
  };
130
- output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
133
+ output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
134
+ optional: true;
135
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.title", {
136
+ optional: true;
137
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
131
138
  optional: true;
132
139
  }>;
133
- inputs: {};
140
+ inputs: {
141
+ pages: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
142
+ optional: true;
143
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.title", {
144
+ optional: true;
145
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
146
+ optional: true;
147
+ }>, {
148
+ singleton: false;
149
+ optional: false;
150
+ internal: false;
151
+ }>;
152
+ };
134
153
  kind: "page";
135
154
  name: undefined;
136
155
  params: {
137
156
  defaultPath?: [Error: `Use the 'path' param instead`];
138
157
  path: string;
139
- loader: () => Promise<JSX.Element>;
158
+ title?: string;
159
+ icon?: _backstage_frontend_plugin_api.IconElement;
160
+ loader?: () => Promise<react.JSX.Element>;
140
161
  routeRef?: _backstage_frontend_plugin_api.RouteRef;
162
+ noHeader?: boolean;
141
163
  };
142
164
  }>;
143
165
  }>;
@@ -1,5 +1,5 @@
1
1
  var name = "@backstage/plugin-catalog-graph";
2
- var version = "0.5.7-next.1";
2
+ var version = "0.5.7";
3
3
  var backstage = {
4
4
  role: "frontend-plugin",
5
5
  pluginId: "catalog-graph",
@@ -68,6 +68,7 @@ var devDependencies = {
68
68
  "@backstage/cli": "workspace:^",
69
69
  "@backstage/core-app-api": "workspace:^",
70
70
  "@backstage/dev-utils": "workspace:^",
71
+ "@backstage/frontend-test-utils": "workspace:^",
71
72
  "@backstage/plugin-catalog": "workspace:^",
72
73
  "@backstage/test-utils": "workspace:^",
73
74
  "@testing-library/dom": "^10.0.0",
@@ -77,13 +78,13 @@ var devDependencies = {
77
78
  "@types/react": "^18.0.0",
78
79
  react: "^18.0.2",
79
80
  "react-dom": "^18.0.2",
80
- "react-router-dom": "^6.3.0"
81
+ "react-router-dom": "^6.30.2"
81
82
  };
82
83
  var peerDependencies = {
83
84
  "@types/react": "^17.0.0 || ^18.0.0",
84
85
  react: "^17.0.0 || ^18.0.0",
85
86
  "react-dom": "^17.0.0 || ^18.0.0",
86
- "react-router-dom": "^6.3.0"
87
+ "react-router-dom": "^6.30.2"
87
88
  };
88
89
  var peerDependenciesMeta = {
89
90
  "@types/react": {
@@ -1 +1 @@
1
- {"version":3,"file":"package.json.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"package.json.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-graph",
3
- "version": "0.5.7-next.1",
3
+ "version": "0.5.7",
4
4
  "backstage": {
5
5
  "role": "frontend-plugin",
6
6
  "pluginId": "catalog-graph",
@@ -61,13 +61,13 @@
61
61
  "test": "backstage-cli package test"
62
62
  },
63
63
  "dependencies": {
64
- "@backstage/catalog-client": "1.12.1",
65
- "@backstage/catalog-model": "1.7.6",
66
- "@backstage/core-components": "0.18.7-next.1",
67
- "@backstage/core-plugin-api": "1.12.3-next.0",
68
- "@backstage/frontend-plugin-api": "0.14.0-next.1",
69
- "@backstage/plugin-catalog-react": "1.22.0-next.1",
70
- "@backstage/types": "1.2.2",
64
+ "@backstage/catalog-client": "^1.13.0",
65
+ "@backstage/catalog-model": "^1.7.6",
66
+ "@backstage/core-components": "^0.18.7",
67
+ "@backstage/core-plugin-api": "^1.12.3",
68
+ "@backstage/frontend-plugin-api": "^0.14.0",
69
+ "@backstage/plugin-catalog-react": "^2.0.0",
70
+ "@backstage/types": "^1.2.2",
71
71
  "@material-ui/core": "^4.12.2",
72
72
  "@material-ui/icons": "^4.9.1",
73
73
  "@material-ui/lab": "4.0.0-alpha.61",
@@ -78,11 +78,12 @@
78
78
  "react-use": "^17.2.4"
79
79
  },
80
80
  "devDependencies": {
81
- "@backstage/cli": "0.35.4-next.1",
82
- "@backstage/core-app-api": "1.19.5-next.0",
83
- "@backstage/dev-utils": "1.1.20-next.1",
84
- "@backstage/plugin-catalog": "1.33.0-next.1",
85
- "@backstage/test-utils": "1.7.15-next.1",
81
+ "@backstage/cli": "^0.35.4",
82
+ "@backstage/core-app-api": "^1.19.5",
83
+ "@backstage/dev-utils": "^1.1.20",
84
+ "@backstage/frontend-test-utils": "^0.5.0",
85
+ "@backstage/plugin-catalog": "^1.33.0",
86
+ "@backstage/test-utils": "^1.7.15",
86
87
  "@testing-library/dom": "^10.0.0",
87
88
  "@testing-library/jest-dom": "^6.0.0",
88
89
  "@testing-library/react": "^16.0.0",
@@ -90,13 +91,13 @@
90
91
  "@types/react": "^18.0.0",
91
92
  "react": "^18.0.2",
92
93
  "react-dom": "^18.0.2",
93
- "react-router-dom": "^6.3.0"
94
+ "react-router-dom": "^6.30.2"
94
95
  },
95
96
  "peerDependencies": {
96
97
  "@types/react": "^17.0.0 || ^18.0.0",
97
98
  "react": "^17.0.0 || ^18.0.0",
98
99
  "react-dom": "^17.0.0 || ^18.0.0",
99
- "react-router-dom": "^6.3.0"
100
+ "react-router-dom": "^6.30.2"
100
101
  },
101
102
  "peerDependenciesMeta": {
102
103
  "@types/react": {