@backstage/plugin-devtools 0.1.45-next.2 → 0.1.45

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,21 @@
1
1
  # @backstage/plugin-devtools
2
2
 
3
+ ## 0.1.45
4
+
5
+ ### Patch Changes
6
+
7
+ - ca1165d: Fixed an issue in `ScheduledTasksContent` where actual backend error messages (such as network or authorization errors) were discarded in favor of a hardcoded "No scheduled tasks found" message, and ensured the loading indicator is displayed while switching plugins.
8
+ - 4bbc7a9: Removed explicit support for React 17: the peer dependency range for `react`, `react-dom` and `@types/react` is now `^18.0.0`. React 17 is no longer tested or guaranteed to work, although it may continue to work in some cases. See the [migration guide](https://backstage.io/docs/frontend-system/architecture/migrations#157).
9
+ - Updated dependencies
10
+ - @backstage/frontend-plugin-api@1.0.0
11
+ - @backstage/core-plugin-api@1.13.0
12
+ - @backstage/core-components@0.18.16
13
+ - @backstage/errors@1.4.0
14
+ - @backstage/core-compat-api@0.6.0
15
+ - @backstage/ui@0.20.0
16
+ - @backstage/plugin-permission-react@0.5.7
17
+ - @backstage/plugin-devtools-common@0.1.28
18
+
3
19
  ## 0.1.45-next.2
4
20
 
5
21
  ### Patch Changes
package/dist/alpha.d.ts CHANGED
@@ -11,9 +11,9 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
11
11
  name: undefined;
12
12
  config: {};
13
13
  configInput: {};
14
- output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
14
+ output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.ApiFactory, "core.api.factory", {}>;
15
15
  inputs: {};
16
- params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.AnyApiFactory>;
16
+ params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.ApiFactory>;
17
17
  }>;
18
18
  "page:devtools": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
19
19
  config: {
@@ -28,6 +28,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
28
28
  optional: true;
29
29
  }> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.title", {
30
30
  optional: true;
31
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.TranslationRefTuple<undefined>, "core.titleTranslation", {
32
+ optional: true;
31
33
  }> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
32
34
  optional: true;
33
35
  }>;
@@ -36,6 +38,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
36
38
  optional: true;
37
39
  }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.title", {
38
40
  optional: true;
41
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.TranslationRefTuple<undefined>, "core.titleTranslation", {
42
+ optional: true;
39
43
  }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
40
44
  optional: true;
41
45
  }>, {
@@ -48,7 +52,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
48
52
  name: undefined;
49
53
  params: {
50
54
  path: string;
51
- title?: string;
55
+ title?: string | _backstage_frontend_plugin_api.TranslationRefTuple<undefined>;
52
56
  icon?: _backstage_frontend_plugin_api.IconElement;
53
57
  loader?: () => Promise<react.JSX.Element>;
54
58
  routeRef?: _backstage_frontend_plugin_api.RouteRef;
@@ -68,13 +72,15 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
68
72
  };
69
73
  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", {
70
74
  optional: true;
71
- }> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
75
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.TranslationRefTuple<undefined>, "core.titleTranslation", {
76
+ optional: true;
77
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
72
78
  optional: true;
73
79
  }>;
74
80
  inputs: {};
75
81
  params: {
76
82
  path: string;
77
- title: string;
83
+ title: string | _backstage_frontend_plugin_api.TranslationRefTuple<undefined>;
78
84
  icon?: _backstage_frontend_plugin_api.IconElement;
79
85
  loader: () => Promise<JSX.Element>;
80
86
  routeRef?: _backstage_frontend_plugin_api.RouteRef;
@@ -93,13 +99,15 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
93
99
  };
94
100
  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", {
95
101
  optional: true;
96
- }> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
102
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.TranslationRefTuple<undefined>, "core.titleTranslation", {
103
+ optional: true;
104
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
97
105
  optional: true;
98
106
  }>;
99
107
  inputs: {};
100
108
  params: {
101
109
  path: string;
102
- title: string;
110
+ title: string | _backstage_frontend_plugin_api.TranslationRefTuple<undefined>;
103
111
  icon?: _backstage_frontend_plugin_api.IconElement;
104
112
  loader: () => Promise<JSX.Element>;
105
113
  routeRef?: _backstage_frontend_plugin_api.RouteRef;
@@ -118,13 +126,15 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
118
126
  };
119
127
  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", {
120
128
  optional: true;
