@backstage/plugin-kubernetes-common 0.4.4-next.0 → 0.4.4

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @backstage/plugin-kubernetes-common
2
2
 
3
+ ## 0.4.4
4
+
5
+ ### Patch Changes
6
+
7
+ - cfb30b700c: Pin `@kubernetes/client-node` version to `0.17.0`.
8
+ - cbf5d11fdf: The Kubernetes errors when fetching pod metrics are now captured and returned to the frontend.
9
+
10
+ - **BREAKING** The method `fetchPodMetricsByNamespace` in the interface `KubernetesFetcher` is changed to `fetchPodMetricsByNamespaces`. It now accepts a set of namespace strings and returns `Promise<FetchResponseWrapper>`.
11
+ - Add the `PodStatusFetchResponse` to the `FetchResponse` union type.
12
+ - Add `NOT_FOUND` to the `KubernetesErrorTypes` union type, the HTTP error with status code 404 will be mapped to this error.
13
+
14
+ - Updated dependencies
15
+ - @backstage/catalog-model@1.1.3
16
+
17
+ ## 0.4.4-next.1
18
+
19
+ ### Patch Changes
20
+
21
+ - cfb30b700c: Pin `@kubernetes/client-node` version to `0.17.0`.
22
+ - Updated dependencies
23
+ - @backstage/catalog-model@1.1.3-next.0
24
+
3
25
  ## 0.4.4-next.0
4
26
 
5
27
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes-common",
3
3
  "description": "Common functionalities for kubernetes, to be shared between kubernetes and kubernetes-backend plugin",
4
- "version": "0.4.4-next.0",
4
+ "version": "0.4.4",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -38,11 +38,11 @@
38
38
  "url": "https://github.com/backstage/backstage/issues"
39
39
  },
40
40
  "dependencies": {
41
- "@backstage/catalog-model": "^1.1.3-next.0",
42
- "@kubernetes/client-node": "^0.17.0"
41
+ "@backstage/catalog-model": "^1.1.3",
42
+ "@kubernetes/client-node": "0.17.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@backstage/cli": "^0.21.0-next.0"
45
+ "@backstage/cli": "^0.21.0"
46
46
  },
47
47
  "jest": {
48
48
  "roots": [