@backstage/plugin-kubernetes-backend 0.8.0-next.1 → 0.8.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @backstage/plugin-kubernetes-backend
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - cbf5d11fdf: The Kubernetes errors when fetching pod metrics are now captured and returned to the frontend.
8
+
9
+ - **BREAKING** The method `fetchPodMetricsByNamespace` in the interface `KubernetesFetcher` is changed to `fetchPodMetricsByNamespaces`. It now accepts a set of namespace strings and returns `Promise<FetchResponseWrapper>`.
10
+ - Add the `PodStatusFetchResponse` to the `FetchResponse` union type.
11
+ - Add `NOT_FOUND` to the `KubernetesErrorTypes` union type, the HTTP error with status code 404 will be mapped to this error.
12
+
13
+ ### Patch Changes
14
+
15
+ - cfb30b700c: Pin `@kubernetes/client-node` version to `0.17.0`.
16
+ - Updated dependencies
17
+ - @backstage/backend-common@0.16.0
18
+ - @backstage/catalog-model@1.1.3
19
+ - @backstage/plugin-auth-node@0.2.7
20
+ - @backstage/plugin-kubernetes-common@0.4.4
21
+ - @backstage/catalog-client@1.1.2
22
+ - @backstage/config@1.0.4
23
+ - @backstage/errors@1.1.3
24
+
3
25
  ## 0.8.0-next.1
4
26
 
5
27
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes-backend",
3
3
  "description": "A Backstage backend plugin that integrates towards Kubernetes",
4
- "version": "0.8.0-next.1",
4
+ "version": "0.8.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -35,13 +35,13 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@azure/identity": "^2.0.4",
38
- "@backstage/backend-common": "^0.16.0-next.1",
39
- "@backstage/catalog-client": "^1.1.2-next.0",
40
- "@backstage/catalog-model": "^1.1.3-next.0",
41
- "@backstage/config": "^1.0.4-next.0",
42
- "@backstage/errors": "^1.1.3-next.0",
43
- "@backstage/plugin-auth-node": "^0.2.7-next.1",
44
- "@backstage/plugin-kubernetes-common": "^0.4.4-next.1",
38
+ "@backstage/backend-common": "^0.16.0",
39
+ "@backstage/catalog-client": "^1.1.2",
40
+ "@backstage/catalog-model": "^1.1.3",
41
+ "@backstage/config": "^1.0.4",
42
+ "@backstage/errors": "^1.1.3",
43
+ "@backstage/plugin-auth-node": "^0.2.7",
44
+ "@backstage/plugin-kubernetes-common": "^0.4.4",
45
45
  "@google-cloud/container": "^4.0.0",
46
46
  "@kubernetes/client-node": "0.17.0",
47
47
  "@types/express": "^4.17.6",
@@ -62,7 +62,7 @@
62
62
  "yn": "^4.0.0"
63
63
  },
64
64
  "devDependencies": {
65
- "@backstage/cli": "^0.21.0-next.1",
65
+ "@backstage/cli": "^0.21.0",
66
66
  "@types/aws4": "^1.5.1",
67
67
  "aws-sdk-mock": "^5.2.1",
68
68
  "supertest": "^6.1.3"