121
- }> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
129
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.TranslationRefTuple<undefined>, "core.titleTranslation", {
130
+ optional: true;
131
+ }> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
122
132
  optional: true;
123
133
  }>;
124
134
  inputs: {};
125
135
  params: {
126
136
  path: string;
127
- title: string;
137
+ title: string | _backstage_frontend_plugin_api.TranslationRefTuple<undefined>;
128
138
  icon?: _backstage_frontend_plugin_api.IconElement;
129
139
  loader: () => Promise<JSX.Element>;
130
140
  routeRef?: _backstage_frontend_plugin_api.RouteRef;
@@ -1,5 +1,5 @@
1
1
  var name = "@backstage/plugin-devtools";
2
- var version = "0.1.45-next.2";
2
+ var version = "0.1.45";
3
3
  var backstage = {
4
4
  role: "frontend-plugin",
5
5
  pluginId: "devtools",
@@ -81,9 +81,9 @@ var devDependencies = {
81
81
  "react-router-dom": "^6.30.2"
82
82
  };
83
83
  var peerDependencies = {
84
- "@types/react": "^17.0.0 || ^18.0.0",
85
- react: "^17.0.0 || ^18.0.0",
86
- "react-dom": "^17.0.0 || ^18.0.0",
84
+ "@types/react": "^18.0.0",
85
+ react: "^18.0.0",
86
+ "react-dom": "^18.0.0",
87
87
  "react-router-dom": "^6.30.2"
88
88
  };
89
89
  var peerDependenciesMeta = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-devtools",
3
- "version": "0.1.45-next.2",
3
+ "version": "0.1.45",
4
4
  "backstage": {
5
5
  "role": "frontend-plugin",
6
6
  "pluginId": "devtools",
@@ -65,14 +65,14 @@
65
65
  "test": "backstage-cli package test"
66
66
  },
67
67
  "dependencies": {
68
- "@backstage/core-compat-api": "0.6.0-next.2",
69
- "@backstage/core-components": "0.18.16-next.1",
70
- "@backstage/core-plugin-api": "1.12.12-next.2",
71
- "@backstage/errors": "1.4.0-next.0",
72
- "@backstage/frontend-plugin-api": "0.19.0-next.2",
73
- "@backstage/plugin-devtools-common": "0.1.28-next.0",
74
- "@backstage/plugin-permission-react": "0.5.7-next.1",
75
- "@backstage/ui": "0.20.0-next.0",
68
+ "@backstage/core-compat-api": "^0.6.0",
69
+ "@backstage/core-components": "^0.18.16",
70
+ "@backstage/core-plugin-api": "^1.13.0",
71
+ "@backstage/errors": "^1.4.0",
72
+ "@backstage/frontend-plugin-api": "^1.0.0",
73
+ "@backstage/plugin-devtools-common": "^0.1.28",
74
+ "@backstage/plugin-permission-react": "^0.5.7",
75
+ "@backstage/ui": "^0.20.0",
76
76
  "@material-ui/core": "^4.9.13",
77
77
  "@material-ui/icons": "^4.9.1",
78
78
  "@material-ui/lab": "^4.0.0-alpha.57",
@@ -82,9 +82,9 @@
82
82
  "react-use": "^17.2.4"
83
83
  },
84
84
  "devDependencies": {
85
- "@backstage/cli": "0.36.8-next.2",
86
- "@backstage/dev-utils": "1.1.29-next.1",
87
- "@backstage/test-utils": "1.7.24-next.1",
85
+ "@backstage/cli": "^0.36.8",
86
+ "@backstage/dev-utils": "^1.2.0",
87
+ "@backstage/test-utils": "^1.8.0",
88
88
  "@testing-library/jest-dom": "^6.0.0",
89
89
  "@testing-library/react": "^16.0.0",
90
90
  "@types/lodash": "^4.14.151",
@@ -94,9 +94,9 @@
94
94
  "react-router-dom": "^6.30.2"
95
95
  },
96
96
  "peerDependencies": {
97
- "@types/react": "^17.0.0 || ^18.0.0",
98
- "react": "^17.0.0 || ^18.0.0",
99
- "react-dom": "^17.0.0 || ^18.0.0",
97
+ "@types/react": "^18.0.0",
98
+ "react": "^18.0.0",
99
+ "react-dom": "^18.0.0",
100
100
  "react-router-dom": "^6.30.2"
101
101
  },
102
102
  "peerDependenciesMeta": {